FEM: Move known_analysis_type definition to class definition

Signed-off-by: Przemo Firszt <[email protected]>
This commit is contained in:
Przemo Firszt
2015-10-19 21:27:57 +02:00
committed by wmayer
parent f0951065c9
commit cf7f82c48a
+2 -2
View File
@@ -29,6 +29,8 @@ class FemTools(QtCore.QRunnable, QtCore.QObject):
finished = QtCore.Signal(int)
known_analysis_types = ["static", "frequency"]
## The constructor
# @param analysis - analysis object to be used as the core object.
# @param test_mode - True indicates that no real calculations will take place, so ccx bianry is not required. Used by test module.
@@ -38,8 +40,6 @@ class FemTools(QtCore.QRunnable, QtCore.QObject):
QtCore.QRunnable.__init__(self)
QtCore.QObject.__init__(self)
self.known_analysis_types = ["static", "frequency"]
if analysis:
## @var analysis
# FEM analysis - the core object. Has to be present.