script/tile_periodic_mesh.py script

The program scales a periodic input mesh (a rectangle or box) in filename_in by a scale factor and generates a new mesh by repeating the scaled original mesh in a regular grid (scale x scale [x scale]) if repeat option is None, or in a grid nx x ny x nz for repeat ‘nx,ny,nz’, producing again a periodic rectangle or box mesh.

class tile_periodic_mesh.ParseRepeat(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)[source]
tile_periodic_mesh.main()[source]