Feel++ 0.91.0
Public Types | Public Member Functions | Static Public Attributes
Feel::Bratu< Dim, Order, Entity > Class Template Reference
Inheritance diagram for Feel::Bratu< Dim, Order, Entity >:
Feel::Application

List of all members.

Public Types

typedef Bratu< Dim, Order, Entityself_type
typedef double value_type
typedef Backend< value_type > backend_type
typedef boost::shared_ptr
< backend_type
backend_ptrtype
typedef
backend_type::sparse_matrix_type 
sparse_matrix_type
typedef
backend_type::sparse_matrix_ptrtype 
sparse_matrix_ptrtype
typedef backend_type::vector_type vector_type
typedef
backend_type::vector_ptrtype 
vector_ptrtype
typedef Entity< Dim, 1, Dim > entity_type
typedef Mesh< entity_typemesh_type
typedef boost::shared_ptr
< mesh_type > 
mesh_ptrtype
typedef bases< Lagrange< Order,
Scalar > > 
basis_type
typedef FunctionSpace
< mesh_type, basis_type
functionspace_type
typedef boost::shared_ptr
< functionspace_type > 
functionspace_ptrtype
typedef
functionspace_type::element_type 
element_type
typedef element_type::template
sub_element< 0 >::type 
element_0_type
typedef element_type::template
sub_element< 1 >::type 
element_1_type
typedef OperatorLinear
< functionspace_type,
functionspace_type > 
oplin_type
typedef boost::shared_ptr
< oplin_type > 
oplin_ptrtype
typedef FsFunctionalLinear
< functionspace_type > 
funlin_type
typedef boost::shared_ptr
< funlin_type > 
funlin_ptrtype
typedef Exporter< mesh_type > export_type
typedef boost::shared_ptr
< export_type
export_ptrtype

Public Member Functions

 Bratu (int argc, char **argv, AboutData const &ad, po::options_description const &od)
void run ()
void updateResidual (const vector_ptrtype &X, vector_ptrtype &R)
void updateJacobian (const vector_ptrtype &X, sparse_matrix_ptrtype &J)

Static Public Attributes

static const uint16_type nLocalDof = boost::remove_reference<typename fusion::result_of::at<basis_type,mpl::int_<0> >::type>::type::nLocalDof

Detailed Description

template<int Dim, int Order = 1, template< uint16_type, uint16_type, uint16_type > class Entity = Simplex>
class Feel::Bratu< Dim, Order, Entity >

Bratu Problem

solve $ -\Delta u + \lambda \exp(u) = 0, \quad u_\Gamma = 0$ on $\Omega$


Constructor & Destructor Documentation

template<int Dim, int Order, template< uint16_type, uint16_type, uint16_type > class Entity>
Feel::Bratu< Dim, Order, Entity >::Bratu ( int  argc,
char **  argv,
AboutData const &  ad,
po::options_description const &  od 
)

Member Function Documentation

template<int Dim, int Order, template< uint16_type, uint16_type, uint16_type > class Entity>
void Feel::Bratu< Dim, Order, Entity >::run ( ) [virtual]

run the convergence test

Reimplemented from Feel::Application.

References Feel::boundaryfaces(), and Feel::elements().