(git:6a2e663)
cell_methods Module Reference

Handles all functions related to the CELL. More...

Functions/Subroutines

subroutine, public cell_create (cell, hmat, periodic, tag)
 allocates and initializes a cell More...
 
subroutine, public init_cell (cell, hmat, periodic)
 Initialise/readjust a simulation cell after hmat has been changed. More...
 
recursive subroutine, public read_cell (cell, cell_ref, use_ref_cell, cell_section, check_for_ref, para_env)
 ... More...
 
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. More...
 
subroutine, public read_cell_cif (cif_file_name, cell, para_env)
 Reads cell information from CIF file. More...
 
subroutine, public write_cell (cell, subsys_section, tag)
 Write the cell parameters to the output unit. More...
 

Detailed Description

Handles all functions related to the CELL.

History
11.2008 Teodoro Laino [tlaino] - deeply cleaning cell_type from units 10.2014 Moved many routines to cell_types.F.
Author
Matthias KracK (16.01.2002, based on a earlier version of CJM, JGH)

Function/Subroutine Documentation

◆ cell_create()

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

Parameters
cellthe cell to initialize
hmatthe h matrix that defines the cell
periodicperiodicity of the cell
tag...
History
09.2003 created [fawzi]
Author
Fawzi Mohamed

Definition at line 84 of file cell_methods.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_cell()

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.

Parameters
cell...
hmat...
periodic...
Date
16.01.2002
Author
Matthias Krack
Version
1.0

Definition at line 116 of file cell_methods.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_cell()

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 
)

...

Parameters
cell...
cell_ref...
use_ref_cell...
cell_section...
check_for_ref...
para_env...
History
03.2005 created [teo]
Author
Teodoro Laino

Definition at line 270 of file cell_methods.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_cell_param()

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.

Parameters
cell...
cell_length...
cell_angle...
periodic...
do_init_cell...
Date
03.2008
Author
Teodoro Laino

Definition at line 438 of file cell_methods.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_cell_cif()

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.

Parameters
cif_file_name...
cell...
para_env...
Date
12.2008
Format Information implemented:
_cell_length_a _cell_length_b _cell_length_c _cell_angle_alpha _cell_angle_beta _cell_angle_gamma
Author
Teodoro Laino [tlaino] moved from topology_cif (1/2019 JHU)

Definition at line 617 of file cell_methods.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write_cell()

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.

Parameters
cell...
subsys_section...
tag...
Date
02.06.2000
History
  • 11.2008 Teodoro Laino [tlaino] - rewrite and enabling user driven units
Author
Matthias Krack
Version
1.0

Definition at line 730 of file cell_methods.F.

Here is the call graph for this function:
Here is the caller graph for this function: