MCPcopy Create free account
hub / github.com/SimVascular/SimVascular / MeshExists

Function MeshExists

Code/Source/PythonAPI/MeshingMesher_PyClass.cxx:81–90  ·  view source on GitHub ↗

------------ MeshExists ------------

Source from the content-addressed store, hash-verified

79//------------
80//
81static bool
82MeshExists(PyUtilApiFunction& api, cvMeshObject* mesher)
83{
84 if (!mesher->HasVolumeMesh()) {
85 api.error("No volume mesh has been generated.");
86 return nullptr;
87 }
88
89 return true;
90}
91
92}; // namespace MeshingMesher
93

Callers 8

Mesher_get_face_polydataFunction · 0.85
Mesher_get_meshFunction · 0.85
Mesher_get_surfaceFunction · 0.85
Mesher_write_meshFunction · 0.85
Mesher_set_vtk_polydataFunction · 0.85
Mesher_write_statsFunction · 0.85

Calls 2

HasVolumeMeshMethod · 0.80
errorMethod · 0.80

Tested by

no test coverage detected