A collection of eulerian objects
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(block_obj), | public, | pointer | :: | block | => | null() |
Associated block structure |
type(eulerian_ptr), | public, | allocatable | :: | field(:) |
A collection of Eulerian objects |
||
logical, | public | :: | overwrite | = | .true. |
Switch to overwrite IO files |
|
type(parallel_obj), | public, | pointer | :: | parallel | => | null() |
Associated parallel structure |
character(len=str64), | public | :: | read_file |
file to read |
|||
character(len=str64), | public | :: | write_file |
file to write |
|||
type(hashtbl_obj), | private | :: | tbl |
Hash table |
Add a new element to a collection of Eulerian objects
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(eulerian_set), | intent(inout) | :: | this |
A collection of Eulerian objects |
||
character(len=*), | intent(in) | :: | name |
Name of variable |
||
integer, | intent(in) | :: | stag |
Staggering |
||
class(eulerian_obj_base), | intent(inout), | target | :: | obj |
Eulerian obj to link and initialize |
Finalize structure
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(eulerian_set), | intent(inout) | :: | this |
A collection of Eulerian objects |
Returns the index of an Eulerian_obj contained in this%fields given its name.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(eulerian_set), | intent(inout) | :: | this |
A collection of Eulerian objects |
||
character(len=*), | intent(in) | :: | name |
Name of the field |
Return the base name of file to write
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(eulerian_set), | intent(inout) | :: | this |
A collection of Eulerian objects |
Name of file
Return the base name of file to write
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(eulerian_set), | intent(inout) | :: | this |
A collection of Eulerian objects |
Name of file
Print info about this collection of eulerian objects
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(eulerian_set), | intent(inout) | :: | this |
A collection of Eulerian objects |
Initialize a collection of Eulerian objects
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(eulerian_set), | intent(inout) | :: | this |
A collection of Eulerian objects |
||
type(block_obj), | intent(in), | target | :: | block |
A block object |
|
type(parallel_obj), | intent(in), | target | :: | parallel |
parallel structure from main program |
Read Eulerian data
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(eulerian_set), | intent(inout) | :: | this |
A collection of Eulerian objects |
||
integer, | intent(out) | :: | iter |
Iteration at write |
||
real(kind=wp), | intent(out) | :: | time |
Time at write |
||
character(len=str8), | intent(in), | optional | :: | list(:) |
Names of fields to write |
Read all Eulerian objects in file
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(eulerian_set), | intent(inout) | :: | this |
A collection of Eulerian objects |
||
type(ngadata_obj), | intent(inout) | :: | ngadata |
NGAdata structure |
Read Eulerian data using MPI binary file tools
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(eulerian_set), | intent(inout) | :: | this |
A collection of Eulerian objects |
||
integer, | intent(out) | :: | iter |
Iteration at write |
||
real(kind=wp), | intent(out) | :: | time |
Time at write |
Read one Eulerian object based on name
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(eulerian_set), | intent(inout) | :: | this |
A collection of Eulerian objects |
||
type(h5hut_obj), | intent(inout) | :: | h5 |
H5hut structure |
||
integer, | intent(in) | :: | ind |
Index of Eulerian object |
Set file overwritting
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(eulerian_set), | intent(inout) | :: | this |
A collection of Eulerian objects |
||
logical, | intent(in) | :: | overwrite |
Name of file |
Set the base name of file to read
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(eulerian_set), | intent(inout) | :: | this |
A collection of Eulerian objects |
||
character(len=*), | intent(in) | :: | name |
Name of file |
Set the base name of file to write
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(eulerian_set), | intent(inout) | :: | this |
A collection of Eulerian objects |
||
character(len=*), | intent(in) | :: | name |
Name of file |
Write Eulerian data
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(eulerian_set), | intent(inout) | :: | this |
A collection of Eulerian objects |
||
integer, | intent(in) | :: | iter |
Iteration at write |
||
real(kind=wp), | intent(in) | :: | time |
Time at write |
||
character(len=str8), | intent(in), | optional | :: | list(:) |
Names of fields to write |
Write Eulerian data using SILO
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(eulerian_set), | intent(inout) | :: | this |
A collection of Eulerian objects |
||
integer, | intent(in) | :: | iter |
Iteration at write |
||
real(kind=wp), | intent(in) | :: | time |
Time at write |
||
character(len=str8), | intent(in), | optional | :: | list(:) |
Names of fields to write |
Write a single Eulerian object to file
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(eulerian_set), | intent(inout) | :: | this |
A collection of Eulerian objects |
||
type(h5hut_obj), | intent(inout) | :: | h5 |
H5hut structure |
||
integer, | intent(in) | :: | ind |
Index of Eulerian object |
Write a single Eulerian objects to file using SILO
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(eulerian_set), | intent(inout) | :: | this |
A collection of Eulerian objects |
||
type(silo_obj), | intent(inout) | :: | silo |
Silo structure |
||
integer, | intent(in) | :: | ind |
Index of Eulerian object |