Define and manipulate data describing the discretization of space into connected finite-volume cells and surfaces
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | private, | parameter | :: | nlen | = | 80 |
----- Constructors -----
----- Constructors -----
Scans through numerous connectivities, ensuring that in each one, all faces & cells are referenced at least once.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(mesh), | intent(in) | :: | msh |
----- Constructors -----
Global constructor
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(mesh), | intent(out) | :: | msh | |||
| character(len=*), | intent(in) | :: | input_file | |||
| character(len=*), | intent(in) | :: | sec |
----- Constructors -----
----- Destructor -----
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(mesh), | intent(inout) | :: | msh |
----- Constructors -----
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(mesh), | intent(in) | :: | msh |
Encapsulate mesh connectivity, component parts, metrics, surfaces, and linear algebraic descriptors
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(vector), | public, | allocatable | :: | af(:) | |||
| real(kind=psb_dpk_), | public, | allocatable | :: | area(:) | |||
| type(connectivity), | public | :: | c2c | ||||
| type(connectivity), | public | :: | c2g | ||||
| type(keytable), | public | :: | c2ov_sup | ||||
| type(vector), | public, | allocatable | :: | cell_cntr(:) | |||
| type(cell), | public, | allocatable | :: | cells(:) | |||
| type(psb_desc_type), | public | :: | desc_c | ||||
| type(psb_desc_type), | public | :: | desc_f | ||||
| type(psb_desc_type), | public | :: | desc_v | ||||
| type(vector), | public, | allocatable | :: | df(:) | |||
| real(kind=psb_dpk_), | public, | allocatable | :: | dist(:) | |||
| type(connectivity), | public | :: | f2b | ||||
| type(connectivity), | public | :: | f2c | ||||
| type(connectivity), | public | :: | f2f | ||||
| type(keytable), | public | :: | f2ov_sup | ||||
| type(vector), | public, | allocatable | :: | face_cntr(:) | |||
| type(face), | public, | allocatable | :: | faces(:) | |||
| character(len=nlen), | public | :: | id | ||||
| real(kind=psb_dpk_), | public, | allocatable | :: | interp(:) | |||
| type(least_squares), | public, | allocatable | :: | lsr(:) | |||
| integer, | public | :: | nbc | ||||
| integer, | public | :: | ncd | ||||
| integer, | public | :: | ngp | ||||
| type(keytable), | public | :: | ov2c_sup | ||||
| type(keytable), | public | :: | ov2f_sup | ||||
| logical, | public | :: | set | = | .false. | ||
| type(surface), | public, | allocatable | :: | surf(:) | |||
| type(connectivity), | public | :: | v2b | ||||
| type(connectivity), | public | :: | v2c | ||||
| type(connectivity), | public | :: | v2f | ||||
| type(connectivity), | public | :: | v2v | ||||
| type(vertex), | public, | allocatable | :: | verts(:) | |||
| real(kind=psb_dpk_), | public, | allocatable | :: | vol(:) |
| procedure, public :: check_mesh_unused_el | Check routines |
| procedure, public :: create_mesh | Constructor |
| procedure, public :: free_mesh | Destructor |
| procedure, public :: get_units | |
| procedure, public :: mark_as_defined | |
| generic, public :: nemo_sizeof => nemo_mesh_sizeof | |
| procedure, public :: set_units | |
| procedure, public :: user_defined | |
| procedure, private :: nemo_mesh_sizeof |