carputils
Doxygen code documentation for the python framework controlling openCARP
Classes | Namespaces | Functions | Variables
general.py File Reference

Classes

class  carputils.mesh.general.Mesh
 A generic mesh class the provides the core functionality in 1D and 3D. More...
 
class  carputils.mesh.general.Mesh2D
 A generic mesh class adding the core functionality for 2D meshes. More...
 
class  carputils.mesh.general.Mesh3D
 A generic mesh class adding the core functionality for 3D meshes. More...
 

Namespaces

 carputils.mesh.general
 

Functions

def carputils.mesh.general.closest_to_rangles (angles)
 Return the indicies of the angles closest to a series of right angles. More...
 
def carputils.mesh.general.distribute_elements (n_type1, n_type2, type1, type2)
 Distribute two element types evenly throughout a layer. More...
 

Variables

 carputils.mesh.general.xrange = range
 
list carputils.mesh.general.ELEM_ORDER = ['hexa', 'prism1', 'prism2', 'tetra', 'quad', 'tri', 'line']
 
dictionary carputils.mesh.general.ELEM_NUM_NODES
 
dictionary carputils.mesh.general.TET_SUBDIVISIONS
 
dictionary carputils.mesh.general.TRI_SUBDIVISIONS
 
dictionary carputils.mesh.general.FACE_SELECTIONS
 
dictionary carputils.mesh.general.prism_faces
 
dictionary carputils.mesh.general.TET_FACE_SELECTIONS
 
dictionary carputils.mesh.general.CARP_ELEM_FORMAT
 
list carputils.mesh.general.VTK_HEX_REORDER = [0, 1, 3, 2, 4, 5, 7, 6]
 
list carputils.mesh.general.VTK_PRISM_REORDER = [0, 2, 4, 1, 3, 5]
 
list carputils.mesh.general.VTK_QUAD_REORDER = [0, 1, 3, 2]
 
dictionary carputils.mesh.general.VTK_CELL_TYPES