GEOSX
Public Member Functions | List of all members
geos::ChomboCoupler Class Reference

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...
 

Detailed Description

A class managing data exchange with CHOMBO.

Definition at line 31 of file ChomboCoupler.hpp.

Constructor & Destructor Documentation

◆ ChomboCoupler()

geos::ChomboCoupler::ChomboCoupler ( MPI_Comm const  comm,
const string outputPath,
const string inputPath,
MeshLevel mesh 
)

Construct a new ChomboCoupler.

Parameters
commCommunicator used in reading/writing from/to file.
outputPathfilename The name of the file to write out to.
inputPathfilename The name of the file to read from.
meshThe mesh to communicate.

Member Function Documentation

◆ read()

void geos::ChomboCoupler::read ( bool  usePressures)

Read data from file.

Parameters
usePressuresIf true, pressure are read in from file

◆ write()

void geos::ChomboCoupler::write ( double  dt)

Write data to file.

Parameters
dtthe current time step.

The documentation for this class was generated from the following file: