Feel++  0.92.0
Public Types | Public Member Functions | Public Attributes
Feel::CRBApp< ModelType > Class Template Reference

Certified Reduced Basis application. More...

#include <crbapp.hpp>

Inheritance diagram for Feel::CRBApp< ModelType >:
Feel::Application

List of all members.

Public Types

typedef CRBModel< ModelType > crbmodel_type
typedef boost::shared_ptr
< crbmodel_type
crbmodel_ptrtype
typedef CRB< crbmodel_typecrb_type
typedef boost::shared_ptr
< crb_type
crb_ptrtype

Public Member Functions

 CRBApp (AboutData const &ad, po::options_description const &od)
 CRBApp (int argc, char **argv, AboutData const &ad, po::options_description const &od)
void init ()
void setOutput (int i=0, CRBErrorType error_type=(int) CRB_RESIDUAL, int maxiter=10)
void run ()
void run (const double *X, unsigned long N, double *Y, unsigned long P)

Public Attributes

crbmodel_ptrtype opus
crb_ptrtype crb

Detailed Description

template<typename ModelType>
class Feel::CRBApp< ModelType >

Certified Reduced Basis application.

Author:
Christophe Prud'homme

Member Function Documentation

template<typename ModelType >
void Feel::CRBApp< ModelType >::run ( ) [inline, virtual]

execute the set of Simget stored in the Application

Reimplemented from Feel::Application.

References Feel::Application::optionsDescription(), and Feel::Application::vm().

template<typename ModelType >
void Feel::CRBApp< ModelType >::run ( const double *  X,
unsigned long  P,
double *  Y,
unsigned long  N 
) [inline, virtual]

execute the set of Simget stored in the Application following the input/output model $ Y=F(X) $. $ P$ is the number of inputs and $ N$ the number of outputs. Denote $ S $ (nSimgets()) the number of simgets stored in the Application. $ X $ and $ Y$ must be of size $ S P$ and $ S N $ respectively.

Reimplemented from Feel::Application.