-----------------------------------------------------------------------------
| 18 | |
| 19 | //----------------------------------------------------------------------------- |
| 20 | ADIOS2Writer::ADIOS2Writer(MPI_Comm comm, const std::filesystem::path& filename, |
| 21 | std::string tag, std::string engine) |
| 22 | : _adios(std::make_unique<adios2::ADIOS>(comm)), |
| 23 | _io(std::make_unique<adios2::IO>(_adios->DeclareIO(std::move(tag)))) |
| 24 | { |
| 25 | _io->SetEngine(std::move(engine)); |
| 26 | _engine = std::make_unique<adios2::Engine>( |
| 27 | _io->Open(filename, adios2::Mode::Write)); |
| 28 | } |
| 29 | //----------------------------------------------------------------------------- |
| 30 | ADIOS2Writer::~ADIOS2Writer() { close(); } |
| 31 | //----------------------------------------------------------------------------- |
nothing calls this directly
no outgoing calls
no test coverage detected