Logo  0.95.0-final
Finite Element Embedded Library and Language in C++
Feel++ Feel++ on Github Feel++ community
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Feel::POD< TruthModelType > Class Template Reference

#include <pod.hpp>

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

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_typeexport_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_typemode_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_typewn_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
 

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


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

Generated on Sun Oct 20 2013 08:25:09 for Feel++ by doxygen 1.8.4