Feel++ 0.111.0-preview.14
Finite Element Embedded Library in C++
Feel::AdvReact< Space > Class Template Reference

Advection-Reaction solver. More...

+ Collaboration diagram for Feel::AdvReact< Space >:

Public Types

typedef std::shared_ptr< backend_type > backend_ptrtype
 
typedef Backend< value_type > backend_type
 
typedef space_type::element_type element_type
 
typedef space_type::mesh_ptrtype mesh_ptrtype
 
typedef space_type::mesh_type mesh_type
 
typedef std::shared_ptr< space_type > space_ptrtype
 
typedef Space space_type
 
typedef space_type::value_type value_type
 

Public Member Functions

 AdvReact (const space_ptrtype &space, const backend_ptrtype &backend, bool imposeBC=true)
 
const element_type phi ()
 
void set_stabcoeff (double stabcoeff)
 
void setStabMethod (StabilizationMethods Method)
 
void solve ()
 
template<typename Esigma , typename Ebeta , typename Ef , typename Eg >
void update (const Esigma &sigma, const Ebeta &beta, const Ef &f, const Eg &g, bool updateStabilization=true)
 

Static Public Attributes

static const uint16_type Dim = space_type::nDim
 
static const value_type polyOrder = space_type::basis_type::nOrder
 

Detailed Description

template<class Space>
class Feel::AdvReact< Space >

Advection-Reaction solver.

An interior penalty stabilized advection-reaction solver. It solves the following equation: sigma * phi + beta^T grad phi = f on the domain phi = g on the inflow boundary the inflow boundary is detected through beta