| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(comm_handler_t), | intent(in) | :: | comm_handler |
Communication handler |
||
| character(len=*), | intent(in), | optional | :: | dirname |
Directory, where snapshots files will be read |
|
| character(len=*), | intent(in), | optional | :: | filename |
Filename, where state is read. The filename excludes the directory name, i.e. the final path is dirname/filename |
Reads state from netcdf file
If filename is not present, it reads last from snaps_<isnaps>.nc with last available isnaps
and sets isnaps to this value
If filename is present it reads from this file and sets isnaps to 0