derived class for compound of mesh arrays More...
Data Types | |
type | compound_item |
interface | marray_compound |
data types and methods More... | |
Functions/Subroutines | |
type(marray_compound) function | createmarray_compound (n) |
constructor for compound of mesh arrays More... | |
logical function | assignpointers (this) |
assign pointers of different shapes to the 1D data More... | |
subroutine | assignmarray_0 (this, ma) |
assigns one compound of mesh arrays to another compound of mesh arrays More... | |
logical function | shapesmatch (this, ma) |
logical function | appendmarray (this, ma) |
type(compound_item) function, pointer | firstitem (this) |
get the first item from the list of compound elements More... | |
type(compound_item) function, pointer | lastitem (this) |
get the last item from the list of compound elements More... | |
type(compound_item) function, pointer | nextitem (this, item) |
get the next item from the list of compound elements More... | |
type(marray_base) function, pointer | getitem (this, list_entry) |
get pointer to the mesh array from a given item More... | |
subroutine | appenditem (this, ma) |
append an item to the list of compound elements More... | |
logical function | assignitempointers (this) |
subroutine | destroy (this, called_from_finalize) |
manual destructor of compounds ATTENTION: the data array itself is deallocated by the inherited finalizer More... | |
subroutine | finalize (this) |
automatic destructor of compounds More... | |
Detailed Description
derived class for compound of mesh arrays
- Todo:
- improve error handling for compound arrays
Function/Subroutine Documentation
◆ appenditem()
|
private |
append an item to the list of compound elements
Definition at line 443 of file marray_compound.f90.
◆ appendmarray()
|
private |
Definition at line 275 of file marray_compound.f90.
◆ assignitempointers()
|
private |
Definition at line 491 of file marray_compound.f90.
◆ assignmarray_0()
|
private |
assigns one compound of mesh arrays to another compound of mesh arrays
Definition at line 118 of file marray_compound.f90.
◆ assignpointers()
logical function marray_compound_mod::assignpointers | ( | class(marray_compound), intent(inout) | this | ) |
assign pointers of different shapes to the 1D data
Definition at line 103 of file marray_compound.f90.
◆ createmarray_compound()
|
private |
constructor for compound of mesh arrays
There exist two types of compounds differing by their rank:
- rank 0 compounds are associated with rank 1 mesh arrays; hence they basically store one vector of arbitrary dimension in each cell and are mostly used for cell center data
- rank 1 compounds are associated with rank 2 mesh arrays; they store an arbitrary number of vectors of arbitrary dimension in each cell and are mostly used for cell face data
Definition at line 80 of file marray_compound.f90.

◆ destroy()
|
private |
manual destructor of compounds ATTENTION: the data array itself is deallocated by the inherited finalizer
Definition at line 522 of file marray_compound.f90.
◆ finalize()
|
private |
automatic destructor of compounds
Definition at line 561 of file marray_compound.f90.
◆ firstitem()
|
private |
get the first item from the list of compound elements
Definition at line 394 of file marray_compound.f90.
◆ getitem()
|
private |
get pointer to the mesh array from a given item
Definition at line 432 of file marray_compound.f90.
◆ lastitem()
|
private |
get the last item from the list of compound elements
Definition at line 404 of file marray_compound.f90.
◆ nextitem()
|
private |
get the next item from the list of compound elements
Definition at line 418 of file marray_compound.f90.
◆ shapesmatch()
|
private |
Definition at line 232 of file marray_compound.f90.