diff options
-rw-r--r-- | src/driver/Newton.cc | 10 | ||||
-rw-r--r-- | src/driver/README | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/driver/Newton.cc b/src/driver/Newton.cc index e39717a..6b2ef8c 100644 --- a/src/driver/Newton.cc +++ b/src/driver/Newton.cc @@ -475,6 +475,11 @@ assert( false ); // the per-iteration status information from each active processor to // all processors. // +// The present implementation of this function uses the Cactus reduction +// API. If AHFinderDirect is ported to some other software environment, +// it's probably best to re-implement this function on top of whatever +// interprocessor-broadcast facility that environment provides. +// // Arguments: // GH --> The Cactus grid hierarchy. // N_procs = The total number of processors. @@ -652,6 +657,11 @@ return any_proc_needs_more_iterations; // the BH diagnostics and (ghosted) horizon shape from a specified processor // to all processors. // +// The present implementation of this function uses the Cactus reduction +// API. If AHFinderDirect is ported to some other software environment, +// it's probably best to re-implement this function on top of whatever +// interprocessor-broadcast facility that environment provides. +// // Arguments: // GH --> The Cactus grid hierarchy. // broadcast_flag = true on the broadcasting processor, diff --git a/src/driver/README b/src/driver/README index 7fac708..334dc9f 100644 --- a/src/driver/README +++ b/src/driver/README @@ -24,6 +24,8 @@ initial_guess.cc this sets up the initial guess(es) for the horizon position(s) Newton.cc # sees cGH (for interprocessor broadcasts) + # uses CCTK_ReduceLocArrayToArray1D() for + # interprocessor broadcast/synchronization this solves the Theta(h) = 0 equations by Newton's method io.cc |