40 #ifndef _DARCYSOLVERTRANSIENTNONLINEAR_H_ 41 #define _DARCYSOLVERTRANSIENTNONLINEAR_H_ 1
43 #include <lifev/darcy/solver/DarcySolverNonLinear.hpp> 44 #include <lifev/darcy/solver/DarcySolverTransient.hpp> 259 template <
typename MeshType >
315 virtual void setup ();
318 virtual void solve ();
379 MatrixElemental& elmatMix,
380 MatrixElemental& elmatReactionTerm )
393 VectorElemental& elvecMix )
411 template <
typename MeshType >
427 template <
typename MeshType >
443 template <
typename MeshType >
449 this->M_rhsTimeAdvance.reset (
new vector_Type (
this->M_primalField->getFESpace().map() ) );
452 this->M_timeAdvance->updateRHSFirstDerivative();
456 * (
this->M_rhsTimeAdvance) =
this->M_timeAdvance->rhsContributionFirstDerivative ();
darcySolverLinear_Type::dataPtr_Type dataPtr_Type
Shared pointer for the data type.
DarcySolverNonLinear< mesh_Type > darcySolverNonLinear_Type
Darcy non linear solver class.
virtual void solve()
Solve the problem calling the non linear solver.
void setInversePermeability(const matrixFctPtr_Type &invPerm)
Set the inverse of diffusion tensor.
DarcySolverTransientNonLinear()
Constructor for the class.
virtual ~DarcySolverTransientNonLinear()
Virtual destructor.
virtual void setup()
Set up the linear solver, the preconditioner for the linear system and the exporter to save the solut...
implements a mixed-hybrid FE Darcy solver for transient problems
darcySolverTransientNonLinear_Type & operator=(const darcySolverTransientNonLinear_Type &)
Inhibited assign operator.
virtual void localMatrixComputation(const UInt &iElem, MatrixElemental &elmatMix, MatrixElemental &elmatReactionTerm)
Compute elementary matrices.
darcySolverLinear_Type::vector_Type vector_Type
Distributed vector.
darcySolverLinear_Type::data_Type data_Type
Typedef for the data type.
darcySolverLinear_Type::matrixFctPtr_Type matrixFctPtr_Type
Shared pointer to a matrix value function.
implements a mixed-hybrid FE Darcy solver.
virtual void localVectorComputation(const UInt &iElem, VectorElemental &elvecMix)
Computes local vectors.
MeshType mesh_Type
Typedef for mesh template.
DarcySolverTransientNonLinear(const darcySolverTransientNonLinear_Type &)
Inhibited copy constructor.
virtual void resetVariables()
Update all problem variables.
DarcySolverTransientNonLinear< mesh_Type > darcySolverTransientNonLinear_Type
Self typedef.
implements a non-linear transient mixed-hybrid FE Darcy solver.
DarcySolverLinear< mesh_Type > darcySolverLinear_Type
Darcy solver class.
uint32_type UInt
generic unsigned integer (used mainly for addressing)
DarcySolverTransient< mesh_Type > darcySolverTransient_Type
Darcy transient solver class.
implements a non-linear Darcy solver