61 m_bcAsb = ceps::getNew<FEDivKGradBCAssembler>(
m_fe);
68 return ceps::runtimeCast<HeatProblem*>(
m_problem);
void setMatrix(DistributedMatrix *mat)
The matrix to assemble.
const CepsVector< Unknown * > & getUnknowns() const
List of unknowns of the pb.
DMatPtr m_lhs
Left hand side of the system.
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.
void setKForUnknown(Unknown *u, CepsMathScalar k)
Register the diffusion coefficient (x,t,...) for given unknown.
Assembles the heat problem matrix for a given set of finite elements. here the diffusion coefficient ...
Solve a timed problem using Finite Elements. Implemented numerical schemes: SBDF (1 (FBEuler),...
FiniteElements * m_fe
Geometry and reference FE.
Heat PDE, single unknown, constant diffusion coeff 1, homogeneous Neumann (no BC defined)
void initializeAssemblers() override
Creates the right type of assemblers for LHS and BCs. Needs to be overriden.
~HeatSolver() override
Destructor.
HeatProblem * getHeatProblem() const
Returns a pointer to the pb with appropriate type.
HeatSolver()=delete
Deleted constructor.
A class used to defined an unknown of a PDE problem The unknown can be defined on a specific region,...