Loading [MathJax]/extensions/tex2jax.js
OGS
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
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
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
Typedefs
b
c
e
f
h
j
k
l
m
n
p
q
r
s
t
v
w
x
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
h
i
k
l
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
x
Variables
Typedefs
Enumerations
Macros
a
b
c
e
g
h
i
l
m
n
o
p
r
s
t
v
w
x
CreateSaturationDependentThermalConductivity.cpp
Go to the documentation of this file.
1
10
#include "
BaseLib/ConfigTree.h
"
11
#include "
SaturationDependentThermalConductivity.h
"
12
13
namespace
MaterialPropertyLib
14
{
15
std::unique_ptr<SaturationDependentThermalConductivity>
16
createSaturationDependentThermalConductivity
(
BaseLib::ConfigTree
const
& config)
17
{
19
config.
checkConfigParameter
(
"type"
,
20
"SaturationDependentThermalConductivity"
);
21
22
// Second access for storage.
24
auto
property_name = config.
peekConfigParameter
<std::string>(
"name"
);
25
26
DBUG
(
"Create saturation dependent thermal_conductivity property {:s}."
,
27
property_name);
28
29
auto
const
K_dry =
31
config.
getConfigParameter
<
double
>(
"dry"
);
32
33
auto
const
K_wet =
35
config.
getConfigParameter
<
double
>(
"wet"
);
36
37
return
std::make_unique<
38
MaterialPropertyLib::SaturationDependentThermalConductivity
>(
39
std::move(property_name), K_dry, K_wet);
40
}
41
}
// namespace MaterialPropertyLib
ConfigTree.h
DBUG
void DBUG(char const *fmt, Args const &... args)
Definition:
Logging.h:27
SaturationDependentThermalConductivity.h
BaseLib::ConfigTree
Definition:
ConfigTree.h:103
BaseLib::ConfigTree::peekConfigParameter
T peekConfigParameter(std::string const ¶m) const
Definition:
ConfigTree-impl.h:124
BaseLib::ConfigTree::checkConfigParameter
void checkConfigParameter(std::string const ¶m, T const &value) const
Definition:
ConfigTree-impl.h:147
BaseLib::ConfigTree::getConfigParameter
T getConfigParameter(std::string const ¶m) const
Definition:
ConfigTree-impl.h:39
MaterialPropertyLib::SaturationDependentThermalConductivity
Definition:
SaturationDependentThermalConductivity.h:21
MaterialPropertyLib
Definition:
ChemicalSolverInterface.h:17
MaterialPropertyLib::createSaturationDependentThermalConductivity
std::unique_ptr< SaturationDependentThermalConductivity > createSaturationDependentThermalConductivity(BaseLib::ConfigTree const &config)
Definition:
CreateSaturationDependentThermalConductivity.cpp:16
MaterialLib
MPL
Properties
CreateSaturationDependentThermalConductivity.cpp
Generated by
1.9.1