![]() |
(git:b77b4be)
|
Utilities for thermostats. More...
Functions/Subroutines | |
subroutine, public | compute_nfree (cell, simpar, molecule_kind_set, print_section, particles, gci) |
... | |
subroutine, public | compute_degrees_of_freedom (thermostats, cell, simpar, molecule_kind_set, local_molecules, molecules, particles, print_section, region_sections, gci, region, qmmm_env) |
... | |
subroutine, public | setup_adiabatic_thermostat_info (thermostat_info, molecule_kind_set, local_molecules, molecules, particles, region, ensemble, nfree, shell, region_sections, qmmm_env) |
... | |
subroutine, public | setup_thermostat_info (thermostat_info, molecule_kind_set, local_molecules, molecules, particles, region, ensemble, nfree, shell, region_sections, qmmm_env) |
... | |
subroutine, public | ke_region_baro (map_info, npt, group) |
... | |
subroutine, public | vel_rescale_baro (map_info, npt) |
... | |
subroutine, public | ke_region_particles (map_info, particle_set, molecule_kind_set, local_molecules, molecule_set, group, vel) |
... | |
subroutine, public | momentum_region_particles (map_info, particle_set, molecule_kind_set, local_molecules, molecule_set, group, vel) |
... | |
subroutine, public | vel_rescale_particles (map_info, molecule_kind_set, molecule_set, particle_set, local_molecules, shell_adiabatic, shell_particle_set, core_particle_set, vel, shell_vel, core_vel) |
... | |
subroutine, public | ke_region_shells (map_info, particle_set, atomic_kind_set, local_particles, group, core_particle_set, shell_particle_set, core_vel, shell_vel) |
... | |
subroutine, public | vel_rescale_shells (map_info, atomic_kind_set, particle_set, local_particles, shell_particle_set, core_particle_set, shell_vel, core_vel, vel) |
... | |
subroutine, public | get_nhc_energies (nhc, nhc_pot, nhc_kin, para_env, array_kin, array_pot) |
Calculates kinetic energy and potential energy of the nhc variables. | |
subroutine, public | get_kin_energies (map_info, loc_num, glob_num, thermo_energy, thermostat_kin, para_env, array_pot, array_kin) |
Calculates kinetic energy and potential energy of the csvr and gle thermostats. | |
subroutine, public | get_thermostat_energies (thermostat, thermostat_pot, thermostat_kin, para_env, array_pot, array_kin) |
Calculates energy associated with a thermostat. | |
subroutine, public | print_thermostats_status (thermostats, para_env, my_pos, my_act, itimes, time) |
Prints status of all thermostats during an MD run. | |
subroutine, public | communication_thermo_low2 (array, number1, number2, para_env) |
Handles the communication for thermostats (2D array) | |
Utilities for thermostats.
subroutine, public thermostat_utils::compute_nfree | ( | type(cell_type), pointer | cell, |
type(simpar_type), pointer | simpar, | ||
type(molecule_kind_type), dimension(:), pointer | molecule_kind_set, | ||
type(section_vals_type), pointer | print_section, | ||
type(particle_list_type), pointer | particles, | ||
type(global_constraint_type), pointer | gci | ||
) |
...
cell | ... |
simpar | ... |
molecule_kind_set | ... |
print_section | ... |
particles | ... |
gci | ... |
Definition at line 98 of file thermostat_utils.F.
subroutine, public thermostat_utils::compute_degrees_of_freedom | ( | type(thermostats_type), pointer | thermostats, |
type(cell_type), pointer | cell, | ||
type(simpar_type), pointer | simpar, | ||
type(molecule_kind_type), dimension(:), pointer | molecule_kind_set, | ||
type(distribution_1d_type), pointer | local_molecules, | ||
type(molecule_list_type), pointer | molecules, | ||
type(particle_list_type), pointer | particles, | ||
type(section_vals_type), pointer | print_section, | ||
type(section_vals_type), pointer | region_sections, | ||
type(global_constraint_type), pointer | gci, | ||
integer, intent(in) | region, | ||
type(qmmm_env_type), pointer | qmmm_env | ||
) |
...
thermostats | ... |
cell | ... |
simpar | ... |
molecule_kind_set | ... |
local_molecules | ... |
molecules | ... |
particles | ... |
print_section | ... |
region_sections | ... |
gci | ... |
region | ... |
qmmm_env | ... |
Definition at line 149 of file thermostat_utils.F.
subroutine, public thermostat_utils::setup_adiabatic_thermostat_info | ( | type(thermostat_info_type), pointer | thermostat_info, |
type(molecule_kind_type), dimension(:), pointer | molecule_kind_set, | ||
type(distribution_1d_type), pointer | local_molecules, | ||
type(molecule_list_type), pointer | molecules, | ||
type(particle_list_type), pointer | particles, | ||
integer, intent(in) | region, | ||
integer, intent(in) | ensemble, | ||
integer, intent(inout), optional | nfree, | ||
logical, intent(in), optional | shell, | ||
type(section_vals_type), pointer | region_sections, | ||
type(qmmm_env_type), pointer | qmmm_env | ||
) |
...
thermostat_info | ... |
molecule_kind_set | ... |
local_molecules | ... |
molecules | ... |
particles | ... |
region | ... |
ensemble | ... |
nfree | ... |
shell | ... |
region_sections | ... |
qmmm_env | ... |
Definition at line 232 of file thermostat_utils.F.
subroutine, public thermostat_utils::setup_thermostat_info | ( | type(thermostat_info_type), pointer | thermostat_info, |
type(molecule_kind_type), dimension(:), pointer | molecule_kind_set, | ||
type(distribution_1d_type), pointer | local_molecules, | ||
type(molecule_list_type), pointer | molecules, | ||
type(particle_list_type), pointer | particles, | ||
integer, intent(in) | region, | ||
integer, intent(in) | ensemble, | ||
integer, intent(inout), optional | nfree, | ||
logical, intent(in), optional | shell, | ||
type(section_vals_type), pointer | region_sections, | ||
type(qmmm_env_type), pointer | qmmm_env | ||
) |
...
thermostat_info | ... |
molecule_kind_set | ... |
local_molecules | ... |
molecules | ... |
particles | ... |
region | ... |
ensemble | ... |
nfree | ... |
shell | ... |
region_sections | ... |
qmmm_env | ... |
Definition at line 549 of file thermostat_utils.F.
subroutine, public thermostat_utils::ke_region_baro | ( | type(map_info_type), pointer | map_info, |
type(npt_info_type), dimension(:, :), intent(inout) | npt, | ||
type(mp_comm_type), intent(in) | group | ||
) |
...
map_info | ... |
npt | ... |
group | ... |
Definition at line 921 of file thermostat_utils.F.
subroutine, public thermostat_utils::vel_rescale_baro | ( | type(map_info_type), pointer | map_info, |
type(npt_info_type), dimension(:, :), intent(inout) | npt | ||
) |
...
map_info | ... |
npt | ... |
Definition at line 950 of file thermostat_utils.F.
subroutine, public thermostat_utils::ke_region_particles | ( | type(map_info_type), pointer | map_info, |
type(particle_type), dimension(:), pointer | particle_set, | ||
type(molecule_kind_type), dimension(:), pointer | molecule_kind_set, | ||
type(distribution_1d_type), pointer | local_molecules, | ||
type(molecule_type), dimension(:), pointer | molecule_set, | ||
type(mp_comm_type), intent(in) | group, | ||
real(kind=dp), dimension(:, :), intent(inout), optional | vel | ||
) |
...
map_info | ... |
particle_set | ... |
molecule_kind_set | ... |
local_molecules | ... |
molecule_set | ... |
group | ... |
vel | ... |
Definition at line 978 of file thermostat_utils.F.
subroutine, public thermostat_utils::momentum_region_particles | ( | type(map_info_type), pointer | map_info, |
type(particle_type), dimension(:), pointer | particle_set, | ||
type(molecule_kind_type), dimension(:), pointer | molecule_kind_set, | ||
type(distribution_1d_type), pointer | local_molecules, | ||
type(molecule_type), dimension(:), pointer | molecule_set, | ||
type(mp_comm_type), intent(in) | group, | ||
real(kind=dp), dimension(:, :), intent(inout), optional | vel | ||
) |
...
map_info | ... |
particle_set | ... |
molecule_kind_set | ... |
local_molecules | ... |
molecule_set | ... |
group | ... |
vel | ... |
Definition at line 1044 of file thermostat_utils.F.
subroutine, public thermostat_utils::vel_rescale_particles | ( | type(map_info_type), pointer | map_info, |
type(molecule_kind_type), dimension(:), pointer | molecule_kind_set, | ||
type(molecule_type), dimension(:), pointer | molecule_set, | ||
type(particle_type), dimension(:), pointer | particle_set, | ||
type(distribution_1d_type), pointer | local_molecules, | ||
logical, intent(in) | shell_adiabatic, | ||
type(particle_type), dimension(:), optional, pointer | shell_particle_set, | ||
type(particle_type), dimension(:), optional, pointer | core_particle_set, | ||
real(kind=dp), dimension(:, :), intent(inout), optional | vel, | ||
real(kind=dp), dimension(:, :), intent(inout), optional | shell_vel, | ||
real(kind=dp), dimension(:, :), intent(inout), optional | core_vel | ||
) |
...
map_info | ... |
molecule_kind_set | ... |
molecule_set | ... |
particle_set | ... |
local_molecules | ... |
shell_adiabatic | ... |
shell_particle_set | ... |
core_particle_set | ... |
vel | ... |
shell_vel | ... |
core_vel | ... |
Definition at line 1108 of file thermostat_utils.F.
subroutine, public thermostat_utils::ke_region_shells | ( | type(map_info_type), pointer | map_info, |
type(particle_type), dimension(:), pointer | particle_set, | ||
type(atomic_kind_type), dimension(:), pointer | atomic_kind_set, | ||
type(distribution_1d_type), pointer | local_particles, | ||
type(mp_comm_type), intent(in) | group, | ||
type(particle_type), dimension(:), optional, pointer | core_particle_set, | ||
type(particle_type), dimension(:), optional, pointer | shell_particle_set, | ||
real(kind=dp), dimension(:, :), intent(inout), optional | core_vel, | ||
real(kind=dp), dimension(:, :), intent(inout), optional | shell_vel | ||
) |
...
map_info | ... |
particle_set | ... |
atomic_kind_set | ... |
local_particles | ... |
group | ... |
core_particle_set | ... |
shell_particle_set | ... |
core_vel | ... |
shell_vel | ... |
Definition at line 1213 of file thermostat_utils.F.
subroutine, public thermostat_utils::vel_rescale_shells | ( | type(map_info_type), pointer | map_info, |
type(atomic_kind_type), dimension(:), pointer | atomic_kind_set, | ||
type(particle_type), dimension(:), pointer | particle_set, | ||
type(distribution_1d_type), pointer | local_particles, | ||
type(particle_type), dimension(:), optional, pointer | shell_particle_set, | ||
type(particle_type), dimension(:), optional, pointer | core_particle_set, | ||
real(kind=dp), dimension(:, :), intent(inout), optional | shell_vel, | ||
real(kind=dp), dimension(:, :), intent(inout), optional | core_vel, | ||
real(kind=dp), dimension(:, :), intent(inout), optional | vel | ||
) |
...
map_info | ... |
atomic_kind_set | ... |
particle_set | ... |
local_particles | ... |
shell_particle_set | ... |
core_particle_set | ... |
shell_vel | ... |
core_vel | ... |
vel | ... |
Definition at line 1293 of file thermostat_utils.F.
subroutine, public thermostat_utils::get_nhc_energies | ( | type(lnhc_parameters_type), pointer | nhc, |
real(kind=dp), intent(out) | nhc_pot, | ||
real(kind=dp), intent(out) | nhc_kin, | ||
type(mp_para_env_type), pointer | para_env, | ||
real(kind=dp), dimension(:), optional, pointer | array_kin, | ||
real(kind=dp), dimension(:), optional, pointer | array_pot | ||
) |
Calculates kinetic energy and potential energy of the nhc variables.
nhc | ... |
nhc_pot | ... |
nhc_kin | ... |
para_env | ... |
array_kin | ... |
array_pot | ... |
Definition at line 1378 of file thermostat_utils.F.
subroutine, public thermostat_utils::get_kin_energies | ( | type(map_info_type), pointer | map_info, |
integer, intent(in) | loc_num, | ||
integer, intent(in) | glob_num, | ||
real(dp), dimension(:), intent(in) | thermo_energy, | ||
real(kind=dp), intent(out) | thermostat_kin, | ||
type(mp_para_env_type), pointer | para_env, | ||
real(kind=dp), dimension(:), optional, pointer | array_pot, | ||
real(kind=dp), dimension(:), optional, pointer | array_kin | ||
) |
Calculates kinetic energy and potential energy of the csvr and gle thermostats.
map_info | ... |
loc_num | ... |
glob_num | ... |
thermo_energy | ... |
thermostat_kin | ... |
para_env | ... |
array_pot | ... |
array_kin | ... |
Definition at line 1446 of file thermostat_utils.F.
subroutine, public thermostat_utils::get_thermostat_energies | ( | type(thermostat_type), pointer | thermostat, |
real(kind=dp), intent(out) | thermostat_pot, | ||
real(kind=dp), intent(out) | thermostat_kin, | ||
type(mp_para_env_type), pointer | para_env, | ||
real(kind=dp), dimension(:), optional, pointer | array_pot, | ||
real(kind=dp), dimension(:), optional, pointer | array_kin | ||
) |
Calculates energy associated with a thermostat.
thermostat | ... |
thermostat_pot | ... |
thermostat_kin | ... |
para_env | ... |
array_pot | ... |
array_kin | ... |
Definition at line 1574 of file thermostat_utils.F.
subroutine, public thermostat_utils::print_thermostats_status | ( | type(thermostats_type), pointer | thermostats, |
type(mp_para_env_type), pointer | para_env, | ||
character(len=default_string_length) | my_pos, | ||
character(len=default_string_length) | my_act, | ||
integer, intent(in) | itimes, | ||
real(kind=dp), intent(in) | time | ||
) |
Prints status of all thermostats during an MD run.
thermostats | ... |
para_env | ... |
my_pos | ... |
my_act | ... |
itimes | ... |
time | ... |
Definition at line 1711 of file thermostat_utils.F.
subroutine, public thermostat_utils::communication_thermo_low2 | ( | integer, dimension(:, :), intent(inout) | array, |
integer, intent(in) | number1, | ||
integer, intent(in) | number2, | ||
type(mp_para_env_type), pointer | para_env | ||
) |
Handles the communication for thermostats (2D array)
array | ... |
number1 | ... |
number2 | ... |
para_env | ... |
Definition at line 1863 of file thermostat_utils.F.