Eigen::Matrix< CepsScalar, 3, 3 > CepsMathTensor
Tensor, eigen format.
Astract Problem which does not depend on time.
Encapsulates all the geometrical data.
Laplacian PDE, single unknown, constant stiffness coefficient.
LaplacianProblem(Geometry *g, InputParameters *p=nullptr, const CepsMathTensor &k=CepsMathTensor::Identity())
Constructor from geometry and optional input file.
CepsMathTensor m_k
Diffusion tensor.
void run() override
Run does nothing. The tests call directly a LaplacianSolver solve method.
~LaplacianProblem() override
Destructor.
void setupWithParameters(InputParameters *p) override
Sets the diffusion tensor.
CepsMathTensor getDiffusionTensor(Unknown *u=nullptr) const
Diffusion tensor.
void defineUnknowns() override
Lists the unknowns of the problem (one here)
A class used to defined an unknown of a PDE problem The unknown can be defined on a specific region,...