FEM: Move known_analysis_type definition to class definition
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
This commit is contained in:
parent
f0951065c9
commit
cf7f82c48a
|
@ -29,6 +29,8 @@ class FemTools(QtCore.QRunnable, QtCore.QObject):
|
||||||
|
|
||||||
finished = QtCore.Signal(int)
|
finished = QtCore.Signal(int)
|
||||||
|
|
||||||
|
known_analysis_types = ["static", "frequency"]
|
||||||
|
|
||||||
## The constructor
|
## The constructor
|
||||||
# @param analysis - analysis object to be used as the core object.
|
# @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.
|
# @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.QRunnable.__init__(self)
|
||||||
QtCore.QObject.__init__(self)
|
QtCore.QObject.__init__(self)
|
||||||
|
|
||||||
self.known_analysis_types = ["static", "frequency"]
|
|
||||||
|
|
||||||
if analysis:
|
if analysis:
|
||||||
## @var analysis
|
## @var analysis
|
||||||
# FEM analysis - the core object. Has to be present.
|
# FEM analysis - the core object. Has to be present.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user