@@ -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 \t Sanp the DMPlex to NETGEN mesh. Time taken: { toc - tic } seconds" )
55+ logger .info (f"\t \t \t Snap the DMPlex to NETGEN mesh. Time taken: { toc - tic } seconds" )
5656
5757
5858def 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