carputils
Doxygen code documentation for the python framework controlling openCARP
|
Functions | |
def | existence (mesh_name) |
check if the files mesh_name .pts, mesh_name .elem, mesh_name .lon exist More... | |
def | queryEdges (basemesh) |
QUERYEDGES query min/mean/max sizes of with given mesh (obtained from 'meshtool query edges') More... | |
def | write (msh) |
Write the mesh stats (m_el and centroid) to msh+'.stats.out.txt. More... | |
def | read (msh) |
Read a mesh stats file (msh+'.stats.txt) for centroid and mean edge length. More... | |
def carputils.carpio.msh_stats.existence | ( | mesh_name | ) |
check if the files mesh_name
.pts, mesh_name
.elem, mesh_name
.lon exist
mesh_name str base name of the openCARP mesh
an object with boolean attributes exists
, points
elements
, fibers
indicating if the corresponding file exists
def carputils.carpio.msh_stats.queryEdges | ( | basemesh | ) |
QUERYEDGES query min/mean/max sizes of with given mesh (obtained from 'meshtool query edges')
parameters: basemesh (input) path to basename of the mesh
def carputils.carpio.msh_stats.read | ( | msh | ) |
Read a mesh stats file (msh+'.stats.txt) for centroid and mean edge length.
params msh (input) Meshname of a mesh with an already generated stats file.
return:
m_el centroid
def carputils.carpio.msh_stats.write | ( | msh | ) |
Write the mesh stats (m_el and centroid) to msh+'.stats.out.txt.
params: msh (input) Meshname outputs: