Routines for reading and witing control file.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public, | parameter | :: | mxrdln | = | 1024 |
Maximum length of character string for input line buffer. |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=rp), | public | :: | rcutoff | = | 0.0_rp | ||
| real(kind=rp), | public | :: | tskin | = | 0.0_rp | ||
| character(len=5), | public | :: | mth_ptgen | = | '' |
Pair table generation method: {'DIR', 'VER', 'AABBT', 'CL'} |
|
| logical, | public | :: | lelst | = | .false. | ||
| logical, | public | :: | lhdia | = | .false. | ||
| logical, | public | :: | lvdw | = | .false. | ||
| integer, | public | :: | excluded_atoms | = | 0 | ||
| character(len=4), | public | :: | mob_fctr | = | '' | ||
| integer, | public | :: | lanc_mxitr | = | 0 | ||
| real(kind=rp), | public | :: | lanc_tol | = | 0.0_rp | ||
| integer, | public | :: | se_nlmxitr | = | 0 | ||
| integer, | public | :: | se_kdmax | = | 0 | ||
| character(len=4), | public | :: | bdintg | = | '' | ||
| real(kind=rp), | public, | dimension(2) | :: | se_tol | = | 0.0_rp | |
| integer, | public, | dimension(2) | :: | stats_binsize | = | 0 | |
| real(kind=rp), | public | :: | tim_stp | = | 0.0_rp | ||
| integer(kind=ip_long), | public | :: | nts_sim | = | 0 | ||
| integer, | public | :: | nts_mobsam | = | 0 | ||
| integer(kind=ip_long), | public | :: | nts_dump | = | 0 | ||
| integer(kind=ip_long), | public | :: | nts_samp | = | 0 | ||
| integer(kind=ip_long), | public | :: | nts_log | = | 0 | ||
| logical, | public | :: | lrevive | = | .false. |
{T, F}. Whether the simulation is restarted. |
|
| logical, | public | :: | read_seed | = | .false. |
{T, F}. Whether to initialize the random number generator by reading
a seed from a file. If |
|
| logical, | public | :: | write_seed | = | .false. |
{T, F}. Whether to write the random number generator seed. If
|
|
| logical, | public | :: | write_traj | = | .false. |
Should the trajectory be written to file? {T, F} |
|
| character(len=:), | public, | allocatable | :: | fn_cfg |
Name of the file containing the initial configuration |
||
| character(len=:), | public, | allocatable | :: | fn_revive |
Name of the revive file |
||
| character(len=:), | public, | allocatable | :: | fn_stats |
Name of the statistics file |
||
| character(len=:), | public, | allocatable | :: | fn_traj |
Name of the trajectory file |
| procedure, public :: read => control_read | |
| procedure, public :: write => control_write |
Reads simulation control parameters from file
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ctrlpar_t), | intent(out) | :: | this |
A ctrlpar_t instance. |
||
| character(len=*), | intent(in) | :: | fn |
Name of parameters file. |
Write simulation parameters to file
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ctrlpar_t), | intent(out) | :: | this |
A ctrlpar_t instance. |
||
| character(len=*), | intent(in) | :: | fn |
Output file name |