public GAMG(string fieldName, double tolerance, double relTol, SmootherTypes smootherType) : base(fieldName, tolerance, relTol) { this.solver = SolverTypes.GAMG; this.smoother = smootherType; cacheAgglomeration = SwitchType.on; nPreSweeps = 0; preSweepsLevelMultiplier = 1; maxPostSweeps = 4; nPostSweeps = 2; postSweepsLevelMultiplier = 1; maxPostSweeps = 4; nFinestSweeps = 2; interpolateCorrection = SwitchType.off; directSolveCoarsest = SwitchType.off; }
public SmootherSolver(string fieldName, double tolerance, double relTol, SmootherTypes smootherType) : base(fieldName, tolerance, relTol) { solver = SolverTypes.smoothSolver; this.SmootherType = smootherType; }