$extrastylesheet
libMesh::DerivedRBEvaluation< Base > Class Template Reference

#include <derived_rb_evaluation.h>

List of all members.

Public Types

enum  DERIVED_RESIDUAL_TYPE { RESIDUAL_WRT_UBER, RESIDUAL_WRT_TRUTH }

Public Member Functions

 DerivedRBEvaluation (const Parallel::Communicator &comm LIBMESH_CAN_DEFAULT_TO_COMMWORLD)
virtual void clear ()
virtual unsigned int get_n_basis_functions () const
virtual void set_n_basis_functions (unsigned int n_bfs)
virtual void write_out_basis_functions (System &sys, const std::string &directory_name="offline_data", const bool write_binary_basis_functions=true)
virtual void read_in_basis_functions (System &sys, const std::string &directory_name="offline_data", const bool read_binary_basis_functions=true)

Public Attributes

std::vector< DenseVector
< Number > > 
derived_basis_functions
DERIVED_RESIDUAL_TYPE residual_type_flag

Detailed Description

template<class Base>
class libMesh::DerivedRBEvaluation< Base >

This class is part of the rbOOmit framework.

DerivedRBEvaluation encapsulates the code and data required to perform "online" evaluations for the "two-stage" reduced basis method.

Author:
David J. Knezevic, 2011

Definition at line 49 of file derived_rb_evaluation.h.


Member Enumeration Documentation

Define an enumeration for the two types of residuals we can compute: with respect to the uber, and the truth.

Enumerator:
RESIDUAL_WRT_UBER 
RESIDUAL_WRT_TRUTH 

Definition at line 105 of file derived_rb_evaluation.h.


Constructor & Destructor Documentation

template<class Base >
libMesh::DerivedRBEvaluation< Base >::DerivedRBEvaluation ( const Parallel::Communicator &comm  LIBMESH_CAN_DEFAULT_TO_COMMWORLD)

Constructor.


Member Function Documentation

template<class Base >
virtual void libMesh::DerivedRBEvaluation< Base >::clear ( ) [virtual]

Clear this object. Overload to also reset residual_type_flag.

template<class Base >
virtual unsigned int libMesh::DerivedRBEvaluation< Base >::get_n_basis_functions ( ) const [virtual]

Get the current number of basis functions.

template<class Base >
virtual void libMesh::DerivedRBEvaluation< Base >::read_in_basis_functions ( System sys,
const std::string &  directory_name = "offline_data",
const bool  read_binary_basis_functions = true 
) [virtual]

Read in all the basis functions from file. sys and write_binary_basis_functions are ignored here, basis functions are read from the directory directory_name.

template<class Base >
virtual void libMesh::DerivedRBEvaluation< Base >::set_n_basis_functions ( unsigned int  n_bfs) [virtual]

Set the number of basis functions. Useful when reading in stored data.

template<class Base >
virtual void libMesh::DerivedRBEvaluation< Base >::write_out_basis_functions ( System sys,
const std::string &  directory_name = "offline_data",
const bool  write_binary_basis_functions = true 
) [virtual]

Write out all the basis functions to file. sys and write_binary_basis_functions are ignored here, basis functions are written to the directory directory_name.


Member Data Documentation

template<class Base >
std::vector< DenseVector<Number> > libMesh::DerivedRBEvaluation< Base >::derived_basis_functions

The dense vectors that define the derived basis functions based on the uber system.

Definition at line 99 of file derived_rb_evaluation.h.

This flag indicates which type of error bound we employ. The options are: RESIDUAL_WRT_UBER: The residual is wrt the uber space X_N. RESIDUAL_WRT_TRUTH: The residual is wrt the truth space X^.

Definition at line 113 of file derived_rb_evaluation.h.


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