Loading [MathJax]/extensions/tex2jax.js
OGS
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
x
z
Enumerations
b
c
d
e
f
g
i
l
m
n
o
p
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
l
m
n
p
r
s
t
v
y
Classes
Class List
Class Index
Class Hierarchy
Files
File List
File Members
All
a
b
c
d
e
f
g
i
k
m
n
o
p
r
s
t
v
w
x
Functions
a
c
d
e
f
g
i
m
o
p
r
s
t
v
w
Variables
Typedefs
Enumerations
Macros
b
c
g
m
n
o
p
r
s
t
▼
OGS
►
OpenGeoSys 6.5.4-352-gf10a2b326e source code documentation
►
OGS CTests—Project Files
►
OGS Input File Parameters—Quality Assurance
►
OGS Input File Parameters
BulkMappingDocuPage
Todo List
OGS Input File Parameters—List of incomplete documentation pages
Bibliography
►
Namespaces
►
Classes
▼
Files
▼
File List
►
Applications
►
BaseLib
►
build
►
ChemistryLib
Documentation
►
GeoLib
►
InfoLib
▼
MaterialLib
►
Adsorption
►
Fluid
►
FractureModels
▼
MPL
►
Components
►
Properties
►
Utils
►
CheckMaterialSpatialDistributionMap.h
►
Component.cpp
►
Component.h
►
CreateComponent.cpp
►
CreateComponent.h
►
CreateMaterialSpatialDistributionMap.cpp
►
CreateMaterialSpatialDistributionMap.h
►
CreateMedium.cpp
►
CreateMedium.h
►
CreatePhase.cpp
►
CreatePhase.h
►
CreateProperty.cpp
►
CreateProperty.h
MaterialSpatialDistributionMap.cpp
►
MaterialSpatialDistributionMap.h
►
Medium.cpp
►
Medium.h
►
Phase.cpp
►
Phase.h
►
Property.cpp
►
Property.h
►
PropertyType.cpp
►
PropertyType.h
►
VariableType.cpp
►
VariableType.h
►
PorousMedium
►
SolidModels
►
Utils
►
PhysicalConstant.h
►
MathLib
►
MeshGeoToolsLib
►
MeshLib
►
MeshToolsLib
►
NumLib
►
ParameterLib
►
ProcessLib
►
File Members
MaterialSpatialDistributionMap.h
Go to the documentation of this file.
1
12
#pragma once
13
14
#include <map>
15
#include <memory>
16
#include <range/v3/view.hpp>
17
#include <vector>
18
19
namespace
MeshLib
20
{
21
template
<
typename
PROP_VAL_TYPE>
22
class
PropertyVector;
23
}
// namespace MeshLib
24
25
namespace
MaterialPropertyLib
26
{
27
class
Medium;
28
29
class
MaterialSpatialDistributionMap
30
{
31
public
:
32
MaterialSpatialDistributionMap
(
33
std::map<
int
, std::shared_ptr<Medium>>
const
&
media
,
34
MeshLib::PropertyVector<int>
const
*
const
material_ids)
35
:
media_
(
media
),
material_ids_
(material_ids)
36
{
37
}
32
MaterialSpatialDistributionMap
( {
…
}
38
39
auto
media
()
const
{
return
media_
| ranges::views::values; }
40
41
Medium
*
getMedium
(std::size_t element_id);
42
Medium
const
*
getMedium
(std::size_t element_id)
const
;
43
void
checkElementHasMedium
(std::size_t
const
element_id)
const
;
44
45
private
:
46
std::map<int, std::shared_ptr<Medium>>
const
&
media_
;
47
MeshLib::PropertyVector<int>
const
*
const
material_ids_
;
48
};
29
class
MaterialSpatialDistributionMap
{
…
};
49
}
// namespace MaterialPropertyLib
MaterialPropertyLib::MaterialSpatialDistributionMap
Definition
MaterialSpatialDistributionMap.h:30
MaterialPropertyLib::MaterialSpatialDistributionMap::media
auto media() const
Definition
MaterialSpatialDistributionMap.h:39
MaterialPropertyLib::MaterialSpatialDistributionMap::checkElementHasMedium
void checkElementHasMedium(std::size_t const element_id) const
Definition
MaterialSpatialDistributionMap.cpp:68
MaterialPropertyLib::MaterialSpatialDistributionMap::material_ids_
MeshLib::PropertyVector< int > const *const material_ids_
Definition
MaterialSpatialDistributionMap.h:47
MaterialPropertyLib::MaterialSpatialDistributionMap::getMedium
Medium * getMedium(std::size_t element_id)
Definition
MaterialSpatialDistributionMap.cpp:23
MaterialPropertyLib::MaterialSpatialDistributionMap::media_
std::map< int, std::shared_ptr< Medium > > const & media_
Definition
MaterialSpatialDistributionMap.h:46
MaterialPropertyLib::MaterialSpatialDistributionMap::MaterialSpatialDistributionMap
MaterialSpatialDistributionMap(std::map< int, std::shared_ptr< Medium > > const &media, MeshLib::PropertyVector< int > const *const material_ids)
Definition
MaterialSpatialDistributionMap.h:32
MaterialPropertyLib::Medium
Definition
Medium.h:32
MeshLib::PropertyVector
Definition
TwoPhaseFlowWithPrhoMaterialProperties.h:28
MaterialPropertyLib
Definition
ChemicalSolverInterface.h:21
MeshLib
Definition
ProjectData.h:41
MaterialLib
MPL
MaterialSpatialDistributionMap.h
Generated by
1.11.0