Encapsulates the details of the generalized Euler discretization.
More...
#include <rb_temporal_discretization.h>
Encapsulates the details of the generalized Euler discretization.
Define a class that encapsulates the details of a "generalized Euler" temporal discretization to be used in the rbOOmit framework.
- Author
- David Knezevic
- Date
- 2012
Definition at line 40 of file rb_temporal_discretization.h.
◆ RBTemporalDiscretization()
libMesh::RBTemporalDiscretization::RBTemporalDiscretization |
( |
| ) |
|
◆ get_control()
Real libMesh::RBTemporalDiscretization::get_control |
( |
const unsigned int |
k | ) |
const |
◆ get_delta_t()
Real libMesh::RBTemporalDiscretization::get_delta_t |
( |
| ) |
const |
Get/set delta_t, the time-step size.
◆ get_euler_theta()
Real libMesh::RBTemporalDiscretization::get_euler_theta |
( |
| ) |
const |
Get/set euler_theta, parameter that determines the temporal discretization.
◆ get_n_time_steps()
unsigned int libMesh::RBTemporalDiscretization::get_n_time_steps |
( |
| ) |
const |
Get/set the total number of time-steps.
◆ get_time_step()
unsigned int libMesh::RBTemporalDiscretization::get_time_step |
( |
| ) |
const |
Get/set the current time-step.
◆ process_temporal_parameters_file()
void libMesh::RBTemporalDiscretization::process_temporal_parameters_file |
( |
const std::string & |
parameters_filename | ) |
|
Read in and initialize parameters from parameters_filename
.
◆ pull_temporal_discretization_data()
Pull the temporal discretization data from other
.
◆ set_control()
void libMesh::RBTemporalDiscretization::set_control |
( |
const std::vector< Real > & |
control | ) |
|
◆ set_delta_t()
void libMesh::RBTemporalDiscretization::set_delta_t |
( |
const Real |
delta_t_in | ) |
|
◆ set_euler_theta()
void libMesh::RBTemporalDiscretization::set_euler_theta |
( |
const Real |
euler_theta_in | ) |
|
◆ set_n_time_steps()
void libMesh::RBTemporalDiscretization::set_n_time_steps |
( |
const unsigned int |
K | ) |
|
◆ set_time_step()
void libMesh::RBTemporalDiscretization::set_time_step |
( |
const unsigned int |
k | ) |
|
◆ _control
std::vector<Real> libMesh::RBTemporalDiscretization::_control |
|
private |
The RHS control (scalar function of time). A function h(t) that is used in the RHS as h(t)*f(x, ). See Martin Grepl's thesis
Definition at line 121 of file rb_temporal_discretization.h.
◆ _current_time_step
unsigned int libMesh::RBTemporalDiscretization::_current_time_step |
|
private |
◆ _delta_t
Real libMesh::RBTemporalDiscretization::_delta_t |
|
private |
◆ _euler_theta
Real libMesh::RBTemporalDiscretization::_euler_theta |
|
private |
The parameter that determines the generalized Euler scheme discretization that we employ. euler_theta = 0 —> Forward Euler euler_theta = 0.5 —> Crank-Nicolson euler_theta = 1 —> Backward Euler
Definition at line 104 of file rb_temporal_discretization.h.
◆ _n_time_steps
unsigned int libMesh::RBTemporalDiscretization::_n_time_steps |
|
private |
The documentation for this class was generated from the following file: