GEOS
coreComponents
physicsSolvers
fluidFlow
FlowSolverUtilities.hpp
Go to the documentation of this file.
1
/*
2
* ------------------------------------------------------------------------------------------------------------
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*
5
* Copyright (c) 2016-2024 Lawrence Livermore National Security LLC
6
* Copyright (c) 2018-2024 TotalEnergies
7
* Copyright (c) 2018-2024 The Board of Trustees of the Leland Stanford Junior University
8
* Copyright (c) 2023-2024 Chevron
9
* Copyright (c) 2019- GEOS/GEOSX Contributors
10
* All rights reserved
11
*
12
* See top level LICENSE, COPYRIGHT, CONTRIBUTORS, NOTICE, and ACKNOWLEDGEMENTS files for details.
13
* ------------------------------------------------------------------------------------------------------------
14
*/
15
20
#ifndef GEOS_PHYSICSSOLVERS_FLUIDFLOW_FLOWSOLVERUTILITIES_HPP_
21
#define GEOS_PHYSICSSOLVERS_FLUIDFLOW_FLOWSOLVERUTILITIES_HPP_
22
23
#include "
common/DataTypes.hpp
"
24
#include "
common/format/EnumStrings.hpp
"
25
26
namespace
geos
27
{
28
29
namespace
flowSolverUtilities
30
{
31
35
enum class
ScalingType
:
integer
36
{
37
Global
,
38
Local
39
};
40
41
ENUM_STRINGS
( ScalingType,
42
"Global"
,
43
"Local"
);
44
45
}
// namespace flowSolverUtilities
46
47
}
// namespace geos
48
49
#endif
//GEOS_PHYSICSSOLVERS_FLUIDFLOW_FLOWSOLVERUTILITIES_HPP_
DataTypes.hpp
EnumStrings.hpp
geos::flowSolverUtilities::ScalingType
ScalingType
Solution scaling type.
Definition:
FlowSolverUtilities.hpp:36
geos::flowSolverUtilities::ScalingType::Global
@ Global
Scale the Newton update with a unique scaling factor.
geos::flowSolverUtilities::ScalingType::Local
@ Local
Scale the Newton update locally (modifies the Newton direction)
geos
Definition:
DataLayouts.hpp:29
geos::integer
int integer
Signed integer type.
Definition:
DataTypes.hpp:81
geos::ENUM_STRINGS
ENUM_STRINGS(LinearSolverParameters::SolverType, "direct", "cg", "gmres", "fgmres", "bicgstab", "richardson", "preconditioner")
Declare strings associated with enumeration values.
Generated by
1.9.1