KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
phase_function.h
Go to the documentation of this file.
1 // | / |
2 // ' / __| _` | __| _ \ __|
3 // . \ | ( | | ( |\__ `
4 // _|\_\_| \__,_|\__|\___/ ____/
5 // Multi-Physics
6 //
7 // License: BSD License
8 // Kratos default license: kratos/license.txt
9 //
10 // Main authors: Miguel Maso Sotomayor
11 //
12 
13 #ifndef KRATOS_PHASE_FUNCTION_H_INCLUDED
14 #define KRATOS_PHASE_FUNCTION_H_INCLUDED
15 
16 
17 // System includes
18 #include <cmath>
19 
20 
21 // External includes
22 
23 
24 // Project includes
25 #include "includes/define.h"
26 
27 
28 namespace Kratos
29 {
30 
33 
39 class KRATOS_API(SHALLOW_WATER_APPLICATION) PhaseFunction
40 {
41 public:
44 
48 
50 
54 
58 
59  static double InverseHeight(const double Height, const double Epsilon);
60 
61  static double WetFraction(double Height, double Epsilon);
62 
64 
65 }; // Class PhaseFunction
66 
70 
72 
73 
74 } // namespace Kratos.
75 
76 #endif // KRATOS_PHASE_FUNCTION_H_INCLUDED defined
This class is a wrapper of useful utilities for shallow water computations.
Definition: phase_function.h:40
KRATOS_CLASS_POINTER_DEFINITION(PhaseFunction)
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21