carputils
Doxygen code documentation for the python framework controlling openCARP
|
Base framework for the mesh generation classes. More...
Classes | |
class | Mesh |
A generic mesh class the provides the core functionality in 1D and 3D. More... | |
class | Mesh2D |
A generic mesh class adding the core functionality for 2D meshes. More... | |
class | Mesh3D |
A generic mesh class adding the core functionality for 3D meshes. More... | |
Functions | |
def | closest_to_rangles (angles) |
Return the indicies of the angles closest to a series of right angles. More... | |
def | distribute_elements (n_type1, n_type2, type1, type2) |
Distribute two element types evenly throughout a layer. More... | |
Variables | |
xrange = range | |
list | ELEM_ORDER = ['hexa', 'prism1', 'prism2', 'tetra', 'quad', 'tri', 'line'] |
dictionary | ELEM_NUM_NODES |
dictionary | TET_SUBDIVISIONS |
dictionary | TRI_SUBDIVISIONS |
dictionary | FACE_SELECTIONS |
dictionary | prism_faces |
dictionary | TET_FACE_SELECTIONS |
dictionary | CARP_ELEM_FORMAT |
list | VTK_HEX_REORDER = [0, 1, 3, 2, 4, 5, 7, 6] |
list | VTK_PRISM_REORDER = [0, 2, 4, 1, 3, 5] |
list | VTK_QUAD_REORDER = [0, 1, 3, 2] |
dictionary | VTK_CELL_TYPES |
Base framework for the mesh generation classes.
This module contains the core framework used by the other mesh generation modules, and implements shared functionality including the tessellation of larger elements into tetrahedra, fibre field generation and mesh file output.
For information on the detail of the implementation of this module and other derived classes, see the meshing section of the carputils documentation.
def carputils.mesh.general.closest_to_rangles | ( | angles | ) |
Return the indicies of the angles closest to a series of right angles.
def carputils.mesh.general.distribute_elements | ( | n_type1, | |
n_type2, | |||
type1, | |||
type2 | |||
) |
Distribute two element types evenly throughout a layer.
dictionary carputils.mesh.general.CARP_ELEM_FORMAT |
dictionary carputils.mesh.general.ELEM_NUM_NODES |
list carputils.mesh.general.ELEM_ORDER = ['hexa', 'prism1', 'prism2', 'tetra', 'quad', 'tri', 'line'] |
dictionary carputils.mesh.general.FACE_SELECTIONS |
dictionary carputils.mesh.general.prism_faces |
dictionary carputils.mesh.general.TET_FACE_SELECTIONS |
dictionary carputils.mesh.general.TET_SUBDIVISIONS |
dictionary carputils.mesh.general.TRI_SUBDIVISIONS |
dictionary carputils.mesh.general.VTK_CELL_TYPES |
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] |
carputils.mesh.general.xrange = range |