|
GEOS
|
A class managing data exchange with CHOMBO. More...
#include <ChomboCoupler.hpp>
Public Member Functions | |
| ChomboCoupler (MPI_Comm const comm, const string &outputPath, const 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 32 of file ChomboCoupler.hpp.
| geos::ChomboCoupler::ChomboCoupler | ( | MPI_Comm const | comm, |
| const string & | outputPath, | ||
| const 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 geos::ChomboCoupler::read | ( | bool | usePressures | ) |
Read data from file.
| usePressures | If true, pressure are read in from file |
| void geos::ChomboCoupler::write | ( | double | dt | ) |
Write data to file.
| dt | the current time step. |