RMPCDMD
|
Utility routines. More...
Data Types | |
type | alist_t |
Appendable lists of double precision data. More... | |
type | args_t |
Container for the standard command-line arguments to RMPCDMD. More... | |
type | enzyme_kinetics_t |
Container for the list of times for enzymatic kinetics. More... | |
type | histogram_t |
Container for a histogram, e.g. p(x) More... | |
type | profile_t |
Container for a profile, e.g. v(x) More... | |
interface | switch |
type | timer_list_t |
type | timer_pointer_t |
type | timer_t |
Functions/Subroutines | |
pure double precision function, dimension(3), public | rel_pos (x, y, L) |
Return x-y distance with minimum image convention. More... | |
subroutine | profile_init (this, xmin, xmax, n) |
subroutine | profile_bin (this, x, value) |
subroutine | profile_reset (this) |
subroutine | profile_norm (this) |
subroutine | histogram_init (this, xmin, xmax, n, n_species) |
subroutine | histogram_bin (this, x, s) |
subroutine | switch_d2 (p1, p2) |
subroutine | switch_i1 (p1, p2) |
subroutine | switch_i2 (p1, p2) |
character(len=max_path_length) function, public | get_input_filename () |
type(args_t) function, public | get_input_args () |
subroutine | timer_init (this, name, system_name) |
subroutine | tic (this) |
subroutine | tac (this) |
subroutine | timer_list_init (this, n) |
subroutine | timer_list_append (this, timer_target) |
subroutine | timer_list_write (this, group, total_out) |
pure double precision function, dimension(3), public | cross (x1, x2) |
subroutine | alist_init (this, block_size) |
subroutine | alist_append (this, value) |
character(len=:) function, allocatable, public | numbered_string (base_string, index, length) |
Variables | |
integer, parameter | max_path_length = 255 |
double precision, parameter, public | pi = 4*atan(1.d0) |
integer, parameter, public | reac_bit = 1 |
integer, parameter, public | md_bit = 2 |
integer, parameter, public | wall_bit = 3 |
integer, parameter, public | past_md_bit = 4 |
integer, parameter, public | outbound_bit = 5 |
integer, parameter, public | catalyzed_bit = 6 |
integer, parameter, public | enzyme_region_bit = 7 |
integer, parameter, public | reac_mask = ibset(0, REAC_BIT) |
integer, parameter, public | md_mask = ibset(0, MD_BIT) |
integer, parameter, public | wall_mask = ibset(0, WALL_BIT) |
integer, parameter, public | catalyzed_mask = ibset(0, CATALYZED_BIT) |
integer, parameter, public | enzyme_region_mask = ibset(0, ENZYME_REGION_BIT) |
Utility routines.
This module contains routines of general use for RMPCDMD: minimum distance convention routine, histogramming, command-line options processing, timers.
A parameter constant for pi is also defined.
|
private |
Definition at line 425 of file common.f90.
|
private |
Definition at line 415 of file common.f90.
pure double precision function, dimension(3), public common::cross | ( | double precision, dimension(3), intent(in) | x1, |
double precision, dimension(3), intent(in) | x2 | ||
) |
Definition at line 405 of file common.f90.
type(args_t) function, public common::get_input_args | ( | ) |
Definition at line 309 of file common.f90.
character(len=max_path_length) function, public common::get_input_filename | ( | ) |
Definition at line 299 of file common.f90.
|
private |
Definition at line 249 of file common.f90.
|
private |
Definition at line 228 of file common.f90.
character(len=:) function, allocatable, public common::numbered_string | ( | character(len=*), intent(in) | base_string, |
integer, intent(in) | index, | ||
integer, intent(in) | length | ||
) |
Definition at line 448 of file common.f90.
|
private |
Definition at line 197 of file common.f90.
|
private |
Definition at line 181 of file common.f90.
|
private |
Definition at line 219 of file common.f90.
|
private |
Definition at line 211 of file common.f90.
pure double precision function, dimension(3), public common::rel_pos | ( | double precision, dimension(3), intent(in) | x, |
double precision, dimension(3), intent(in) | y, | ||
double precision, dimension(3), intent(in) | L | ||
) |
Return x-y distance with minimum image convention.
Definition at line 163 of file common.f90.
|
private |
Definition at line 269 of file common.f90.
|
private |
Definition at line 279 of file common.f90.
|
private |
Definition at line 289 of file common.f90.
subroutine common::tac | ( | class(timer_t), intent(inout) | this | ) |
Definition at line 360 of file common.f90.
|
private |
Definition at line 354 of file common.f90.
|
private |
Definition at line 336 of file common.f90.
|
private |
Definition at line 375 of file common.f90.
subroutine common::timer_list_init | ( | class(timer_list_t), intent(out) | this, |
integer, intent(in) | n | ||
) |
Definition at line 366 of file common.f90.
|
private |
Definition at line 385 of file common.f90.
integer, parameter, public common::catalyzed_bit = 6 |
Definition at line 54 of file common.f90.
integer, parameter, public common::catalyzed_mask = ibset(0, CATALYZED_BIT) |
Definition at line 60 of file common.f90.
integer, parameter, public common::enzyme_region_bit = 7 |
Definition at line 55 of file common.f90.
integer, parameter, public common::enzyme_region_mask = ibset(0, ENZYME_REGION_BIT) |
Definition at line 61 of file common.f90.
|
private |
Definition at line 46 of file common.f90.
integer, parameter, public common::md_bit = 2 |
Definition at line 50 of file common.f90.
integer, parameter, public common::md_mask = ibset(0, MD_BIT) |
Definition at line 58 of file common.f90.
integer, parameter, public common::outbound_bit = 5 |
Definition at line 53 of file common.f90.
integer, parameter, public common::past_md_bit = 4 |
Definition at line 52 of file common.f90.
double precision, parameter, public common::pi = 4*atan(1.d0) |
Definition at line 47 of file common.f90.
integer, parameter, public common::reac_bit = 1 |
Definition at line 49 of file common.f90.
integer, parameter, public common::reac_mask = ibset(0, REAC_BIT) |
Definition at line 57 of file common.f90.
integer, parameter, public common::wall_bit = 3 |
Definition at line 51 of file common.f90.
integer, parameter, public common::wall_mask = ibset(0, WALL_BIT) |
Definition at line 59 of file common.f90.