Skip to content

Commit

Permalink
FEM: trailing whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach authored and wwmayer committed Jul 11, 2016
1 parent abe8457 commit 251a8d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Fem/TestFem.py
Expand Up @@ -84,14 +84,14 @@ def create_new_mesh(self):
reader = csv.reader(points_file)
for p in reader:
self.mesh.addNode(float(p[1]), float(p[2]), float(p[3]), int(p[0]))

with open(mesh_volumes_file, 'r') as volumes_file:
reader = csv.reader(volumes_file)
for v in reader:
self.mesh.addVolume([int(v[2]), int(v[1]), int(v[3]), int(v[4]), int(v[5]),
int(v[7]), int(v[6]), int(v[9]), int(v[8]), int(v[10])],
int(v[0]))

self.mesh_object.FemMesh = self.mesh
self.active_doc.recompute()

Expand Down

0 comments on commit 251a8d4

Please sign in to comment.