Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
jwallwork23 committed Mar 14, 2024
1 parent c7a2acb commit b97ba84
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions animate/adapt.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
from .metric import RiemannianMetric
from .utility import get_checkpoint_dir
import os

# import time
import time

__all__ = ["MetricBasedAdaptor", "adapt"]

Expand Down Expand Up @@ -220,8 +219,7 @@ def adapt(mesh, *metrics, name=None, serialise=False, remove_checkpoints=True):
# saved[0] = True
PETSc.Sys.Print("Processor %d: DEBUG 7" % COMM_WORLD.rank, comm=COMM_SELF)
else:
# time.sleep(1e-5)
pass
time.sleep(1e-5)
COMM_WORLD.barrier()
# if not COMM_WORLD.scatter(saved, root=0):
# raise Exception
Expand Down

0 comments on commit b97ba84

Please sign in to comment.