Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public, | dimension(3, 2) | :: | BCs_global | |||
integer, | public, | dimension(3, 2) | :: | BCs | |||
type(geo_t), | public, | allocatable | :: | geo | |||
type(parallel_t), | public, | allocatable | :: | par |
Completely initialise the mesh object. Upon initialisation the mesh object can be read-only and shouldn't be edited Takes as argument global information about the mesh like its length, number of cells and decomposition in each direction
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in), | dimension(3) | :: | dims_global | ||
integer, | intent(in), | dimension(3) | :: | nproc_dir | ||
real(kind=dp), | intent(in), | dimension(3) | :: | L_global | ||
character(len=*), | intent(in), | dimension(2) | :: | BC_x | ||
character(len=*), | intent(in), | dimension(2) | :: | BC_y | ||
character(len=*), | intent(in), | dimension(2) | :: | BC_z |
Getter for local domain dimensions
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mesh_t), | intent(in) | :: | self | |||
integer, | intent(in) | :: | data_loc |
Getter for the number of groups for fields in direction dir
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mesh_t), | intent(in) | :: | self | |||
integer, | intent(in) | :: | dir |
Getter for the number of groups for fields phi
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mesh_t), | intent(in) | :: | self | |||
class(field_t), | intent(in) | :: | phi |
Getter for the number of groups for fields in direction dir
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mesh_t), | intent(in) | :: | self | |||
integer, | intent(in) | :: | dir |
Getter for the number of groups for fields phi
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mesh_t), | intent(in) | :: | self | |||
class(field_t), | intent(in) | :: | phi |
Getter for the dimensions of an array directed along dir
where data would be located on data_loc
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mesh_t), | intent(in) | :: | self | |||
integer, | intent(in) | :: | dir | |||
integer, | intent(in) | :: | data_loc |
Getter for the dimensions of field phi
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mesh_t), | intent(in) | :: | self | |||
class(field_t), | intent(in) | :: | phi |
Getter for the dimensions of field phi where data is located on data_loc
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mesh_t), | intent(in) | :: | self | |||
class(field_t), | intent(in) | :: | phi | |||
integer, | intent(in) | :: | data_loc |
Getter for the dimensions of an array directed along dir
where data would be located on data_loc
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mesh_t), | intent(in) | :: | self | |||
integer, | intent(in) | :: | dir | |||
integer, | intent(in) | :: | data_loc |
Getter for the dimensions of field phi
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mesh_t), | intent(in) | :: | self | |||
class(field_t), | intent(in) | :: | phi |
Getter for the dimensions of field phi where data is located on data_loc
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mesh_t), | intent(in) | :: | self | |||
class(field_t), | intent(in) | :: | phi | |||
integer, | intent(in) | :: | data_loc |
Getter for the main dimension a field oriented along dir
with data on data_loc
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mesh_t), | intent(in) | :: | self | |||
integer, | intent(in) | :: | dir | |||
integer, | intent(in) | :: | data_loc |
Getter for the main dimension a field oriented along dir
with data on data_loc
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mesh_t), | intent(in) | :: | self | |||
integer, | intent(in) | :: | dir | |||
integer, | intent(in) | :: | data_loc |
Getter for the main dimension of field phi
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mesh_t), | intent(in) | :: | self | |||
class(field_t), | intent(in) | :: | phi |
Getter for padded dimensions for field phi Gets the field direction from the field itself
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mesh_t), | intent(in) | :: | self | |||
class(field_t), | intent(in) | :: | phi |
Getter for padded dimensions with structure in dir
direction
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mesh_t), | intent(in) | :: | self | |||
integer, | intent(in) | :: | dir |
Getter for padded dimensions with structure in dir
direction
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mesh_t), | intent(in) | :: | self | |||
integer, | intent(in) | :: | dir |
Getter for padded dimensions for field phi Gets the field direction from the field itself
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mesh_t), | intent(in) | :: | self | |||
class(field_t), | intent(in) | :: | phi |
Get the physical location of a cell center with i,j,k local indices
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mesh_t), | intent(in) | :: | self | |||
integer, | intent(in) | :: | i | |||
integer, | intent(in) | :: | j | |||
integer, | intent(in) | :: | k |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mesh_t), | intent(inout) | :: | self | |||
integer, | intent(in), | dimension(3) | :: | vert_dims |