29 #ifndef FEELPP_SYSTEM_HPP
30 #define FEELPP_SYSTEM_HPP 1
41 template<
typename SpaceType>
51 static const uint16_type Dim = SpaceType::nDim;
54 typedef typename SpaceType::value_type value_type;
56 typedef SpaceType functionspace_type;
57 typedef boost::shared_ptr<SpaceType> functionspace_ptrtype;
59 typedef typename functionspace_type::element_type element_type;
67 System( functionspace_ptrtype
const& Xh, po::variables_map
const&
vm ) : M_Xh( Xh ), M_vm( vm ) {}
68 System(
System const & s ) : M_Xh( s.M_Xh ), M_vm( s.M_vm ) {}
95 po::variables_map
const&
vm()
const
113 void setVm( po::variables_map
const& vm )
139 virtual void solve( element_type& u ) = 0;
149 po::variables_map M_vm;
151 functionspace_ptrtype M_Xh;
functionspace_ptrtype const & functionSpace() const
Definition: system.hpp:101
void setVm(po::variables_map const &vm)
set the variables map
Definition: system.hpp:113
virtual void solve(element_type &u)=0
System of PDE associated to a function space.
Definition: system.hpp:42
po::variables_map const & vm() const
Definition: system.hpp:95
virtual void assemble()=0
void setFunctionSpace(functionspace_ptrtype const &Xh)
set the function space
Definition: system.hpp:119