Finite Element Domain Decomposition Library
FEDDLib
Loading...
Searching...
No Matches
Stokes_decl.hpp
1#ifndef STOKES_decl_hpp
2#define STOKES_decl_hpp
3#include "feddlib/problems/abstract/Problem.hpp"
4namespace FEDD {
5template <class SC = default_sc, class LO = default_lo, class GO = default_go, class NO = default_no>
6class Stokes : public Problem<SC,LO,GO,NO> {
7
8public:
9
10
11 typedef Problem<SC,LO,GO,NO> Problem_Type;
12 typedef typename Problem_Type::Matrix_Type Matrix_Type;
13 typedef typename Problem_Type::MatrixPtr_Type MatrixPtr_Type;
14 typedef typename Problem_Type::MapConstPtr_Type MapConstPtr_Type;
15 typedef typename Problem_Type::MapPtr_Type MapPtr_Type;
16 typedef typename Problem_Type::Map_Type Map_Type;
17
18 typedef typename Problem_Type::BlockMatrix_Type BlockMatrix_Type;
19
20 typedef typename Problem_Type::MultiVector_Type MultiVector_Type;
21 typedef typename Problem_Type::MultiVectorPtr_Type MultiVectorPtr_Type;
22
23 typedef typename Problem_Type::DomainConstPtr_Type DomainConstPtr_Type;
24 typedef typename Problem_Type::CommConstPtr_Type CommConstPtr_Type;
25
26 Stokes( const DomainConstPtr_Type &domainVelocity, std::string FETypeVelocity, const DomainConstPtr_Type &domainPressure, std::string FETypePressure, ParameterListPtr_Type parameterList );
27
28 ~Stokes();
29
30 virtual void info();
31
32 virtual void assemble( std::string type = "" ) const;
33
34 virtual void getValuesOfInterest( vec_dbl_Type& values ){};
35
36 virtual void computeValuesOfInterestAndExport() {};
37
38 virtual void assembleExternal( std::string type ){};
39 private:
40 /*####################*/
41
42};
43}
44#endif
Adaptive Mesh Refinement.
Definition AdaptiveMeshRefinement.cpp:5