12class MeshConfiguration
15 MeshConfiguration() : m_mesh(
nullptr), m_nCells(0), m_volume(
nullptr),
16 m_totalVolume(0.0), m_delta(
nullptr){}
18 Foam::fvMesh& get_mesh()
const {
return *m_mesh; }
19 const Foam::label& get_nCells()
const {
return m_nCells; }
21 Foam::volScalarField& get_volume()
const {
return *m_volume; }
22 const double& get_totalVolume()
const {
return m_totalVolume; }
23 const Foam::volScalarField& get_delta()
const {
return *m_delta; }
25 void set_mesh(Foam::fvMesh* m) { m_mesh = m; }
26 void set_nCells(Foam::label n) { m_nCells = n; }
27 void set_volume(Foam::volScalarField* v) { m_volume = v; }
28 void set_totalVolume(
double tv) { m_totalVolume = tv; }
29 void set_delta(Foam::volScalarField* d) { m_delta = d; }
34 Foam::volScalarField* m_volume;
36 Foam::volScalarField* m_delta;