$extrastylesheet
#include <derived_rb_evaluation.h>
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 |
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.
Definition at line 49 of file derived_rb_evaluation.h.
| enum libMesh::DerivedRBEvaluation::DERIVED_RESIDUAL_TYPE |
Define an enumeration for the two types of residuals we can compute: with respect to the uber, and the truth.
Definition at line 105 of file derived_rb_evaluation.h.
| libMesh::DerivedRBEvaluation< Base >::DerivedRBEvaluation | ( | const Parallel::Communicator &comm | LIBMESH_CAN_DEFAULT_TO_COMMWORLD | ) |
Constructor.
| virtual void libMesh::DerivedRBEvaluation< Base >::clear | ( | ) | [virtual] |
Clear this object. Overload to also reset residual_type_flag.
| virtual unsigned int libMesh::DerivedRBEvaluation< Base >::get_n_basis_functions | ( | ) | const [virtual] |
Get the current number of basis functions.
| 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.
| 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.
| 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.
| 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.
| DERIVED_RESIDUAL_TYPE libMesh::DerivedRBEvaluation< Base >::residual_type_flag |
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.