Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
FEM: add brackets to print statements in CalculiX file writer
  • Loading branch information
berndhahnebach authored and wwmayer committed Oct 5, 2015
1 parent f19d4c4 commit 24a3b27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Mod/Fem/ccxInpWriter.py
Expand Up @@ -169,7 +169,7 @@ def write_node_sets_constraints_force(self, f):
f.write('** concentrated load [N] distributed on all mesh nodes of the given shapes\n')
f.write('** ' + str(frc_obj.Force) + ' N / ' + str(NbrForceNodes) + ' Nodes = ' + str(fobj['NodeLoad']) + ' N on each node\n')
if frc_obj.Force == 0:
print ' Warning --> Force = 0'
print(' Warning --> Force = 0')

def write_materials(self, f):
f.write('\n***********************************************************\n')
Expand Down Expand Up @@ -378,7 +378,7 @@ def write_constraints_force(self, f):

# node_sumarea_table
for n, A in node_area_table:
# print n, ' --> ', A
# print(n, ' --> ', A)
if n in node_sumarea_table:
node_sumarea_table[n] = node_sumarea_table[n] + A
else:
Expand Down Expand Up @@ -681,7 +681,7 @@ def get_shellthickness_element_sets(self):
elemids = []
r = ref[0].Shape.getElement(ref[1])
if r.ShapeType == 'Face':
# print (' ShellThicknessReferenceFace : ', ref[0].Name, ', ', ref[0].Label, ' --> ', ref[1])
# print(' ShellThicknessReferenceFace : ', ref[0].Name, ', ', ref[0].Label, ' --> ', ref[1])
nodeids = self.mesh_object.FemMesh.getNodesByFace(r)
elemids = getFemElementsByNodes(self.fem_element_table, nodeids)
else:
Expand Down

0 comments on commit 24a3b27

Please sign in to comment.