Eigen::Matrix< CepsScalar, 3, 3 > CepsMathTensor
Tensor, eigen format.
Astract Problem which does depend on time.
Encapsulates all the geometrical data.
Heat PDE, single unknown, constant diffusion coeff 1, homogeneous Neumann (no BC defined)
CepsMathTensor m_k
Diffusion tensor.
HeatProblem(Geometry *g, InputParameters *p=nullptr, const CepsMathTensor &k=CepsMathTensor::Identity())
Constructor from geometry and optional input file.
virtual CepsMathTensor getDiffusionTensor(Unknown *u=nullptr) const
Diffusion tensor.
void defineUnknowns() override
Lists the unknowns of the problem (one here)
void defineSourceTerms() override
Lists the unknowns of the problem (one here)
void run() override
Computes the solution.
~HeatProblem() override
Destructor.
void setupWithParameters(InputParameters *params) override
Set attributes from input file. Parameters are passed as arguments in case one wants to use other par...
A class used to defined an unknown of a PDE problem The unknown can be defined on a specific region,...