Exemple #1
0
        static void Main(string[] args)
        {
            var input = new SimulationInput();

            SolverMGRTE.ExecuteMGRTE(input);

            Console.ReadLine();
        }
Exemple #2
0
 /// <summary>
 // This is the main function for RTE_2D.
 // Note: we assume the spatial domain has "nt" intervals,
 // starting from "-x" to "+x" with increasing "x" coordinate;
 // starting from "0" to "+z" with increasing "z" coordinate;
 /// </summary>
 private void ExecuteSolver()
 {
     if ((_MeshInputVM.AMeshLevel > 8) || (_MeshInputVM.SMeshLevel > 8))
     {
         logger.Info(() => "Angular or Spatial mesh level is larger than 8\n");
     }
     else
     {
         Measurement measurement = SolverMGRTE.ExecuteMGRTE(_MeshInputVM.CurrentInput);
         var         meshData    = new MapData(measurement.inten, measurement.xloc, measurement.zloc, measurement.dx, measurement.dz);
         Commands.Mesh_PlotMap.Execute(meshData);
     }
 }