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:
Przemo Firszt
2015-05-27 16:04:15 +01:00
parent 4702b72cb1
commit 6f472719e0
5 changed files with 9 additions and 9 deletions

View File

@@ -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;
}