A utility that writes SILO data.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| character(len=:), | public, | allocatable | :: | access_flag |
Access flag |
||
| character(len=5), | public | :: | dirname |
Name of directory within group file |
|||
| integer(kind=leapI4), | public | :: | fid_DAT |
File identifier for silo group files |
|||
| integer(kind=leapI4), | public | :: | fid_VDB |
File identifier for silo VDB files |
|||
| integer(kind=leapI4), | public | :: | fid_VisIt |
File identifier for VisIt file |
|||
| character(len=str64), | public | :: | filename |
Base name |
|||
| character(len=str64), | public | :: | filepath |
Path to VDB and group files |
|||
| integer, | public, | allocatable | :: | group_ids(:) |
ID for silo groups |
||
| integer, | public | :: | nproc_node |
Number of procs per silo |
|||
| type(parallel_obj), | public, | pointer | :: | parallel | => | null() |
Associated parallel structure |
| type(MPI_Comm), | public | :: | silo_comm |
MPI communication for SILO tasks |
|||
| integer, | public | :: | silo_rank |
SILO task's rank in the SILO MPI communicator |
|||
| character(len=str64), | public | :: | siloname |
Name of silo group file |
|||
| character(len=str64), | public | :: | vdbname |
Name of silo VDB file |
|||
| character(len=str64), | public | :: | visitname |
Name of VisIt file |
Sets up silo groups for poor man's IO. Splits MPI ranks into groups of size nproc_node. Each group writes squentially to its own file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(silo_obj), | intent(inout) | :: | this |
A silo object |
Finalizes structure and frees memory.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(silo_obj), | intent(inout) | :: | this |
A silo object |
Initialize structure.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(silo_obj), | intent(inout) | :: | this |
A silo object |
||
| character(len=*), | intent(in) | :: | filename |
File to read/write |
||
| character(len=*), | intent(in) | :: | access_flag |
File access mode |
||
| type(parallel_obj), | intent(in), | target | :: | parallel |
Parallel structure to link with |
|
| integer, | intent(in), | optional | :: | nproc_node |
Number of procs per silo |
Creates a new Silo virtual data base (VDB) for this timestep.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(silo_obj), | intent(inout) | :: | this |
A silo object |
||
| real(kind=wp), | intent(in) | :: | time |
Time value for this time step |
Creates silo files and their internal structure.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(silo_obj), | intent(inout) | :: | this |
A silo object |
||
| character(len=*), | intent(in) | :: | flag |
IO flag |
Writes 1D array to a hdf5 file with silo.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(silo_obj), | intent(inout) | :: | this |
A silo object |
||
| character(len=*), | intent(in) | :: | name |
Variable name |
||
| class(*), | intent(in) | :: | array(:) |
3-D data array |
Writes Eulerian/3D data to a hdf5 file with silo.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(silo_obj), | intent(inout) | :: | this |
A silo object |
||
| character(len=*), | intent(in) | :: | name |
Variable name |
||
| character(len=*), | intent(in) | :: | mesh_name |
Mesh name |
||
| class(*), | intent(in) | :: | array(:,:,:) |
3-D data array |
Writes grid attributes.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(silo_obj), | intent(inout) | :: | this |
A silo object |
||
| character(len=*), | intent(in) | :: | mesh_name |
Mesh name |
||
| real(kind=wp), | intent(in) | :: | x1(:) |
x1-axis |
||
| real(kind=wp), | intent(in) | :: | x2(:) |
x2-axis |
||
| real(kind=wp), | intent(in) | :: | x3(:) |
x3-axis |
||
| integer, | intent(in) | :: | iter |
Iteration at write |
||
| real(kind=wp), | intent(in) | :: | time |
Time at write |
Writes Lagrangian mesh attributes.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(silo_obj), | intent(inout) | :: | this |
A silo object |
||
| real(kind=wp), | intent(in) | :: | x1(:) |
x1-coordinates |
||
| real(kind=wp), | intent(in) | :: | x2(:) |
x2-coordinates |
||
| real(kind=wp), | intent(in) | :: | x3(:) |
x3-coordinates |
||
| integer, | intent(in) | :: | iter |
Iteration at write |
||
| real(kind=wp), | intent(in) | :: | time |
Time at write |
Writes 1D array to a hdf5 file with silo.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(silo_obj), | intent(inout) | :: | this |
A silo object |
||
| character(len=*), | intent(in) | :: | name |
Variable name |
||
| class(*), | intent(in) | :: | array(:) |
3-D data array |
Writes Eulerian/3D data to a hdf5 file with silo.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(silo_obj), | intent(inout) | :: | this |
A silo object |
||
| character(len=*), | intent(in) | :: | name |
Variable name |
||
| character(len=*), | intent(in) | :: | mesh_name |
Mesh name |
||
| class(*), | intent(in) | :: | array(:,:,:) |
3-D data array |