Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
4f9a983
update_NPT_NP_and_add_NPH_full_cell_flexibility
Mar 19, 2026
cec8f82
update_NPT_NP_and_add_NPH_full_cell_flexibility
ShubhangKrishnakantTrivedi875 Mar 19, 2026
2929194
Update_NPT_NP_and_add_NPH_full_cell_flexibility
Mar 21, 2026
23781a7
Update_NPT_NP_and_add_NPH_full_cell_flexibility
Mar 21, 2026
3d50150
updated_MD
ShubhangKrishnakantTrivedi875 Mar 23, 2026
b0a8f28
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 24, 2026
866fbed
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 24, 2026
a584431
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 24, 2026
ed027f9
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 24, 2026
a3b908b
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 24, 2026
3cb7d79
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 25, 2026
fa2e875
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 25, 2026
e7b2cb6
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 25, 2026
bf247cb
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 25, 2026
ee3d762
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 25, 2026
a6f02f4
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 25, 2026
5e7d659
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 25, 2026
2cd927c
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 25, 2026
fbd2308
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 25, 2026
1b90c1a
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 26, 2026
fe9bea4
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 27, 2026
bb53468
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 28, 2026
8f633be
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 30, 2026
f0f7e25
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 30, 2026
462d062
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 31, 2026
0482385
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 31, 2026
effea3e
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 31, 2026
5d8c2fb
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 31, 2026
1b72847
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 31, 2026
eba54b2
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 31, 2026
19272b9
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 31, 2026
a9a79a3
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 31, 2026
28bee50
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 31, 2026
e067d35
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Mar 31, 2026
762ee1f
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Apr 1, 2026
abd32d3
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Apr 1, 2026
3d1628f
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Apr 1, 2026
33946a1
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Apr 1, 2026
be8ca4b
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Apr 1, 2026
3149b02
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Apr 1, 2026
1624d56
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Apr 1, 2026
c9aaa3e
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Apr 1, 2026
5991719
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Apr 1, 2026
4ea7d44
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Apr 1, 2026
713d637
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Apr 2, 2026
a81d05c
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Apr 3, 2026
4545e35
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Apr 3, 2026
77f04fd
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Apr 3, 2026
fdfa1bc
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Apr 3, 2026
93b6036
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Apr 3, 2026
380123b
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Apr 3, 2026
7f8d941
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Apr 3, 2026
3249051
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Apr 3, 2026
3731e3f
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Apr 3, 2026
20a993a
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Apr 3, 2026
64171fa
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Apr 3, 2026
63d6bdf
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Apr 3, 2026
fd75563
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Apr 4, 2026
90b0137
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
ShubhangKrishnakantTrivedi875 Apr 4, 2026
463ffc8
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
ShubhangKrishnakantTrivedi875 Apr 4, 2026
af1236a
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
ShubhangKrishnakantTrivedi875 Apr 5, 2026
8d6a9aa
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
ShubhangKrishnakantTrivedi875 Apr 5, 2026
75b44ce
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
ShubhangKrishnakantTrivedi875 Apr 5, 2026
5bfac13
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
ShubhangKrishnakantTrivedi875 Apr 5, 2026
04cc34e
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
ShubhangKrishnakantTrivedi875 Apr 5, 2026
74bd2b7
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
ShubhangKrishnakantTrivedi875 Apr 5, 2026
ff0fdd7
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
ShubhangKrishnakantTrivedi875 Apr 5, 2026
46d08dc
Delete src/MD_copy1.c
ShubhangKrishnakantTrivedi875 Apr 5, 2026
033be21
Delete src/MD_printing_refined_cartesian.c
ShubhangKrishnakantTrivedi875 Apr 5, 2026
6b216cd
Delete src/MD_printing_refined_fractional.c
ShubhangKrishnakantTrivedi875 Apr 5, 2026
b30ac3c
Delete src/MD_updated.c
ShubhangKrishnakantTrivedi875 Apr 5, 2026
e61601f
Delete src/MD_working_nice_but_hamiltonian_timings_issue.c
ShubhangKrishnakantTrivedi875 Apr 5, 2026
1a51b7f
Delete src/md_check.c
ShubhangKrishnakantTrivedi875 Apr 5, 2026
f0ac6b0
Delete src/md_fortran.c
ShubhangKrishnakantTrivedi875 Apr 5, 2026
89d2943
Delete src/md_fortran2.c
ShubhangKrishnakantTrivedi875 Apr 5, 2026
8bdac50
Delete src/md_working_Cartesian_velocity.c
ShubhangKrishnakantTrivedi875 Apr 5, 2026
7664a40
Delete src/md_working_Cartesian_velocity.c.c
ShubhangKrishnakantTrivedi875 Apr 5, 2026
841d502
Delete src/md_working_but_velocity_fractional_cartesian_issue.c
ShubhangKrishnakantTrivedi875 Apr 5, 2026
5ddd1c4
Delete src/md_working_on.c
ShubhangKrishnakantTrivedi875 Apr 5, 2026
0de633c
Delete src/include/md_copy_metric_tensor_extra_used.c
ShubhangKrishnakantTrivedi875 Apr 5, 2026
95d9add
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
ShubhangKrishnakantTrivedi875 Apr 5, 2026
5df06ee
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
ShubhangKrishnakantTrivedi875 Apr 5, 2026
b3fa9b2
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
ShubhangKrishnakantTrivedi875 Apr 6, 2026
4848ac7
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
ShubhangKrishnakantTrivedi875 Apr 6, 2026
b2ad24e
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
ShubhangKrishnakantTrivedi875 Apr 6, 2026
fbccff8
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
Apr 6, 2026
9beb285
Update_NPT_NP_dynamics_and_add_NPH_full_cell_flexibility
ShubhangKrishnakantTrivedi875 Apr 6, 2026
ce8ac41
updated the date to change version
Apr 7, 2026
28cf8bb
Merge branch 'master' of https://github.com/ShubhangKrishnakantTrived…
Apr 7, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
-Name
-changes

