![]() |
(git:d18deda)
|
Handles all functions related to the CELL. More...
Data Types | |
type | cell_p_type |
type | cell_type |
Type defining parameters related to the simulation cell. More... | |
interface | pbc |
Functions/Subroutines | |
subroutine, public | cell_clone (cell_in, cell_out, tag) |
Clone cell variable. | |
subroutine, public | cell_copy (cell_in, cell_out, tag) |
Copy cell variable. | |
subroutine, public | parse_cell_line (input_line, cell_itimes, cell_time, h, vol) |
Read cell info from a line (parsed from a file) | |
subroutine, public | get_cell (cell, alpha, beta, gamma, deth, orthorhombic, abc, periodic, h, h_inv, symmetry_id, tag) |
Get informations about a simulation cell. | |
real(kind=dp) function, public | plane_distance (h, k, l, cell) |
Calculate the distance between two lattice planes as defined by a triple of Miller indices (hkl). | |
subroutine, public | real_to_scaled (s, r, cell) |
Transform real to scaled cell coordinates. s=h_inv*r. | |
subroutine, public | scaled_to_real (r, s, cell) |
Transform scaled cell coordinates real coordinates. r=h*s. | |
subroutine, public | cell_retain (cell) |
retains the given cell (see doc/ReferenceCounting.html) | |
subroutine, public | cell_release (cell) |
releases the given cell (see doc/ReferenceCounting.html) | |
Variables | |
integer, parameter, public | cell_sym_none = 0 |
integer, parameter, public | cell_sym_triclinic = 1 |
integer, parameter, public | cell_sym_monoclinic = 2 |
integer, parameter, public | cell_sym_monoclinic_gamma_ab = 3 |
integer, parameter, public | cell_sym_orthorhombic = 4 |
integer, parameter, public | cell_sym_tetragonal_ab = 5 |
integer, parameter, public | cell_sym_tetragonal_ac = 6 |
integer, parameter, public | cell_sym_tetragonal_bc = 7 |
integer, parameter, public | cell_sym_rhombohedral = 8 |
integer, parameter, public | cell_sym_hexagonal_gamma_60 = 9 |
integer, parameter, public | cell_sym_hexagonal_gamma_120 = 10 |
integer, parameter, public | cell_sym_cubic = 11 |
integer, parameter, public | use_perd_x = 0 |
integer, parameter, public | use_perd_y = 1 |
integer, parameter, public | use_perd_z = 2 |
integer, parameter, public | use_perd_xy = 3 |
integer, parameter, public | use_perd_xz = 4 |
integer, parameter, public | use_perd_yz = 5 |
integer, parameter, public | use_perd_xyz = 6 |
integer, parameter, public | use_perd_none = 7 |
Handles all functions related to the CELL.
subroutine, public cell_types::cell_clone | ( | type(cell_type), pointer | cell_in, |
type(cell_type), pointer | cell_out, | ||
character(len=*), intent(in), optional | tag | ||
) |
Clone cell variable.
cell_in | Cell variable to be clone |
cell_out | Cloned cell variable |
tag | Optional new tag for cloned cell variable |
Definition at line 106 of file cell_types.F.
subroutine, public cell_types::cell_copy | ( | type(cell_type), pointer | cell_in, |
type(cell_type), pointer | cell_out, | ||
character(len=*), intent(in), optional | tag | ||
) |
Copy cell variable.
cell_in | Cell variable to be copied |
cell_out | Copy of cell variable |
tag | Optional new tag |
Definition at line 125 of file cell_types.F.
subroutine, public cell_types::parse_cell_line | ( | character(len=*), intent(in) | input_line, |
integer, intent(out) | cell_itimes, | ||
real(kind=dp), intent(out) | cell_time, | ||
real(kind=dp), dimension(3, 3), intent(out) | h, | ||
real(kind=dp), intent(out) | vol | ||
) |
Read cell info from a line (parsed from a file)
input_line | ... |
cell_itimes | ... |
cell_time | ... |
h | ... |
vol | ... |
Definition at line 155 of file cell_types.F.
subroutine, public cell_types::get_cell | ( | type(cell_type), pointer | cell, |
real(kind=dp), intent(out), optional | alpha, | ||
real(kind=dp), intent(out), optional | beta, | ||
real(kind=dp), intent(out), optional | gamma, | ||
real(kind=dp), intent(out), optional | deth, | ||
logical, intent(out), optional | orthorhombic, | ||
real(kind=dp), dimension(3), intent(out), optional | abc, | ||
integer, dimension(3), intent(out), optional | periodic, | ||
real(kind=dp), dimension(3, 3), intent(out), optional | h, | ||
real(kind=dp), dimension(3, 3), intent(out), optional | h_inv, | ||
integer, intent(out), optional | symmetry_id, | ||
character(len=*), intent(out), optional | tag | ||
) |
Get informations about a simulation cell.
cell | ... |
alpha | ... |
beta | ... |
gamma | ... |
deth | ... |
orthorhombic | ... |
abc | ... |
periodic | ... |
h | ... |
h_inv | ... |
symmetry_id | ... |
tag | ... |
Definition at line 193 of file cell_types.F.
real(kind=dp) function, public cell_types::plane_distance | ( | integer, intent(in) | h, |
integer, intent(in) | k, | ||
integer, intent(in) | l, | ||
type(cell_type), pointer | cell | ||
) |
Calculate the distance between two lattice planes as defined by a triple of Miller indices (hkl).
h | ... |
k | ... |
l | ... |
cell | ... |
Definition at line 251 of file cell_types.F.
subroutine, public cell_types::real_to_scaled | ( | real(kind=dp), dimension(3), intent(out) | s, |
real(kind=dp), dimension(3), intent(in) | r, | ||
type(cell_type), pointer | cell | ||
) |
Transform real to scaled cell coordinates. s=h_inv*r.
s | ... |
r | ... |
cell | ... |
Definition at line 485 of file cell_types.F.
subroutine, public cell_types::scaled_to_real | ( | real(kind=dp), dimension(3), intent(out) | r, |
real(kind=dp), dimension(3), intent(in) | s, | ||
type(cell_type), pointer | cell | ||
) |
Transform scaled cell coordinates real coordinates. r=h*s.
r | ... |
s | ... |
cell | ... |
Definition at line 515 of file cell_types.F.
subroutine, public cell_types::cell_retain | ( | type(cell_type), pointer | cell | ) |
retains the given cell (see doc/ReferenceCounting.html)
cell | the cell to retain |
Definition at line 541 of file cell_types.F.
subroutine, public cell_types::cell_release | ( | type(cell_type), pointer | cell | ) |
releases the given cell (see doc/ReferenceCounting.html)
cell | the cell to release |
Definition at line 558 of file cell_types.F.
integer, parameter, public cell_types::cell_sym_none = 0 |
Definition at line 29 of file cell_types.F.
integer, parameter, public cell_types::cell_sym_triclinic = 1 |
Definition at line 29 of file cell_types.F.
integer, parameter, public cell_types::cell_sym_monoclinic = 2 |
Definition at line 29 of file cell_types.F.
integer, parameter, public cell_types::cell_sym_monoclinic_gamma_ab = 3 |
Definition at line 29 of file cell_types.F.
integer, parameter, public cell_types::cell_sym_orthorhombic = 4 |
Definition at line 29 of file cell_types.F.
integer, parameter, public cell_types::cell_sym_tetragonal_ab = 5 |
Definition at line 29 of file cell_types.F.
integer, parameter, public cell_types::cell_sym_tetragonal_ac = 6 |
Definition at line 29 of file cell_types.F.
integer, parameter, public cell_types::cell_sym_tetragonal_bc = 7 |
Definition at line 29 of file cell_types.F.
integer, parameter, public cell_types::cell_sym_rhombohedral = 8 |
Definition at line 29 of file cell_types.F.
integer, parameter, public cell_types::cell_sym_hexagonal_gamma_60 = 9 |
Definition at line 29 of file cell_types.F.
integer, parameter, public cell_types::cell_sym_hexagonal_gamma_120 = 10 |
Definition at line 29 of file cell_types.F.
integer, parameter, public cell_types::cell_sym_cubic = 11 |
Definition at line 29 of file cell_types.F.
integer, parameter, public cell_types::use_perd_x = 0 |
Definition at line 42 of file cell_types.F.
integer, parameter, public cell_types::use_perd_y = 1 |
Definition at line 42 of file cell_types.F.
integer, parameter, public cell_types::use_perd_z = 2 |
Definition at line 42 of file cell_types.F.
integer, parameter, public cell_types::use_perd_xy = 3 |
Definition at line 42 of file cell_types.F.
integer, parameter, public cell_types::use_perd_xz = 4 |
Definition at line 42 of file cell_types.F.
integer, parameter, public cell_types::use_perd_yz = 5 |
Definition at line 42 of file cell_types.F.
integer, parameter, public cell_types::use_perd_xyz = 6 |
Definition at line 42 of file cell_types.F.
integer, parameter, public cell_types::use_perd_none = 7 |
Definition at line 42 of file cell_types.F.