encapsulate the grid specification for a cylinder_2D object
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(json_file), | private | :: | grid_specification | ||||
type(block_metadata), | private, | dimension(:,:,:), allocatable | :: | metadata | |||
character(len=:), | private, | allocatable | :: | units_system |
template method pattern for building a geometry description from a json_file
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(geometry), | intent(out) | :: | this | |||
character(len=*), | intent(in) | :: | grid_description_file |
result is the spatial subdomain for the grid block with the given indicial_coordinates
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(cylinder_2d), | intent(in) | :: | this | |||
integer, | dimension(space_dimension) | :: | indicial_coordinates |
result is the block_metadata component for all blocks
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(cylinder_2d), | intent(in) | :: | this |
define the shape of the array of grid blocks
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(cylinder_2d), | intent(in) | :: | this |
result is the block_metadata component for the block with the given indicial_coordinates
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(cylinder_2d), | intent(in) | :: | this | |||
integer, | dimension(space_dimension) | :: | indicial_coordinates |
read grid metadata from json_file stored in child class
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(cylinder_2d), | intent(inout) | :: | this |
define json_file problem description
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(cylinder_2d), | intent(out) | :: | this | |||
character(len=*), | intent(in) | :: | grid_description_file |