libMesh::RBTemporalDiscretization Class Reference

#include <rb_temporal_discretization.h>

Inheritance diagram for libMesh::RBTemporalDiscretization:

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)
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

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 34 of file rb_temporal_discretization.h.

Constructor & Destructor Documentation

libMesh::RBTemporalDiscretization::RBTemporalDiscretization ( )


Member Function Documentation

Real libMesh::RBTemporalDiscretization::get_delta_t ( ) const

Get/set delta_t, the time-step size.

Real libMesh::RBTemporalDiscretization::get_euler_theta ( ) const

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_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)

Member Data Documentation

unsigned int libMesh::RBTemporalDiscretization::_current_time_step

The current time-step.

Definition at line 97 of file rb_temporal_discretization.h.

Real libMesh::RBTemporalDiscretization::_delta_t

The time-step size.

Definition at line 83 of file rb_temporal_discretization.h.

Real libMesh::RBTemporalDiscretization::_euler_theta

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 92 of file rb_temporal_discretization.h.

unsigned int libMesh::RBTemporalDiscretization::_n_time_steps

The number of time-steps.

Definition at line 102 of file rb_temporal_discretization.h.

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

Site Created By: libMesh Developers
Last modified: February 07 2014 16:58:02 UTC

Hosted By: Logo