FEM: small changes in comments in FemTools
This commit is contained in:
parent
938dfbbca9
commit
240c43b3b7
|
@ -105,7 +105,7 @@ class FemTools(QtCore.QRunnable, QtCore.QObject):
|
||||||
# - U1, U2, U3 - deformation
|
# - U1, U2, U3 - deformation
|
||||||
# - Uabs - absolute deformation
|
# - Uabs - absolute deformation
|
||||||
# - Sabs - Von Mises stress
|
# - Sabs - Von Mises stress
|
||||||
# @param limit cutoff value. All values over the limit are treated as equel to the limit. Useful for filtering out hot spots.
|
# @param limit cutoff value. All values over the limit are treated as equal to the limit. Useful for filtering out hot spots.
|
||||||
def show_result(self, result_type="Sabs", limit=None):
|
def show_result(self, result_type="Sabs", limit=None):
|
||||||
self.update_objects()
|
self.update_objects()
|
||||||
if result_type == "None":
|
if result_type == "None":
|
||||||
|
@ -159,7 +159,7 @@ class FemTools(QtCore.QRunnable, QtCore.QObject):
|
||||||
self.mesh = None
|
self.mesh = None
|
||||||
## @var materials
|
## @var materials
|
||||||
# set of materials from the analysis. Updated with update_objects
|
# set of materials from the analysis. Updated with update_objects
|
||||||
# Induvidual materials are "App::MaterialObjectPython" type
|
# Individual materials are "App::MaterialObjectPython" type
|
||||||
self.materials = []
|
self.materials = []
|
||||||
## @var fixed_constraints
|
## @var fixed_constraints
|
||||||
# set of fixed constraints from the analysis. Updated with update_objects
|
# set of fixed constraints from the analysis. Updated with update_objects
|
||||||
|
@ -348,9 +348,7 @@ class FemTools(QtCore.QRunnable, QtCore.QObject):
|
||||||
|
|
||||||
## Sets analysis type.
|
## Sets analysis type.
|
||||||
# @param self The python object self
|
# @param self The python object self
|
||||||
# @param analysis_type type of the analysis. Allowed values are:
|
# @param analysis_type type of the analysis.
|
||||||
# - static
|
|
||||||
# - frequency
|
|
||||||
def set_analysis_type(self, analysis_type=None):
|
def set_analysis_type(self, analysis_type=None):
|
||||||
if analysis_type is not None:
|
if analysis_type is not None:
|
||||||
self.analysis_type = analysis_type
|
self.analysis_type = analysis_type
|
||||||
|
|
Loading…
Reference in New Issue
Block a user