One element set: its sub-mesh, geometry and model. The mesh and geometry live on the heap so the pointers the model stores to them stay valid.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public | :: | comm | = | MPI_COMM_NULL | ||
| type(SEMHex), | public, | pointer | :: | geometry | => | null() | Duplicate of the global mesh communicator, used by this set's decomposition. Owned by the parent and freed after the sub-mesh. |
| type(Mesh3D), | public, | pointer | :: | mesh | => | null() | |
| class(DGModel3D), | public, | allocatable | :: | model |
type ElementSet3D
!! One element set: its sub-mesh, geometry and model. The mesh and geometry live on
!! the heap so the pointers the model stores to them stay valid.
class(DGModel3D),allocatable :: model
type(Mesh3D),pointer :: mesh => null()
type(SEMHex),pointer :: geometry => null()
!! Duplicate of the global mesh communicator, used by this set's decomposition.
!! Owned by the parent and freed after the sub-mesh.
integer :: comm = MPI_COMM_NULL
endtype ElementSet3D