--------------
April 06, 2026
Name: Shubhang Krishnakant Trivedi
Changes: (src/md.c, src/initialization.c, src/readfiles.c, src/include/md.h, src/include/isddft.h)
1. Extended the functionality of NPT_NP QMD for doing full cell flexibility (including changing of cell angles).
2. Added the NPH (isobaric-isoenthalpic) ensemble in QMD with allowing full cell flexibility.
3. Updated the manual regarding the same.
4. Added extra tests corresponding to the same.

--------------
December 03, 2025
Name: Sayan Bhowmik
Expand Down
282 changes: 272 additions & 10 deletions doc/.LaTeX/MD.tex
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
\end{columns}

\begin{block}{Description}
Type of QMD to be performed. Currently, NVE (microcanonical ensemble), NVT\_NH (canonical ensemble with Nose-Hoover thermostat), NVK\_G (isokinetic ensemble with Gaussian thermostat), NPT\_NH (isothermal-isobaric ensemble with Nose-Hoover thermostat) and NPT\_NP (isothermal-isobaric ensemble with Nose-Poincare thermostat) are supported.
Type of QMD to be performed. Currently, NVE (microcanonical ensemble), NVT\_NH (canonical ensemble with Nose-Hoover thermostat), NVK\_G (isokinetic ensemble with Gaussian thermostat), NPT\_NH (isothermal-isobaric ensemble with Nose-Hoover thermostat), NPT\_NP (isothermal-isobaric ensemble with Nose-Poincare thermostat) and NPH (isothermal-isoenthalpic ensemble) are supported.
\end{block}

\end{frame}
Expand Down Expand Up @@ -466,7 +466,7 @@

\begin{block}{Remark}
Applicable to NPT\_NP \hyperlink{MD_METHOD}{\texttt{MD\_METHOD}} only.
Program will exit if NPT\_NP is selected but NPT\_NP\_BMASS is not input
Program will exit if NPT\_NP is selected but NPT\_NP\_QMASS is not input
\end{block}

\end{frame}
Expand Down Expand Up @@ -537,15 +537,14 @@
\begin{block}{Description}
Specify which lattice vectors can be rescaled in NPT\_NH and NPT\_NP. The cell will only expand or shrink in the specified directions.

