Example #1
0
 void CreateGridConverter()
 {
     if (mesherSettings.PeriodicMap != null)
     {
         gridConverter = new GridConverter <T>(settings.Boundary, mesherSettings.PeriodicMap);
     }
     else
     {
         gridConverter = new GridConverter <T>(settings.Boundary);
     }
 }
Example #2
0
        internal VoronoiGrid Convert2VoronoiGrid(BoundaryMesh <T> mesh, Settings settings)
        {
            VoronoiGrid grid = GridConverter.Convert2VoronoiGrid(mesh, settings.GridInfo);

            return(grid);
        }