Finite Element Domain Decomposition Library
FEDDLib
Toggle main menu visibility
Loading...
Searching...
No Matches
Laplace_decl.hpp
1
#ifndef LAPLACE_decl_hpp
2
#define LAPLACE_decl_hpp
3
#include "feddlib/problems/abstract/Problem.hpp"
12
13
namespace
FEDD
{
14
template
<
class
SC = default_sc,
class
LO = default_lo,
class
GO = default_go,
class
NO = default_no>
15
class
Laplace :
public
Problem<SC,LO,GO,NO> {
16
17
public
:
18
19
20
typedef
Problem<SC,LO,GO,NO> Problem_Type;
21
typedef
typename
Problem_Type::Matrix_Type Matrix_Type;
22
typedef
typename
Problem_Type::MatrixPtr_Type MatrixPtr_Type;
23
24
typedef
typename
Problem_Type::BlockMatrix_Type BlockMatrix_Type;
25
26
typedef
typename
Problem_Type::MultiVector_Type MultiVector_Type;
27
typedef
typename
Problem_Type::MultiVectorPtr_Type MultiVectorPtr_Type;
28
29
typedef
typename
Problem_Type::DomainConstPtr_Type DomainConstPtr_Type;
30
typedef
typename
Problem_Type::CommConstPtr_Type CommConstPtr_Type;
31
32
Laplace(
const
DomainConstPtr_Type &domain, std::string FEType, ParameterListPtr_Type parameterList,
bool
vectorLaplace =
false
);
33
34
~Laplace();
35
36
virtual
void
info();
37
38
virtual
void
assemble( std::string type =
""
)
const
;
39
40
virtual
void
getValuesOfInterest( vec_dbl_Type& values ){}
41
42
MatrixPtr_Type getMassMatrix()
const
;
// new for calculating L2-Error
43
44
virtual
void
computeValuesOfInterestAndExport() {}
45
// virtual int SetupPreconditioner(BMat_ptr_Type systemPrec, ThyraConstLinOpPtr_Type thyraMatrix=Teuchos::null, ThyraPrecPtr_Type thyraPreconditioner = Teuchos::null, LinSolverBuilderPtr_Type linearSolverBuilder = Teuchos::null) const;
46
47
private
:
48
/*####################*/
49
bool
vectorLaplace_;
50
};
51
}
52
#endif
FEDD
Adaptive Mesh Refinement.
Definition
AdaptiveMeshRefinement_decl.hpp:36
feddlib
problems
specific
Laplace_decl.hpp
Generated by
1.17.0