Feel++ 0.91.0
Public Types | Public Member Functions
MyFunctionSpace< Dim, Order > Class Template Reference
Inheritance diagram for MyFunctionSpace< Dim, Order >:
Feel::Simget

List of all members.

Public Types

typedef double value_type
typedef Simplex< Dim, Order > convex_type
 mesh
typedef Mesh< convex_typemesh_type
typedef boost::shared_ptr
< mesh_type > 
mesh_ptrtype
typedef FunctionSpace
< mesh_type, bases< Lagrange
< 0, Scalar, Discontinuous > > > 
p0_space_type
 function space that holds piecewise constant ( $P_0$) functions (e.g. to store material properties or partitioning
typedef p0_space_type::element_type p0_element_type
 an element type of the $P_0$ discontinuous function space
typedef bases< Lagrange< Order,
Scalar, Continuous > > 
basis_type
 the basis type of our approximation space
typedef FunctionSpace
< mesh_type, basis_type
space_type
 the approximation function space type
typedef boost::shared_ptr
< space_type
space_ptrtype
 the approximation function space type (shared_ptr<> type)
typedef space_type::element_type element_type
 an element type of the approximation function space
typedef Exporter< mesh_type,
Order > 
export_type
typedef boost::shared_ptr
< export_type
export_ptrtype

Public Member Functions

 MyFunctionSpace (po::variables_map const &vm, AboutData const &about)
FEEL_DONT_INLINE void run ()
FEEL_DONT_INLINE void run (const double *X, unsigned long P, double *Y, unsigned long N)

Detailed Description

template<int Dim, int Order = 2>
class MyFunctionSpace< Dim, Order >

MyFunctionSpace: compute integrals over a domain

See also:
the Computing integrals section in the tutorial
Author:
Christophe Prud'homme

Member Function Documentation

template<int Dim, int Order>
void MyFunctionSpace< Dim, Order >::run ( ) [virtual]

simply execute the simget

Implements Feel::Simget.

template<int Dim, int Order>
void MyFunctionSpace< Dim, Order >::run ( const double *  X,
unsigned long  P,
double *  Y,
unsigned long  N 
) [virtual]

models the input/output relation $ Y=F(X) $

create the mesh

The function space and some associated elements(functions) are then defined

Implements Feel::Simget.

References Feel::Environment::changeRepository(), and Feel::elements().