* @param kspType linear solver type (GMRES or BICGSTAB)
* @param pcType preconditioner (ILU,LU or NONE)
*/
- void setLinearSolver(linearSolver solverName, preconditioner pcType);
+ void setLinearSolver(linearSolver solverName, preconditioner pcType, double maxIts=50);
/** \fn setNewtonSolver
* \brief sets the Newton type algorithm for solving the nonlinear algebraic system arising from the discretisation of the PDE
* @param pcType preconditioner (ILU,LU or NONE)
* @param scaling performs a bancing of the system matrix before calling th preconditioner
*/
- void setLinearSolver(linearSolver kspType, preconditioner pcType, bool scaling=false)
+ void setLinearSolver(linearSolver kspType, preconditioner pcType, double maxIts=50, bool scaling=false)
{
- ProblemCoreFlows::setLinearSolver(kspType, pcType);
+ ProblemCoreFlows::setLinearSolver(kspType, pcType, maxIts);
_isScaling= scaling;
};
* */
virtual void porosityGradientSourceVector()=0;
- //matrice de gravite
-
/** \fn jacobian
* \brief Calcule la jacobienne de la ConditionLimite convection
* \Details est une fonction virtuelle pure, qu'on surcharge dans chacun des modèles