FEM: Adopt post extraction code to updated main

This commit is contained in:
Stefan Tröger
2025-05-06 16:37:03 +02:00
parent 318d0645f0
commit 974f41fc96
13 changed files with 47 additions and 36 deletions

View File

@@ -29,7 +29,7 @@
#include "FemPostObjectPy.h"
#include "FemPostObjectPy.cpp"
#ifdef BUILD_FEM_VTK_WRAPPER
#ifdef FC_USE_VTK_PYTHON
#include <vtkDataSet.h>
#include <vtkPythonUtil.h>
#endif //BUILD_FEM_VTK
@@ -61,7 +61,7 @@ PyObject* FemPostObjectPy::writeVTK(PyObject* args)
PyObject* FemPostObjectPy::getDataSet(PyObject* args)
{
#ifdef BUILD_FEM_VTK_WRAPPER
#ifdef FC_USE_VTK_PYTHON
// we take no arguments
if (!PyArg_ParseTuple(args, "")) {
return nullptr;