Пример #1
0
 private static void RunFullVersion(ForwardProject project)
 {
     using (var mpi_world = Mpi.Init()) {
         var mpi = mpi_world.Dup();
         using (var memoryProvider = new FftWMemoryProvider()) {
             using (var runner = new ExtremeMtSolverRunner(project, memoryProvider, mpi)) {
                 var model = ModelGenUtils.LoadCartesianModel(project.ModelFile, mpi);
                 runner.Run(model);
             }
         }
         mpi.Dispose();
     }
 }