![]() |
(git:b77b4be)
|
Handles all functions related to the CELL. More...
Functions/Subroutines | |
subroutine, public | cell_create (cell, hmat, periodic, tag) |
allocates and initializes a cell | |
subroutine, public | init_cell (cell, hmat, periodic) |
Initialise/readjust a simulation cell after hmat has been changed. | |
recursive subroutine, public | read_cell (cell, cell_ref, use_ref_cell, cell_section, check_for_ref, para_env) |
... | |
subroutine, public | set_cell_param (cell, cell_length, cell_angle, periodic, do_init_cell) |
Sets the cell using the internal parameters (a,b,c) (alpha,beta,gamma) using the convention: a parallel to the x axis, b in the x-y plane and and c univoquely determined; gamma is the angle between a and b; beta is the angle between c and a and alpha is the angle between c and b. | |
subroutine, public | read_cell_cif (cif_file_name, cell, para_env) |
Reads cell information from CIF file. | |
subroutine, public | write_cell (cell, subsys_section, tag) |
Write the cell parameters to the output unit. | |
Handles all functions related to the CELL.
subroutine, public cell_methods::cell_create | ( | type(cell_type), pointer | cell, |
real(kind=dp), dimension(3, 3), intent(in), optional | hmat, | ||
integer, dimension(3), intent(in), optional | periodic, | ||
character(len=*), intent(in), optional | tag | ||
) |
allocates and initializes a cell
cell | the cell to initialize |
hmat | the h matrix that defines the cell |
periodic | periodicity of the cell |
tag | ... |
Definition at line 84 of file cell_methods.F.
subroutine, public cell_methods::init_cell | ( | type(cell_type), pointer | cell, |
real(kind=dp), dimension(3, 3), intent(in), optional | hmat, | ||
integer, dimension(3), intent(in), optional | periodic | ||
) |
Initialise/readjust a simulation cell after hmat has been changed.
cell | ... |
hmat | ... |
periodic | ... |
Definition at line 116 of file cell_methods.F.
recursive subroutine, public cell_methods::read_cell | ( | type(cell_type), pointer | cell, |
type(cell_type), pointer | cell_ref, | ||
logical, intent(inout), optional | use_ref_cell, | ||
type(section_vals_type), optional, pointer | cell_section, | ||
logical, intent(in), optional | check_for_ref, | ||
type(mp_para_env_type), pointer | para_env | ||
) |
...
cell | ... |
cell_ref | ... |
use_ref_cell | ... |
cell_section | ... |
check_for_ref | ... |
para_env | ... |
Definition at line 270 of file cell_methods.F.
subroutine, public cell_methods::set_cell_param | ( | type(cell_type), pointer | cell, |
real(kind=dp), dimension(3), intent(in) | cell_length, | ||
real(kind=dp), dimension(3), intent(in) | cell_angle, | ||
integer, dimension(3), intent(in), optional | periodic, | ||
logical, intent(in) | do_init_cell | ||
) |
Sets the cell using the internal parameters (a,b,c) (alpha,beta,gamma) using the convention: a parallel to the x axis, b in the x-y plane and and c univoquely determined; gamma is the angle between a and b; beta is the angle between c and a and alpha is the angle between c and b.
cell | ... |
cell_length | ... |
cell_angle | ... |
periodic | ... |
do_init_cell | ... |
Definition at line 438 of file cell_methods.F.
subroutine, public cell_methods::read_cell_cif | ( | character(len=*) | cif_file_name, |
type(cell_type), pointer | cell, | ||
type(mp_para_env_type), pointer | para_env | ||
) |
Reads cell information from CIF file.
cif_file_name | ... |
cell | ... |
para_env | ... |
Definition at line 617 of file cell_methods.F.
subroutine, public cell_methods::write_cell | ( | type(cell_type), pointer | cell, |
type(section_vals_type), pointer | subsys_section, | ||
character(len=*), intent(in), optional | tag | ||
) |
Write the cell parameters to the output unit.
cell | ... |
subsys_section | ... |
tag | ... |
Definition at line 730 of file cell_methods.F.