diff options
-rw-r--r-- | README | 4 | ||||
-rw-r--r-- | param.ccl | 3 | ||||
-rw-r--r-- | schedule.ccl | 3 | ||||
-rw-r--r-- | src/ADMConstraints.F | 7 |
4 files changed, 9 insertions, 8 deletions
@@ -17,3 +17,7 @@ aware. Matter is included with the CalcTmunu mechanism. Hamiltonian constraint: ham, hamnormalized Momentum constraints: momx, momy, momz + +4. All variables are synchronized on output of the analysis routines + before output. + @@ -23,7 +23,8 @@ BOOLEAN constraints_persist "Keep storage of ham and mom* around for use in spec { } "no" -BOOLEAN constraint_communication "If yes sychronise the constraints" +# Deprecated in Beta 14 +BOOLEAN constraint_communication "THIS PARAMETER IS NOT USED" { } "no" diff --git a/schedule.ccl b/schedule.ccl index f26dd78..30e5fdf 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -27,6 +27,7 @@ if (constraints_persist) schedule GROUP ApplyBCs as ADMConstraints_ApplyBCs at CCTK_POSTSTEP after ADMConstraints { + SYNC: hamiltonian, normalized_hamiltonian, momentum } "Apply (symmetry) boundary conditions" } else @@ -35,6 +36,7 @@ else { STORAGE: hamiltonian, normalized_hamiltonian, momentum TRIGGERS: hamiltonian, normalized_hamiltonian, momentum + SYNC: hamiltonian, normalized_hamiltonian, momentum } "Evaluate ADM constraints, and perform symmetry boundary conditions" schedule ADMConstraints in ADMConstraintsGroup @@ -46,3 +48,4 @@ else { } "Apply (symmetry) boundary conditions" } + diff --git a/src/ADMConstraints.F b/src/ADMConstraints.F index f896b37..23ec87a 100644 --- a/src/ADMConstraints.F +++ b/src/ADMConstraints.F @@ -274,13 +274,6 @@ c Apply flat boundary conditions at outer boundaries. call BndFlatGN(ierr,cctkGH,sw,"admconstraints::momentum") end if -c Synchronize. - - if (constraint_communication.eq.1) then - call CCTK_SyncGroup(ierr,cctkGH,"admconstraints::hamiltonian") - call CCTK_SyncGroup(ierr,cctkGH,"admconstraints::momentum") - end if - c Cartoon. if (cartoon==1) then |