OGS
CellAverageData.h
Go to the documentation of this file.
1
11
#pragma once
12
13
#include "
MeshLib/Mesh.h
"
14
#include "
MeshLib/PropertyVector.h
"
15
16
namespace
ProcessLib
17
{
18
struct
CellAverageData
19
{
20
explicit
CellAverageData
(
MeshLib::Mesh
& mesh) :
mesh_
{mesh} {}
21
22
MeshLib::PropertyVector<double>
&
getOrCreatePropertyVector
(
23
std::string
const
& name,
unsigned
const
num_comp);
24
25
private
:
26
MeshLib::Mesh
const
&
mesh_
;
27
std::map<std::string, MeshLib::PropertyVector<double>*>
cell_averages_
;
28
};
29
}
// namespace ProcessLib
Mesh.h
Definition of the Mesh class.
PropertyVector.h
MeshLib::Mesh
Definition
Mesh.h:43
MeshLib::PropertyVector
Definition
TwoPhaseFlowWithPrhoMaterialProperties.h:28
ProcessLib
Definition
ProjectData.h:51
ProcessLib::CellAverageData
Definition
CellAverageData.h:19
ProcessLib::CellAverageData::mesh_
MeshLib::Mesh const & mesh_
Definition
CellAverageData.h:26
ProcessLib::CellAverageData::getOrCreatePropertyVector
MeshLib::PropertyVector< double > & getOrCreatePropertyVector(std::string const &name, unsigned const num_comp)
Definition
CellAverageData.cpp:17
ProcessLib::CellAverageData::cell_averages_
std::map< std::string, MeshLib::PropertyVector< double > * > cell_averages_
Definition
CellAverageData.h:27
ProcessLib::CellAverageData::CellAverageData
CellAverageData(MeshLib::Mesh &mesh)
Definition
CellAverageData.h:20
ProcessLib
Output
CellAverageData.h
Generated by
1.12.0