FEM: Rename animateNodes to applyDisplacementToNodes
Also animateNodes is now applyDisplacementToNodes. The funcions are not doing animation, but are responsible for deforming mesh. Signed-off-by: Przemo Firszt <przemo@firszt.eu>
This commit is contained in:
@@ -24,13 +24,13 @@ std::string ViewProviderFemMeshPy::representation(void) const
|
||||
|
||||
|
||||
|
||||
PyObject* ViewProviderFemMeshPy::animate(PyObject * args)
|
||||
PyObject* ViewProviderFemMeshPy::applyDisplacement(PyObject * args)
|
||||
{
|
||||
double factor;
|
||||
if (!PyArg_ParseTuple(args, "d", &factor))
|
||||
return 0;
|
||||
|
||||
this->getViewProviderFemMeshPtr()->animateNodes(factor);
|
||||
this->getViewProviderFemMeshPtr()->applyDisplacementToNodes(factor);
|
||||
|
||||
Py_Return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user