OGS
NonLinearFbar.cpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#include "NonLinearFbar.h"
5
6namespace ProcessLib
7{
8namespace NonLinearFbar
9{
10
12 std::string_view const bar_det_f_type_name)
13{
14 if (boost::iequals(bar_det_f_type_name, "element_center_value"))
15 {
16 INFO(
17 "Use F bar method with the element center value of F for the "
18 "det(F) modification.");
20 }
21 if (boost::iequals(bar_det_f_type_name, "element_average"))
22 {
23 INFO(
24 "Use F bar method with the element average of F for the det(F) "
25 "modification.");
27 }
28
29 return BarDetFType::NONE;
30}
31} // namespace NonLinearFbar
32} // namespace ProcessLib
void INFO(fmt::format_string< Args... > fmt, Args &&... args)
Definition Logging.h:28
BarDetFType convertStringToDetFBarType(std::string_view const bar_det_f_type_name)