FEM: Backward compatibility for post pipeline and multiple fixes
This commit is contained in:
committed by
Benjamin Nauck
parent
53a7e5ab34
commit
c8a4ff0a70
@@ -150,6 +150,22 @@ PyObject* FemPostPipelinePy::load(PyObject* args)
|
||||
Py_Return;
|
||||
}
|
||||
|
||||
|
||||
PyObject* FemPostPipelinePy::getFilter(PyObject* args)
|
||||
{
|
||||
if (!PyArg_ParseTuple(args, "")) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
auto filters = getFemPostPipelinePtr()->getFilter();
|
||||
Py::List sequence;
|
||||
for (auto filter : filters) {
|
||||
sequence.append(Py::asObject(filter->getPyObject()));
|
||||
}
|
||||
|
||||
return Py::new_reference_to(sequence);
|
||||
}
|
||||
|
||||
PyObject* FemPostPipelinePy::recomputeChildren(PyObject* args)
|
||||
{
|
||||
if (!PyArg_ParseTuple(args, "")) {
|
||||
|
||||
Reference in New Issue
Block a user