| 21 | } |
| 22 | |
| 23 | void ADIOSFinalize() { |
| 24 | if (adios == nullptr) { |
| 25 | throw BoutException( |
| 26 | "ADIOS needs to be initialized first before calling ADIOSFinalize()"); |
| 27 | } |
| 28 | adiosStreams.clear(); |
| 29 | adios.reset(); |
| 30 | } |
| 31 | |
| 32 | ADIOSPtr GetADIOSPtr() { |
| 33 | if (adios == nullptr) { |
no test coverage detected