diff --git a/src/Mod/Fem/FemTools.py b/src/Mod/Fem/FemTools.py index 9fce4929609e..45bc2ac6e7eb 100644 --- a/src/Mod/Fem/FemTools.py +++ b/src/Mod/Fem/FemTools.py @@ -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 @@ def __init__(self, analysis=None, test_mode=False): 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.