#include <pod.hpp>
POD class.
This class implements POD method useful to treat transient problems with the certified reduced basis method.
Public Types | |
typedef boost::shared_ptr < backend_type > | backend_ptrtype |
typedef model_type::backend_type | backend_type |
typedef boost::shared_ptr < bdf_type > | bdf_ptrtype |
typedef Bdf< space_type > | bdf_type |
time discretization | |
typedef model_type::element_ptrtype | element_ptrtype |
typedef model_type::element_type | element_type |
element of the functionspace type | |
typedef boost::shared_ptr < export_type > | export_ptrtype |
typedef Exporter< mesh_type > | export_type |
typedef model_type::functionspace_ptrtype | functionspace_ptrtype |
typedef model_type::functionspace_type | functionspace_type |
function space type | |
typedef Eigen::MatrixXd | matrixN_type |
typedef model_type::mesh_ptrtype | mesh_ptrtype |
mesh shared_ptr | |
typedef model_type::mesh_type | mesh_type |
mesh type | |
typedef std::vector< element_type > | mode_set_type |
typedef truth_model_type | model_type |
typedef model_type::space_type | space_type |
typedef boost::shared_ptr < truth_model_type > | truth_model_ptrtype |
typedef TruthModelType | truth_model_type |
typedef model_type::value_type | value_type |
typedef model_type::vector_ptrtype | vector_ptrtype |
typedef Eigen::VectorXd | vectorN_type |
typedef std::vector< element_type > | wn_type |
Public Member Functions | |
void | exportMode (double time, element_ptrtype &mode) |
void | fillPodMatrix () |
fill the matrix which will be used to perform the POD | |
const truth_model_ptrtype & | model () |
return model used | |
const int | nm () |
return number of mode used per mu | |
POD (po::variables_map const &vm, const wn_type &WN, const int Nm, const int K, const matrixN_type &SnapshotsMatrix) | |
POD (POD const &o) | |
int | pod (mode_set_type &ModeSet, bool is_primal) |
const matrixN_type & | podMatrix () |
return the pod matrix | |
void | projectionOnPodSpace () |
void | setBdf (bdf_ptrtype &bdf) |
void | setModel (truth_model_ptrtype Model) |
void | setNm (const int Nm) |
void | setSnapshotsMatrix (matrixN_type &Matrix) |
void | setTimeInitial (double Ti) |
void | setWN (wn_type &WN) |
const matrixN_type & | snapshotsMatrix () |
return the snapshots matrix | |
bool | storePodMatrix () const |
return a bool to indicate if we store the pod matrix | |
bool | storePodMatrixFormatOctave () const |
return a bool to indicate if we store the pod matrix with octave format | |
const double | timeInitial () |
const wn_type & | wn () |
return reduced basis | |
~POD () | |
destructor | |
|
inline |
copy constructor
int Feel::POD< TruthModelType >::pod | ( | mode_set_type & | ModeSet, |
bool | is_primal | ||
) |
input/output : MpdeSet (set of modes to add in the reduced basis) input : is_primal ( bool which indicates if the problem is the primal one or not )
References Feel::Backend< T >::build().