FEM: Add EigenmodeFrequency property to result object

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
This commit is contained in:
Przemo Firszt
2015-10-31 11:45:13 +00:00
parent 9531c0b088
commit a85c68aa65
3 changed files with 14 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ FemResultObject::FemResultObject()
ADD_PROPERTY_TYPE(StressValues,(0), "Fem",Prop_None,"List of Von Misses strass values");
ADD_PROPERTY_TYPE(Mesh,(0), "General",Prop_None,"Link to the corrresponding mesh");
ADD_PROPERTY_TYPE(Eigenmode,(0), "Fem",Prop_None,"Number of the eigenmode");
ADD_PROPERTY_TYPE(EigenmodeFrequency,(0), "Fem",Prop_None,"Frequency of the eigenmode");
}
FemResultObject::~FemResultObject()

View File

@@ -55,6 +55,8 @@ public:
App::PropertyFloatList StressValues;
/// Eigenmode number
App::PropertyInteger Eigenmode;
/// Eigenmode frequency
App::PropertyFloat EigenmodeFrequency;
/// returns the type name of the ViewProvider
virtual const char* getViewProviderName(void) const {