Rescaled vectors can be specified for orthogonal systems if NPT\_NP thermostat is used.
\end{block}

\begin{block}{Remark}
Only three numbers 1, 2 and 3 can be accepted. For example, if ``2 3'' is the input, the cell will only expand or shrink in the directions of lattice vector 2 and lattice vector 3.

If it is set in NPT\_NH, the expansion or shrinkage on designated lattice vector will try to keep the total pressure to oscillate near the target pressure.

If it is set in NPT\_NP, the expansion or shrinkage on designated lattice vector will only try to keep the normal stress at their direction to oscillate near the target pressure.
If it is set in NPT\_NP, the expansion or shrinkage on designated lattice vector will only try to keep the normal stress at their direction to oscillate near the corresponding target stress component (which is the sum of external pressure and corresponding external stress component).
\end{block}

\end{frame}
Expand All @@ -559,7 +558,7 @@
\begin{columns}
\column{0.4\linewidth}
\begin{block}{Type}
Double
Int
\end{block}

\begin{block}{Default}
Expand All @@ -577,12 +576,162 @@
\end{columns}

\begin{block}{Description}
Set the scale constraint for lattice vectors in NPT\_NP. The length ratio between the designated lattice vector keeps constant in NPT\_NP thermostat. For example, if ``12'' is set, then the length ratio between 1st and 2nd lattice vectors will keep constant.
Set the scale constraint for lattice vectors in NPT\_NP. The length ratio between the designated lattice vector keeps constant in NPT\_NP ensemble. For example, if ``12'' is set, then the length ratio between 1st and 2nd lattice vectors will keep constant.
\end{block}

\begin{block}{Remark}
Applicable to orthogonal system using NPT\_NP \hyperlink{MD_METHOD}{\texttt{MD\_METHOD}} only.
Applicable to NPT\_NP \hyperlink{MD_METHOD}{\texttt{MD\_METHOD}} only.

There are 4 types of available constraints. ``12'' or ``21''; ``13'' or ``31''; ``23'' or ``32''; ``123'' or ``132'' or ``213'' or ``231'' or ``312'' or ``321''.
\end{block}

\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[allowframebreaks]{\texttt{NPT\_NP\_ANGLES}} \label{NPT_NP_ANGLES}
\vspace*{-12pt}
\begin{columns}
\column{0.4\linewidth}
\begin{block}{Type}
Int
\end{block}

\begin{block}{Default}
0
\end{block}

\column{0.4\linewidth}
\begin{block}{Unit}
No unit
\end{block}

\begin{block}{Example}
\texttt{NPT\_SCALE\_CONSTRAINTS}: 1
\end{block}
\end{columns}

\begin{block}{Description}
Flag to determine whether to allow changing of angles of the cell (simulation box) in NPT\_NP. Choosing "1" as the input allows changing of angles between lattice vectors, and "0" keeps the angles between lattice vectors to be fixed.
\end{block}

\begin{block}{Remark}
Applicable to NPT\_NP \hyperlink{MD_METHOD}{\texttt{MD\_METHOD}} only when all the lattice vectors are allowed to be rescaled by setting \hyperlink{NPT\_SCALE\_VECS}{\texttt{NPT\_SCALE\_VECS}} to "123" and simultaneously no other constraints are imposed through \hyperlink{NPT\_SCALE\_CONSTRAINTS}{\texttt{NPT\_SCALE\_CONSTRAINTS}}.
\end{block}

\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[allowframebreaks]{\texttt{NPH\_BMASS}} \label{NPH_BMASS}
\vspace*{-12pt}
\begin{columns}
\column{0.4\linewidth}
\begin{block}{Type}
Double
\end{block}

\begin{block}{Default}
No default value
\end{block}

\column{0.4\linewidth}
\begin{block}{Unit}
atomic unit
\end{block}

\begin{block}{Example}
\texttt{NPH\_BMASS}: 72.4
\end{block}
\end{columns}

\begin{block}{Description}
Gives the inertia mass for the barostat variable in NPH.
\end{block}

