Beispiel #1
0
 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;
 }
Beispiel #2
0
 public SmootherSolver(string fieldName, double tolerance, double relTol, SmootherTypes smootherType) : base(fieldName, tolerance, relTol)
 {
     solver            = SolverTypes.smoothSolver;
     this.SmootherType = smootherType;
 }