Package meshpy :: Module common :: Class MeshInfoBase
[hide private]
[frames] | no frames]

Class MeshInfoBase

source code

Instance Methods [hide private]
 
set_points(self, points, point_markers=None) source code
 
set_holes(self, hole_starts) source code
 
write_neu(self, outfile, bc={}, periodicity=None, description='MeshPy Output')
Write the mesh out in (an approximation to) Gambit neutral mesh format.
source code
Properties [hide private]
  face_vertex_indices_to_face_marker
Method Details [hide private]

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.


Property Details [hide private]

face_vertex_indices_to_face_marker

Get Method:
unreachable.face_vertex_indices_to_face_marker(self)