36#ifndef _ABSTRACTLINEARELLIPTICPDE_HPP_
37#define _ABSTRACTLINEARELLIPTICPDE_HPP_
40#include <boost/serialization/base_object.hpp>
42#include "AbstractLinearPde.hpp"
44#include "ChastePoint.hpp"
58template <
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
71 template<
class Archive>
72 void serialize(Archive & archive,
const unsigned int version)
74 archive & boost::serialization::base_object<AbstractLinearPde<ELEMENT_DIM, SPACE_DIM> >(*this);
72 void serialize(Archive & archive,
const unsigned int version) {
…}
136template <
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
139 return ComputeConstantInUSourceTerm(rNode.
GetPoint(),
nullptr);
142template <
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
145 return ComputeLinearInUCoeffInSourceTerm(rNode.
GetPoint(),
nullptr);
virtual double ComputeConstantInUSourceTerm(const ChastePoint< SPACE_DIM > &rX, Element< ELEMENT_DIM, SPACE_DIM > *pElement)=0
virtual c_matrix< double, SPACE_DIM, SPACE_DIM > ComputeDiffusionTerm(const ChastePoint< SPACE_DIM > &rX)=0
~AbstractLinearEllipticPde() override=default
virtual double ComputeConstantInUSourceTermAtNode(const Node< SPACE_DIM > &rNode)
friend class boost::serialization::access
virtual double ComputeLinearInUCoeffInSourceTermAtNode(const Node< SPACE_DIM > &rNode)
AbstractLinearEllipticPde()
void serialize(Archive &archive, const unsigned int version)
virtual double ComputeLinearInUCoeffInSourceTerm(const ChastePoint< SPACE_DIM > &rX, Element< ELEMENT_DIM, SPACE_DIM > *pElement)=0
ChastePoint< SPACE_DIM > GetPoint() const