\begin{block}{Remark}
Applicable to NPH \hyperlink{MD_METHOD}{\texttt{MD\_METHOD}} only.
Program will exit if NPH is selected but NPH\_BMASS is not input.
\end{block}

\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[allowframebreaks]{\texttt{NPH\_SCALE\_VECS}} \label{NPH_SCALE_VECS}
\vspace*{-12pt}
\begin{columns}
\column{0.4\linewidth}
\begin{block}{Type}
Int
\end{block}

\begin{block}{Default}
1 2 3
\end{block}

\column{0.4\linewidth}
\begin{block}{Unit}
No unit
\end{block}

\begin{block}{Example}
\texttt{NPH\_SCALE\_VECS}: 1 2
\end{block}
\end{columns}

\begin{block}{Description}
Specify which lattice vectors can be rescaled in NPH. The cell will only expand or shrink in the specified directions.

\end{block}

\begin{block}{Remark}
It is similar to \hyperlink{NPT\_SCALE\_VECS}{\texttt{NPT\_SCALE\_VECS}} but meant to use when doing NPH ensemble. Only three numbers 1, 2 and 3 can be accepted. For example, if ``2 3'' is the input, the cell will only expand or shrink in the directions of lattice vector 2 and lattice vector 3.
\\
If it is set in NPH, the expansion or shrinkage on designated lattice vector will only try to keep the total internal normal stress at their direction to oscillate near the corresponding target stress component (which is the sum of external pressure and corresponding external stress component).
\end{block}

\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[allowframebreaks]{\texttt{NPH\_SCALE\_CONSTRAINTS}} \label{NPH_SCALE_CONSTRAINTS}
\vspace*{-12pt}
\begin{columns}
\column{0.4\linewidth}
\begin{block}{Type}
Int
\end{block}

\begin{block}{Default}
none
\end{block}

\column{0.4\linewidth}
\begin{block}{Unit}
No unit
\end{block}

\begin{block}{Example}
\texttt{NPH\_SCALE\_CONSTRAINTS}: 23
\end{block}
\end{columns}

\begin{block}{Description}
Set the scale constraint for lattice vectors in NPH. The length ratio between the designated lattice vector keeps constant in NPH thermostat. For example, if ``23'' is set, then the length ratio between 2nd and 3rd lattice vectors will be kept constant.
\end{block}

\begin{block}{Remark}
Applicable to NPH \hyperlink{MD_METHOD}{\texttt{MD\_METHOD}} only.
It is similar to \hyperlink{NPT\_SCALE\_VECS}{\texttt{NPT\_SCALE\_VECS}} but meant to use when doing NPH ensemble.
There are 4 types of available constraints. ``12'' or ``21''; ``13'' or ``31''; ``23'' or ``32''; ``123'' or ``132'' or ``213'' or ``231'' or ``312'' or ``321''.
\end{block}

Expand All @@ -591,6 +740,43 @@



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{frame}[allowframebreaks]{\texttt{NPH\_ANGLES}} \label{NPH_ANGLES}
\vspace*{-12pt}
\begin{columns}
\column{0.4\linewidth}
\begin{block}{Type}
Int
\end{block}

\begin{block}{Default}
0
\end{block}

\column{0.4\linewidth}
\begin{block}{Unit}
No unit
\end{block}

\begin{block}{Example}
\texttt{NPT\_SCALE\_CONSTRAINTS}: 1
\end{block}
\end{columns}

\begin{block}{Description}
Flag to determine whether to allow changing of angles of the cell (simulation box) in NPH. Choosing "1" as the input allows changing of angles between lattice vectors, and "0" keeps the angles between lattice vectors to be fixed.
\end{block}

\begin{block}{Remark}
Applicable to NPH \hyperlink{MD_METHOD}{\texttt{MD\_METHOD}} only when all the lattice vectors are allowed to be rescaled by setting \hyperlink{NPH\_SCALE\_VECS}{\texttt{NPH\_SCALE\_VECS}} to "123" and simultaneously no other constraints are imposed through \hyperlink{NPH\_SCALE\_CONSTRAINTS}{\texttt{NPH\_SCALE\_CONSTRAINTS}}.
\end{block}

