Skip to content

Commit

Permalink
make chk file read/write public to avoid extended capture.
Browse files Browse the repository at this point in the history
  • Loading branch information
AMLattanzi committed Oct 28, 2024
1 parent 20b5be0 commit 4692f81
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Source/ERF.H
Original file line number Diff line number Diff line change
Expand Up @@ -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:

///////////////////////////
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 4692f81

Please sign in to comment.