Fem: add a scale() function to FemPostPipeline

This commit is contained in:
wmayer
2022-04-15 12:08:47 +02:00
parent e9e04221c4
commit f00a3f59c4
6 changed files with 73 additions and 1 deletions

View File

@@ -51,6 +51,16 @@ PyObject* FemPostPipelinePy::read(PyObject *args)
return nullptr;
}
PyObject* FemPostPipelinePy::scale(PyObject *args)
{
double scale;
if (PyArg_ParseTuple(args, "d", &scale)) {
getFemPostPipelinePtr()->scale(scale);
Py_Return;
}
return nullptr;
}
PyObject* FemPostPipelinePy::load(PyObject *args)
{
PyObject* py;