Chi-Tech
chi_math_time_stepping.h
Go to the documentation of this file.
1
#ifndef CHITECH_CHI_MATH_TIME_STEPPING_H
2
#define CHITECH_CHI_MATH_TIME_STEPPING_H
3
4
#include <string>
5
6
namespace
chi_math
7
{
8
9
enum class
SteppingMethod
10
{
11
NONE = 0,
12
EXPLICIT_EULER
= 1,
13
IMPLICIT_EULER
= 2,
14
CRANK_NICOLSON
= 3,
15
THETA_SCHEME
= 4,
16
};
17
18
std::string
SteppingMethodStringName
(
SteppingMethod
);
19
SteppingMethod
SteppingMethodFromString
(
const
std::string& name);
20
21
}
// namespace chi_math
22
23
#endif
// CHITECH_CHI_MATH_TIME_STEPPING_H
chi_math
Definition:
chi_runtime.h:42
chi_math::SteppingMethodFromString
SteppingMethod SteppingMethodFromString(const std::string &name)
chi_math::SteppingMethod
SteppingMethod
Definition:
chi_math_time_stepping.h:10
chi_math::SteppingMethod::IMPLICIT_EULER
@ IMPLICIT_EULER
chi_math::SteppingMethod::CRANK_NICOLSON
@ CRANK_NICOLSON
chi_math::SteppingMethod::EXPLICIT_EULER
@ EXPLICIT_EULER
chi_math::SteppingMethod::THETA_SCHEME
@ THETA_SCHEME
chi_math::SteppingMethodStringName
std::string SteppingMethodStringName(SteppingMethod method)
Definition:
chi_math_time_stepping.cc:11
framework
math
chi_math_time_stepping.h
Generated by
1.9.3