Feel++  0.92.0
Public Types | Public Member Functions
Feel::POD< TruthModelType > Class Template Reference

POD class. More...

#include <pod.hpp>

List of all members.

Public Types

typedef TruthModelType truth_model_type
typedef truth_model_type model_type
typedef boost::shared_ptr
< truth_model_type > 
truth_model_ptrtype
typedef model_type::value_type value_type
typedef model_type::element_type element_type
 element of the functionspace type
typedef model_type::element_ptrtype element_ptrtype
typedef model_type::mesh_type mesh_type
 mesh type
typedef model_type::mesh_ptrtype mesh_ptrtype
 mesh shared_ptr
typedef
model_type::functionspace_type 
functionspace_type
 function space type
typedef
model_type::functionspace_ptrtype 
functionspace_ptrtype
typedef model_type::space_type space_type
typedef Bdf< space_type > bdf_type
 time discretization
typedef boost::shared_ptr
< bdf_type
bdf_ptrtype
typedef Exporter< mesh_typeexport_type
typedef boost::shared_ptr
< export_type
export_ptrtype
typedef std::vector< element_typewn_type
typedef std::vector< element_typemode_set_type
typedef Eigen::VectorXd vectorN_type
typedef Eigen::MatrixXd matrixN_type
typedef model_type::vector_ptrtype vector_ptrtype
typedef model_type::backend_type backend_type
typedef boost::shared_ptr
< backend_type > 
backend_ptrtype

Public Member Functions

 POD (po::variables_map const &vm, const wn_type &WN, const int Nm, const int K, const matrixN_type &SnapshotsMatrix)
 POD (POD const &o)
 ~POD ()
 destructor
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 matrixN_type & podMatrix ()
 return the pod matrix
const matrixN_type & snapshotsMatrix ()
 return the snapshots matrix
const int nm ()
 return number of mode used per mu
const wn_type & wn ()
 return reduced basis
const truth_model_ptrtype & model ()
 return model used
void setBdf (bdf_ptrtype &bdf)
void setSnapshotsMatrix (matrixN_type &Matrix)
void setWN (wn_type &WN)
void setNm (const int Nm)
void setModel (truth_model_ptrtype Model)
void fillPodMatrix ()
 fill the matrix which will be used to perform the POD
int pod (mode_set_type &ModeSet, bool is_primal)
void exportMode (double time, element_ptrtype &mode)
void projectionOnPodSpace ()

Detailed Description

template<typename TruthModelType>
class Feel::POD< TruthModelType >

POD class.

This class implements POD method useful to treat transient problems with the certified reduced basis method.

Author:
Christophe Prud'homme
Stephane Veys

Constructor & Destructor Documentation

template<typename TruthModelType >
Feel::POD< TruthModelType >::POD ( POD< TruthModelType > const &  o) [inline]

copy constructor


Member Function Documentation

template<typename TruthModelType >
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().