OGS
NonLinearFbar.cpp
Go to the documentation of this file.
1
12
#include "
NonLinearFbar.h
"
13
14
namespace
ProcessLib
15
{
16
namespace
NonLinearFbar
17
{
18
19
BarDetFType
convertStringToDetFBarType
(
20
std::string_view
const
bar_det_f_type_name)
21
{
22
if
(boost::iequals(bar_det_f_type_name,
"element_center_value"
))
23
{
24
INFO
(
25
"Use F bar method with the element center value of F for the "
26
"det(F) modification."
);
27
return
BarDetFType::ELEMENT_CENTER_VALUE
;
28
}
29
if
(boost::iequals(bar_det_f_type_name,
"element_average"
))
30
{
31
INFO
(
32
"Use F bar method with the element average of F for the det(F) "
33
"modification."
);
34
return
BarDetFType::ELEMENT_AVERAGE
;
35
}
36
37
return
BarDetFType::NONE
;
38
}
39
}
// namespace NonLinearFbar
40
}
// namespace ProcessLib
INFO
void INFO(fmt::format_string< Args... > fmt, Args &&... args)
Definition
Logging.h:35
NonLinearFbar.h
ProcessLib::NonLinearFbar::convertStringToDetFBarType
BarDetFType convertStringToDetFBarType(std::string_view const bar_det_f_type_name)
Definition
NonLinearFbar.cpp:19
ProcessLib::NonLinearFbar::BarDetFType
BarDetFType
Definition
NonLinearFbar.h:32
ProcessLib::NonLinearFbar::BarDetFType::ELEMENT_CENTER_VALUE
@ ELEMENT_CENTER_VALUE
ProcessLib::NonLinearFbar::BarDetFType::NONE
@ NONE
ProcessLib::NonLinearFbar::BarDetFType::ELEMENT_AVERAGE
@ ELEMENT_AVERAGE
ProcessLib
Definition
ProjectData.h:51
ProcessLib
Deformation
NonLinearFbar.cpp
Generated by
1.12.0