\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[allowframebreaks]{\texttt{TARGET\_PRESSURE}} \label{TARGET_PRESSURE}
\vspace*{-12pt}
Expand All @@ -615,11 +801,87 @@
\end{columns}

\begin{block}{Description}
Gives the outer pressure in NPT\_NH and NPT\_NP.
Gives the outer pressure in NPT\_NH.
\end{block}

\begin{block}{Remark}
Applicable to NPT\_NH and NPT\_NP \hyperlink{MD_METHOD}{\texttt{MD\_METHOD}} only.
Applicable to NPT\_NH \hyperlink{MD_METHOD}{\texttt{MD\_METHOD}} only.
\end{block}

\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[allowframebreaks]{\texttt{EXTERNAL\_PRESSURE}} \label{EXTERNAL_PRESSURE}
\vspace*{-12pt}
\begin{columns}
\column{0.4\linewidth}
\begin{block}{Type}
Double
\end{block}

\begin{block}{Default}
0.0
\end{block}

\column{0.4\linewidth}
\begin{block}{Unit}
GPa
\end{block}

\begin{block}{Example}
\texttt{EXTERNAL\_PRESSURE}: 0.5
\end{block}
\end{columns}

\begin{block}{Description}
Gives the outer/external pressure in NPT\_NP and NPH.
\end{block}

\begin{block}{Remark}
Applicable to NPT\_NP and NPH \hyperlink{MD_METHOD}{\texttt{MD\_METHOD}} only. In contrast to NPT\_NH governed by a single \hyperlink{TARGET\_PRESSURE}{\texttt{TARGET\_PRESSURE}} argument, the NPT\_NP and NPH are governed by two arguments: \hyperlink{EXTERNAL\_PRESSURE}{\texttt{EXTERNAL\_PRESSURE}} and \hyperlink{EXTERNAL\_STRESS}{\texttt{EXTERNAL\_STRESS}}, the sum of which gives target stress, around which the total internal stress must oscillate.
\\
Note that in absence of \hyperlink{EXTERNAL_STRESS}{\texttt{EXTERNAL\_STRESS}}, target stress in NPT\_NP and NPH would be isotropic and (have diagonal components) equal to \hyperlink{EXTERNAL\_PRESSURE}{\texttt{EXTERNAL\_PRESSURE}}.


\end{block}

\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[allowframebreaks]{\texttt{EXTERNAL\_STRESS}} \label{EXTERNAL_STRESS}
\vspace*{-12pt}
\begin{columns}
\column{0.4\linewidth}
\begin{block}{Type}
Double
\end{block}

\begin{block}{Default}
0.0 0.0 0.0 0.0 0.0 0.0
\end{block}

\column{0.4\linewidth}
\begin{block}{Unit}
GPa
\end{block}

\begin{block}{Example}
\texttt{EXTERNAL\_STRESS}: \\ 5 0.1 -5 2 4 0.3
\end{block}
\end{columns}

\begin{block}{Description}
Gives the outer stress in NPT\_NP and NPH.
\end{block}

\begin{block}{Remark}
Applicable to NPT\_NP and NPH \hyperlink{MD_METHOD}{\texttt{MD\_METHOD}} only. The format is "$\sigma_{xx} \ \sigma_{yy} \ \sigma_{zz} \ \sigma_{xy} \ \sigma_{xz} \ \sigma_{yz}$", where $\sigma$ here denotes the \hyperlink{EXTERNAL\_PRESSURE}{\texttt{EXTERNAL\_PRESSURE}}. The target stress around which the total internal stress must oscillate in NPT\_NP and NPH ensemble is the sum of \hyperlink{EXTERNAL\_PRESSURE}{\texttt{EXTERNAL\_PRESSURE}} and \hyperlink{EXTERNAL\_STRESS}{\texttt{EXTERNAL\_STRESS}}.
\end{block}

\end{frame}
Expand Down Expand Up @@ -692,4 +954,4 @@
\end{block}

\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Binary file modified doc/Manual.pdf
Binary file not shown.
Loading
Loading