FEM: code formating, typos in comments

some aren't really typos but are more cosmetic.
This commit is contained in:
Unknown
2017-12-01 19:42:13 +01:00
committed by wmayer
parent 23bc8f356d
commit fd7e2d9e0c
3 changed files with 4 additions and 4 deletions

View File

@@ -874,7 +874,7 @@ class FemInputWriterCcx(FemInputWriter.FemInputWriter):
f.write('\n')
# grav (erdbeschleunigung) is equal for all elements
# should be only one constraint
# different elment sets for different density are written in the material element sets already
# different element sets for different density are written in the material element sets already
def write_constraints_force(self, f):
# check shape type of reference shape and get node loads

View File

@@ -764,7 +764,7 @@ def build_mesh_faces_of_volume_elements(face_table, femelement_table):
for n in face_table[veID]:
index = femelement_table[veID].index(n)
# print(index)
face_nodenumber_table[veID].append(index + 1) # lokale node number = index + 1
face_nodenumber_table[veID].append(index + 1) # local node number = index + 1
# print('VolElement:', veID)
# print(' --> ', femelement_table[veID])
# print(' --> ', face_table[veID])
@@ -1111,7 +1111,7 @@ def get_reference_group_elements(obj, aPart):
FreeCAD.Console.PrintError('This should not happen, please debug!\n')
# in this case we would not have needed to use the is_same_geometry() inside find_element_in_shape()
# AFAIK we could have used the Part methods isPartner() or even isSame()
# We're gonna find out when we need to debug this :-)!
# We're going to find out when we need to debug this :-)!
return (key, sorted(elements))

View File

@@ -385,7 +385,7 @@ class FemTest(unittest.TestCase):
self.assertEqual(len(analysis.Group), get_defmake_count() - 1) # because of the analysis itself count -1
def test_pyimport_all_FEM_modules(self):
# we're gonna try to import all python modules from FreeCAD Fem
# we're going to try to import all python modules from FreeCAD Fem
pymodules = []
# collect all Python modules in Fem