37 #ifndef SIMPLELINEARPARABOLICSOLVER_HPP_
38 #define SIMPLELINEARPARABOLICSOLVER_HPP_
40 #include "AbstractAssemblerSolverHybrid.hpp"
41 #include "AbstractDynamicLinearPdeSolver.hpp"
42 #include "AbstractLinearParabolicPde.hpp"
49 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
73 c_vector<double, ELEMENT_DIM+1>& rPhi,
74 c_matrix<double, SPACE_DIM, ELEMENT_DIM+1>& rGradPhi,
76 c_vector<double,1>& rU,
77 c_matrix<double,1,SPACE_DIM>& rGradU,
91 c_vector<double, ELEMENT_DIM+1>& rPhi,
92 c_matrix<double, SPACE_DIM, ELEMENT_DIM+1>& rGradPhi,
94 c_vector<double,1>& rU,
95 c_matrix<double,1,SPACE_DIM>& rGradU,
AbstractLinearParabolicPde< ELEMENT_DIM, SPACE_DIM > * mpParabolicPde
void SetupLinearSystem(Vec currentSolution, bool computeMatrix)
SimpleLinearParabolicSolver(AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > *pMesh, AbstractLinearParabolicPde< ELEMENT_DIM, SPACE_DIM > *pPde, BoundaryConditionsContainer< ELEMENT_DIM, SPACE_DIM, 1 > *pBoundaryConditions)
void SetupGivenLinearSystem(Vec currentSolution, bool computeMatrix, LinearSystem *pLinearSystem)
virtual c_matrix< double, 1 *(ELEMENT_DIM+1), 1 *(ELEMENT_DIM+1)> ComputeMatrixTerm(c_vector< double, ELEMENT_DIM+1 > &rPhi, c_matrix< double, SPACE_DIM, ELEMENT_DIM+1 > &rGradPhi, ChastePoint< SPACE_DIM > &rX, c_vector< double, 1 > &rU, c_matrix< double, 1, SPACE_DIM > &rGradU, Element< ELEMENT_DIM, SPACE_DIM > *pElement)
virtual c_vector< double, 1 *(ELEMENT_DIM+1)> ComputeVectorTerm(c_vector< double, ELEMENT_DIM+1 > &rPhi, c_matrix< double, SPACE_DIM, ELEMENT_DIM+1 > &rGradPhi, ChastePoint< SPACE_DIM > &rX, c_vector< double, 1 > &rU, c_matrix< double, 1, SPACE_DIM > &rGradU, Element< ELEMENT_DIM, SPACE_DIM > *pElement)
LinearSystem * mpLinearSystem