FEM: All FEM results are stored in a single object

Functionality previously provided by setNodeColorByResult is now
in setNodeColorByScalars. FemResult* object is no longer required,
the function accepts list of elements and a list of values.

Functionality previously provided by setNodeDisplacementByResult is now
in setNodeDisplacementByVectors. FemResult* object is no longer required,
the function accepts list of elements and a list of vectors.

A side effect: FemResultValues and FemResultVector are no longer used
and have bee removed.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
This commit is contained in:
Przemo Firszt
2015-06-15 14:35:56 +01:00
committed by wmayer
parent ed6af74a78
commit 4caa464ebb
12 changed files with 125 additions and 480 deletions

View File

@@ -52,8 +52,6 @@
#include "FemConstraintPulley.h"
#include "FemResultObject.h"
#include "FemResultValue.h"
#include "FemResultVector.h"
extern struct PyMethodDef Fem_methods[];
@@ -141,11 +139,7 @@ void AppFemExport initFem()
Fem::ConstraintPulley ::init();
Fem::FemResultObject ::init();
Fem::FemResultPython ::init();
Fem::FemResultValue ::init();
Fem::FemResultValuePython ::init();
Fem::FemResultVector ::init();
Fem::FemResultVectorPython ::init();
Fem::FemResultObjectPython ::init();
}
} // extern "C"