예제 #1
0
파일: Tests.cs 프로젝트: nehzatemamy/BoSSS
        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();
            }
        }
예제 #2
0
파일: Tests.cs 프로젝트: rieckmann/BoSSS
        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();
            }
        }
예제 #3
0
        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