1#ifndef included_AMP_MeshParameters
2#define included_AMP_MeshParameters
4#include "AMP/utils/AMP_MPI.h"
5#include "AMP/utils/Database.h"
52 std::shared_ptr<AMP::Database>
d_db =
nullptr;
Provides C++ wrapper around MPI routines.
virtual ~MeshParameters()
Deconstructor.
void setComm(const AMP::AMP_MPI &comm)
Set the comm for the mesh.
std::shared_ptr< AMP::Database > getDatabase()
Get the database for the mesh.
const AMP::AMP_MPI & getComm() const
Get the comm for the mesh.
MeshParameters()
Empty constructor.
int MAX_GCW_WIDTH
The maximum ghost cell width for the mesh.
AMP::AMP_MPI comm
The desired communicator.
std::shared_ptr< const AMP::Database > getDatabase() const
Get the database for the mesh.
MeshParameters(std::shared_ptr< AMP::Database > db)
Constructor to create the MeshParamaters from an AMP Database object.
std::shared_ptr< AMP::Database > d_db
A pointer to an AMP database containing the mesh info.
A class used to abstract away mesh from an application.