public static void IterativeSolverTest([Values(Code.exp_Kcycle_schwarz, Code.exp_gmres_levelpmg)] Code SolverName) { using (var solver = new XdgPoisson3Main()) { int Res, p; #if DEBUG Res = 6; p = 2; #else Res = 12; p = 3; #endif var C = HardCodedControl.Ball3D(pDeg: p, Res: Res, solverCode: SolverName); solver.Init(C); solver.RunSolverMode(); } }
public static void SolverTest([Values(Code.exp_Kcycle_schwarz, Code.exp_gmres_levelpmg)] Code SolverName) { using (var solver = new XdgPoisson3Main()) { int Res, p; #if DEBUG Res = 6; p = 2; #else Res = 12; p = 3; #endif Console.WriteLine("comment me in. Some kinda mis-merge happened"); //var C = HardCodedControl.Ball3D(pDeg: p, Res: Res, solverCode: SolverName); //solver.Init(C); //solver.RunSolverMode(); } }
public static void TestIterativeSolver( #if DEBUG [Values(2)] int dgDeg, [Values(40)] int res, [Values(2)] int dim, [Values(SolverCodes.exp_gmres_levelpmg, SolverCodes.exp_Kcycle_schwarz)] SolverCodes solver