Finite Element Domain Decomposition Library
FEDDLib
Loading...
Searching...
No Matches
TPM_decl.hpp
1#ifndef TPM_decl_hpp
2#define TPM_decl_hpp
3#include "feddlib/problems/abstract/Problem.hpp"
12namespace FEDD {
13template <class SC = default_sc, class LO = default_lo, class GO = default_go, class NO = default_no>
14class TPM : public Problem<SC,LO,GO,NO> {
15
16public:
17
18
19 typedef Problem<SC,LO,GO,NO> Problem_Type;
20 typedef typename Problem_Type::Matrix_Type Matrix_Type;
21 typedef typename Problem_Type::MatrixPtr_Type MatrixPtr_Type;
22 typedef typename Problem_Type::Map_Type Map_Type;
23 typedef typename Problem_Type::MapPtr_Type MapPtr_Type;
24 typedef typename Problem_Type::MapConstPtr_Type MapConstPtr_Type;
25
26 typedef typename Problem_Type::BlockMatrix_Type BlockMatrix_Type;
27
28 typedef typename Problem_Type::MultiVector_Type MultiVector_Type;
29 typedef typename Problem_Type::MultiVectorPtr_Type MultiVectorPtr_Type;
30 typedef typename Problem_Type::MultiVectorConstPtr_Type MultiVectorConstPtr_Type;
31
32 typedef typename Problem_Type::DomainConstPtr_Type DomainConstPtr_Type;
33 typedef typename Problem_Type::CommConstPtr_Type CommConstPtr_Type;
34
35 TPM( const DomainConstPtr_Type &domainVelocity, std::string FETypeVelocity, const DomainConstPtr_Type &domainPressure, std::string FETypePressure, ParameterListPtr_Type parameterList );
36
37 ~TPM();
38
39 virtual void info();
40
41 virtual void assemble( std::string type ) const;
42
43// virtual void assembleExternal( std::string type );
44
45 virtual void getValuesOfInterest( vec_dbl_Type& values ){};
46
47 virtual void computeValuesOfInterestAndExport() {};
48
49 private:
50 mutable MultiVectorPtr_Type u_repNewton_;
51 mutable MultiVectorPtr_Type p_repNewton_;
52 mutable MultiVectorPtr_Type u_repTime_;
53 mutable MultiVectorPtr_Type p_repTime_;
54 /*####################*/
55
56};
57}
58#endif
Adaptive Mesh Refinement.
Definition AdaptiveMeshRefinement.cpp:5