43 return ceps::runtimeCast<LaplacianProblem*>(
m_problem);
56 m_bcAsb = ceps::getNew<FEDivKGradBCAssembler>(
m_fe);
const CepsVector< Unknown * > & getUnknowns() const
List of unknowns of the pb.
AbstractAssembler * m_bcAsb
Assembler for Robin and Neumann BCs.
AbstractAssembler * m_opAsb
Assembler for the operator matrix.
AbstractPdeProblem * m_problem
Link to PDE to solve.
Assembles the stiffness matrix for a given k-simplexes geometry.
void setKForUnknown(Unknown *u, CepsMathScalar k)
Register the diffusion coefficient (x,t,...) for given unknown.
Solve a static problem using Finite Elements. Based on finite elements assemblers.
FiniteElements * m_fe
Geometry and reference FE.
Laplacian PDE, single unknown, constant stiffness coefficient.
void initializeAssemblers() override
Creates the LHS assembler.
LaplacianProblem * getLaplacianProblem() const
Returns a pointer to the linked problem with appropriate type.
LaplacianSolver(LaplacianProblem *problem)
Constructor.
~LaplacianSolver() override
Destructor.
A class used to defined an unknown of a PDE problem The unknown can be defined on a specific region,...