Initialises snapshots, creates dirpath
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(snapshot_t), | intent(inout) | :: | self |
Instance of the type |
||
| type(comm_handler_t), | intent(in) | :: | comm_handler |
MPI communicator |
||
| type(mesh_cart_t), | intent(in) | :: | mesh_cano |
Mesh (canonical) |
||
| type(mesh_cart_t), | intent(in) | :: | mesh_stag |
Mesh (staggered) |
||
| character(len=*), | intent(in) | :: | dirpath |
Directory, where snapshot files are written |
||
| integer, | intent(in) | :: | nvars |
Number of variables to be written |
||
| type(char_arr_t), | intent(in), | dimension(nvars) | :: | name_vars |
Names of variables |