From 76f018ffcd1bd0b90bd5b0af498c3f282e37d8c9 Mon Sep 17 00:00:00 2001 From: ampdes Date: Tue, 9 Jul 2024 16:47:17 +0200 Subject: [PATCH] Include headers in demo --- cpp/demo/checkpointing/main.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cpp/demo/checkpointing/main.cpp b/cpp/demo/checkpointing/main.cpp index 175730b34f6..4711b842d82 100644 --- a/cpp/demo/checkpointing/main.cpp +++ b/cpp/demo/checkpointing/main.cpp @@ -1,10 +1,14 @@ // # Checkpointing // +#include #include +#include +#include #include using namespace dolfinx; +using namespace dolfinx::io::ADIOS2Engine; int main(int argc, char* argv[]) { @@ -23,7 +27,7 @@ int main(int argc, char* argv[]) MPI_COMM_WORLD, {{{0.0, 0.0}, {1.0, 1.0}}}, {4, 4}, mesh::CellType::quadrilateral, part)); - auto writer = io::ADIOS2Engine(mesh->comm(), "mesh.bp", "mesh-write", "BP5", + auto writer = ADIOS2Engine(mesh->comm(), "mesh.bp", "mesh-write", "BP5", adios2::Mode::Write); // auto io = writer.io();