FEM: Fix test if VTK or VTK python is not available (#21168)

* FEM: Fix test if VTK or VTK python is not available
* FEM: Make test work if vtk python not installed
This commit is contained in:
Stefan Tröger
2025-05-08 20:55:45 +00:00
committed by GitHub
parent 4b459846d4
commit 97d8608557
5 changed files with 36 additions and 15 deletions

View File

@@ -1653,7 +1653,9 @@ void FemMesh::read(const char* FileName)
void FemMesh::writeVTK(const std::string& fileName, bool highest) const
{
#ifdef FC_USE_VTK
FemVTKTools::writeVTKMesh(fileName.c_str(), this, highest);
#endif
}
void FemMesh::writeABAQUS(const std::string& Filename,