Chi-Tech
implicit_euler_time_intgr.cc
Go to the documentation of this file.
1
#include "
implicit_euler_time_intgr.h
"
2
3
#include "
ChiObjectFactory.h
"
4
5
#define scint static_cast<int>
6
7
namespace
chi_math
8
{
9
10
RegisterChiObject
(
chi_math
,
ImplicitEulerTimeIntegration
);
11
12
chi::InputParameters
ImplicitEulerTimeIntegration::GetInputParameters
()
13
{
14
chi::InputParameters
params =
15
ThetaSchemeTimeIntegration::GetInputParameters
();
16
17
// clang-format off
18
params.
SetGeneralDescription
(
"General implicit Euler Time Integration"
);
19
params.
SetDocGroup
(
"DocTimeIntegrations"
);
20
// clang-format on
21
22
params.
ChangeExistingParamToOptional
(
"method"
,
23
scint
(
SteppingMethod::IMPLICIT_EULER
));
24
params.
ChangeExistingParamToOptional
(
"theta"
, 1.0);
25
26
return
params;
27
}
28
29
ImplicitEulerTimeIntegration::ImplicitEulerTimeIntegration
(
30
const
chi::InputParameters
& params)
31
:
ThetaSchemeTimeIntegration
(params)
32
{
33
}
34
35
}
// namespace chi_math
ChiObjectFactory.h
chi::InputParameters
Definition:
input_parameters.h:23
chi::InputParameters::SetDocGroup
void SetDocGroup(const std::string &doc_group)
Definition:
input_parameters.h:80
chi::InputParameters::SetGeneralDescription
void SetGeneralDescription(const std::string &description)
Definition:
input_parameters.h:72
chi::InputParameters::ChangeExistingParamToOptional
void ChangeExistingParamToOptional(const std::string &name, T value, const std::string &doc_string="")
Definition:
input_parameters.h:140
chi_math::ImplicitEulerTimeIntegration
Definition:
implicit_euler_time_intgr.h:10
chi_math::ImplicitEulerTimeIntegration::ImplicitEulerTimeIntegration
ImplicitEulerTimeIntegration(const chi::InputParameters ¶ms)
Definition:
implicit_euler_time_intgr.cc:29
chi_math::ImplicitEulerTimeIntegration::GetInputParameters
static chi::InputParameters GetInputParameters()
Definition:
implicit_euler_time_intgr.cc:12
chi_math::ThetaSchemeTimeIntegration
Definition:
theta_scheme_time_intgr.h:10
chi_math::ThetaSchemeTimeIntegration::GetInputParameters
static chi::InputParameters GetInputParameters()
Definition:
theta_scheme_time_intgr.cc:12
scint
#define scint
Definition:
implicit_euler_time_intgr.cc:5
implicit_euler_time_intgr.h
chi_math
Definition:
chi_runtime.h:42
chi_math::SteppingMethod::IMPLICIT_EULER
@ IMPLICIT_EULER
chi_math::RegisterChiObject
RegisterChiObject(chi_math, QuadratureGaussChebyshev)
framework
math
TimeIntegrations
implicit_euler_time_intgr.cc
Generated by
1.9.3