From d4535dadb4ea4cf6973fc5f9964bd49fbf33dde3 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Sat, 11 Jan 2020 20:33:29 +0100 Subject: [PATCH] use American english --- processing/post/addCompatibilityMismatch.py | 4 ++-- src/mesh_grid.f90 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/processing/post/addCompatibilityMismatch.py b/processing/post/addCompatibilityMismatch.py index 8aff13c53..29e874614 100755 --- a/processing/post/addCompatibilityMismatch.py +++ b/processing/post/addCompatibilityMismatch.py @@ -182,8 +182,8 @@ for name in filenames: nodes = damask.grid_filters.node_coord(size,F) if options.shape: - centres = damask.grid_filters.cell_coord(size,F) - shapeMismatch = shapeMismatch( size,table.get(options.defgrad).reshape(grid[2],grid[1],grid[0],3,3),nodes,centres) + centers = damask.grid_filters.cell_coord(size,F) + shapeMismatch = shapeMismatch( size,table.get(options.defgrad).reshape(grid[2],grid[1],grid[0],3,3),nodes,centers) table.add('shapeMismatch(({}))'.format(options.defgrad), shapeMismatch.reshape((-1,1)), scriptID+' '+' '.join(sys.argv[1:])) diff --git a/src/mesh_grid.f90 b/src/mesh_grid.f90 index 3d839e1c9..62ce67397 100644 --- a/src/mesh_grid.f90 +++ b/src/mesh_grid.f90 @@ -296,7 +296,7 @@ end subroutine readGeom !--------------------------------------------------------------------------------------------------- -!> @brief Calculate undeformed position of IPs/cell centres (pretend to be an element) +!> @brief Calculate undeformed position of IPs/cell centers (pretend to be an element) !--------------------------------------------------------------------------------------------------- function IPcoordinates0(grid,geomSize,grid3Offset)