write_neu(self,
outfile,
bc={ } ,
periodicity=None,
description=' MeshPy Output ' )
| source code
|
Write the mesh out in (an approximation to) Gambit neutral mesh
format.
outfile is a file-like object opened for writing.
bc is a dictionary mapping single face markers (or frozensets of them)
to a tuple (bc_name, bc_code).
periodicity is either a tuple (face_marker, (px,py,..)) giving the
face marker of the periodic boundary and the period in each coordinate
direction (0 if none) or the value None for no periodicity.
|