$extrastylesheet
libMesh::RBTemporalDiscretization Class Reference

#include <rb_temporal_discretization.h>

Inheritance diagram for libMesh::RBTemporalDiscretization:

List of all members.

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 &parameters_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

Detailed Description

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 & Destructor Documentation


Member Function Documentation

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.

Get/set the total number of time-steps.

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.

Pull the temporal discretization data from other.

void libMesh::RBTemporalDiscretization::set_control ( const std::vector< Real > &  control)
void libMesh::RBTemporalDiscretization::set_time_step ( const unsigned int  k)

Member Data Documentation

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.

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.

The number of time-steps.

Definition at line 110 of file rb_temporal_discretization.h.


The documentation for this class was generated from the following file: