$extrastylesheet
#include <rb_temporal_discretization.h>

Public Member Functions | |
| RBTemporalDiscretization () | |
| Real | get_delta_t () const |
| void | set_delta_t (const Real delta_t_in) |
| Real | get_euler_theta () const |
| void | set_euler_theta (const Real euler_theta_in) |
| unsigned int | get_time_step () const |
| void | set_time_step (const unsigned int k) |
| unsigned int | get_n_time_steps () const |
| void | set_n_time_steps (const unsigned int K) |
| Real | get_control (const unsigned int k) const |
| void | set_control (const std::vector< Real > &control) |
| void | process_temporal_parameters_file (const std::string ¶meters_filename) |
| void | pull_temporal_discretization_data (RBTemporalDiscretization &other) |
Private Attributes | |
| Real | _delta_t |
| Real | _euler_theta |
| unsigned int | _current_time_step |
| unsigned int | _n_time_steps |
| std::vector< Real > | _control |
Define a class that encapsulates the details of a "generalized Euler" temporal discretization to be used in the rbOOmit framework.
Definition at line 36 of file rb_temporal_discretization.h.
Constructor.
| Real libMesh::RBTemporalDiscretization::get_control | ( | const unsigned int | k | ) | const |
Get/set the RHS control.
Get/set delta_t, the time-step size.
Get/set euler_theta, parameter that determines the temporal discretization.
| unsigned int libMesh::RBTemporalDiscretization::get_n_time_steps | ( | ) | const |
Get/set the total number of time-steps.
| unsigned int libMesh::RBTemporalDiscretization::get_time_step | ( | ) | const |
Get/set the current time-step.
| void libMesh::RBTemporalDiscretization::process_temporal_parameters_file | ( | const std::string & | parameters_filename | ) |
Read in and initialize parameters from parameters_filename.
| void libMesh::RBTemporalDiscretization::pull_temporal_discretization_data | ( | RBTemporalDiscretization & | other | ) |
Pull the temporal discretization data from other.
| void libMesh::RBTemporalDiscretization::set_control | ( | const std::vector< Real > & | control | ) |
| void libMesh::RBTemporalDiscretization::set_delta_t | ( | const Real | delta_t_in | ) |
| void libMesh::RBTemporalDiscretization::set_euler_theta | ( | const Real | euler_theta_in | ) |
| void libMesh::RBTemporalDiscretization::set_n_time_steps | ( | const unsigned int | K | ) |
| void libMesh::RBTemporalDiscretization::set_time_step | ( | const unsigned int | k | ) |
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 117 of file rb_temporal_discretization.h.
unsigned int libMesh::RBTemporalDiscretization::_current_time_step [private] |
The current time-step.
Definition at line 105 of file rb_temporal_discretization.h.
The time-step size.
Definition at line 91 of file rb_temporal_discretization.h.
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 100 of file rb_temporal_discretization.h.
unsigned int libMesh::RBTemporalDiscretization::_n_time_steps [private] |
The number of time-steps.
Definition at line 110 of file rb_temporal_discretization.h.