public NonLinearConjugateGradient( SolverParameters solverParameters) { solverParam = solverParameters; var gaussSeidelSolverParam = new SolverParameters( 1, solverParam.ErrorTolerance, solverParam.SOR, solverParam.MaxThreadNumber); gaussSeidelSolver = new ProjectedGaussSeidel(gaussSeidelSolverParam); }
public ProjectedSymmetricGS( SolverParameters solverParameters, LinearProblemBuilderEngine lcpEngine) { SolverParameters = solverParameters; var gaussSeidelSolverParam = new SolverParameters( 2, SolverParameters.ErrorTolerance, 1.0, SolverParameters.MaxThreadNumber); gsSolver = new ProjectedGaussSeidel(gaussSeidelSolverParam); this.lcpEngine = lcpEngine; }
public NonLinearGaussSeidel( SolverParameters solverParameters, LinearProblemBuilderEngine lcpEngine, IntegrateVelocity velocityIntegration) { solverParam = solverParameters; this.lcpEngine = lcpEngine; this.velocityIntegration = velocityIntegration; var gaussSeidelSolverParam = new SolverParameters( 1, solverParam.ErrorTolerance, solverParam.SOR, solverParam.MaxThreadNumber); gaussSeidelSolver = new ProjectedGaussSeidel(gaussSeidelSolverParam); }
public RedBlackProjectedGaussSeidel( SolverParameters solverParameters) { SolverParameters = solverParameters; }
public FischerNewton(SolverParameters solverParameters) { SolverParameters = solverParameters; solver = new GMRES(); }