36 #ifndef _ABSTRACTLINEARELLIPTICPDE_HPP_
37 #define _ABSTRACTLINEARELLIPTICPDE_HPP_
43 #include "ChastePoint.hpp"
45 #include "Element.hpp"
58 template <
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
64 friend class boost::serialization::access;
71 template<
class Archive>
72 void serialize(Archive & archive,
const unsigned int version)
141 template <
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
144 return ComputeConstantInUSourceTerm(rNode.GetPoint(), NULL);
147 template <
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
150 return ComputeLinearInUCoeffInSourceTerm(rNode.
GetPoint(), NULL);
153 #endif //_ABSTRACTLINEARELLIPTICPDE_HPP_
virtual double ComputeLinearInUCoeffInSourceTermAtNode(const Node< SPACE_DIM > &rNode)
#define TEMPLATED_CLASS_IS_ABSTRACT_2_UNSIGNED(T)
virtual ~AbstractLinearEllipticPde()
virtual double ComputeConstantInUSourceTermAtNode(const Node< SPACE_DIM > &rNode)
virtual c_matrix< double, SPACE_DIM, SPACE_DIM > ComputeDiffusionTerm(const ChastePoint< SPACE_DIM > &rX)=0
virtual double ComputeLinearInUCoeffInSourceTerm(const ChastePoint< SPACE_DIM > &rX, Element< ELEMENT_DIM, SPACE_DIM > *pElement)=0
virtual double ComputeConstantInUSourceTerm(const ChastePoint< SPACE_DIM > &rX, Element< ELEMENT_DIM, SPACE_DIM > *pElement)=0
AbstractLinearEllipticPde()
void serialize(Archive &archive, const unsigned int version)
ChastePoint< SPACE_DIM > GetPoint() const