From b2a186d918143f5a2c62b90152e39f72089dbb48 Mon Sep 17 00:00:00 2001 From: "Aaron M. Lattanzi" <103702284+AMLattanzi@users.noreply.github.com> Date: Mon, 28 Oct 2024 08:41:03 -0700 Subject: [PATCH] make chk file read/write public to avoid extended capture. (#1913) --- Source/ERF.H | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Source/ERF.H b/Source/ERF.H index f5b74e630..cafc46489 100644 --- a/Source/ERF.H +++ b/Source/ERF.H @@ -448,6 +448,15 @@ public: // more flexible version of AverageDown() that lets you average down across multiple levels void AverageDownTo (int crse_lev, int scomp, int ncomp); // NOLINT + // write checkpoint file to disk + void WriteCheckpointFile () const; + + // read checkpoint file from disk + void ReadCheckpointFile (); + + // read checkpoint file from disk -- called after instantiating m_most + void ReadCheckpointFileMOST (); + private: /////////////////////////// @@ -637,15 +646,6 @@ private: // Function to read and populate above vectors (if input file exists) void init_Dirichlet_bc_data (const std::string input_file); - // write checkpoint file to disk - void WriteCheckpointFile () const; - - // read checkpoint file from disk - void ReadCheckpointFile (); - - // read checkpoint file from disk -- called after instantiating m_most - void ReadCheckpointFileMOST (); - // Read the file passed to amr.restart and use it as an initial condition for // the current simulation. Supports a different number of components and // ghost cells.