22class DiffusionReaction :
public Problem<SC,LO,GO,NO> {
27 typedef Problem<SC,LO,GO,NO> Problem_Type;
28 typedef typename Problem_Type::Matrix_Type Matrix_Type;
29 typedef typename Problem_Type::MatrixPtr_Type MatrixPtr_Type;
31 typedef typename Problem_Type::BlockMatrix_Type BlockMatrix_Type;
33 typedef typename Problem_Type::MultiVector_Type MultiVector_Type;
34 typedef typename Problem_Type::MultiVectorPtr_Type MultiVectorPtr_Type;
36 typedef typename Problem_Type::MultiVectorConstPtr_Type MultiVectorConstPtr_Type;
37 typedef typename Problem_Type::BlockMultiVectorPtr_Type BlockMultiVectorPtr_Type;
39 typedef typename Problem_Type::DomainConstPtr_Type DomainConstPtr_Type;
40 typedef typename Problem_Type::CommConstPtr_Type CommConstPtr_Type;
43 typedef typename NonLinearProblem_Type::BlockMultiVectorPtrArray_Type BlockMultiVectorPtrArray_Type;
45 typedef typename NonLinearProblem_Type::TpetraMatrix_Type TpetraMatrix_Type;
47 typedef typename NonLinearProblem_Type::ThyraVecSpace_Type ThyraVecSpace_Type;
48 typedef typename NonLinearProblem_Type::ThyraVec_Type ThyraVec_Type;
49 typedef typename NonLinearProblem_Type::ThyraOp_Type ThyraOp_Type;
50 typedef Thyra::BlockedLinearOpBase<SC> ThyraBlockOp_Type;
52 typedef typename NonLinearProblem_Type::TpetraOp_Type TpetraOp_Type;
56 DiffusionReaction (
const DomainConstPtr_Type &domain, std::string FEType, ParameterListPtr_Type parameterList, vec2D_dbl_Type diffusionTensor, RhsFunc_Type reactionFunc,
bool vectorDiffusion=
false);
64 virtual void assemble( std::string type =
"" )
const;
66 virtual void getValuesOfInterest( vec_dbl_Type& values ){};
68 MatrixPtr_Type getMassMatrix()
const;
70 virtual void computeValuesOfInterestAndExport() {};
85 mutable MatrixPtr_Type A_;
86 MultiVectorPtr_Type u_rep_;
87 vec_dbl_Type funcParameter_;
96 bool vectorDiffusion_;
97 vec2D_dbl_Type diffusionTensor_;
98 RhsFunc_Type reactionFunc_;
void assembleConstantMatrices(std::string type="") const
assemble constant matrices, that remain the same
Definition DiffusionReaction_def.hpp:55