GEOSX
|
A class managing data exchange with CHOMBO. More...
#include <ChomboCoupler.hpp>
Public Member Functions | |
ChomboCoupler (MPI_Comm const comm, const std::string &outputPath, const std::string &inputPath, MeshLevel &mesh) | |
Construct a new ChomboCoupler. More... | |
void | write (double dt) |
Write data to file. More... | |
void | read (bool usePressures) |
Read data from file. More... | |
A class managing data exchange with CHOMBO.
Definition at line 31 of file ChomboCoupler.hpp.
geosx::ChomboCoupler::ChomboCoupler | ( | MPI_Comm const | comm, |
const std::string & | outputPath, | ||
const std::string & | inputPath, | ||
MeshLevel & | mesh | ||
) |
Construct a new ChomboCoupler.
comm | Communicator used in reading/writing from/to file. |
outputPath | filename The name of the file to write out to. |
inputPath | filename The name of the file to read from. |
mesh | The mesh to communicate. |
void geosx::ChomboCoupler::read | ( | bool | usePressures | ) |
Read data from file.
usePressures | If true, pressure are read in from file |
void geosx::ChomboCoupler::write | ( | double | dt | ) |
Write data to file.
dt | the current time step. |