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

            return(grid);
        }