Skip to content

Commit 98b9a5a

Browse files
author
uzerbianati
committed
WIP
Signed-off-by: uzerbianati <zerbinati@maths.ox.ac.uk>
1 parent 383dc0a commit 98b9a5a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ngsPETSc/utils/firedrake/hierarchies.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def snapToNetgenDMPlex(ngmesh, petscPlex, comm):
2727
'''
2828
This function snaps the coordinates of a DMPlex mesh to the coordinates of a Netgen mesh.
2929
'''
30-
logger.info(f"\t\t\t[{time.time()}]Sanpping the DMPlex to NETGEN mesh")
30+
logger.info(f"\t\t\t[{time.time()}]Snapping the DMPlex to NETGEN mesh")
3131
if len(ngmesh.Elements3D()) == 0:
3232
ng_coelement = ngmesh.Elements1D
3333
else:
@@ -52,7 +52,7 @@ def snapToNetgenDMPlex(ngmesh, petscPlex, comm):
5252
petscPlexCoordinates.setArray(petscCoordinates.reshape((-1,1)))
5353
petscPlex.setCoordinatesLocal(petscPlexCoordinates)
5454
toc = time.time()
55-
logger.info(f"\t\t\tSanp the DMPlex to NETGEN mesh. Time taken: {toc - tic} seconds")
55+
logger.info(f"\t\t\tSnap the DMPlex to NETGEN mesh. Time taken: {toc - tic} seconds")
5656

5757

5858
def snapToCoarse(coarse, linear, degree, snap_smoothing, cg):
@@ -209,7 +209,7 @@ def NetgenHierarchy(mesh, levs, flags, distribution_parameters=None):
209209
210210
:arg mesh: the Netgen/NGSolve mesh
211211
:arg levs: the number of levels in the hierarchy
212-
:arg flags: either a bool or a dictionray containing options for Netgen.
212+
:arg flags: either a bool or a dictionary containing options for Netgen.
213213
If not False the hierachy is constructed using ngsPETSc, if None hierarchy
214214
constructed in a standard manner. Netgen flags includes:
215215
-degree, either an integer denoting the degree of curvature of all levels of

0 commit comments

Comments
 (0)