diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2008-03-19 16:43:33 -0500 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2008-03-19 16:43:33 -0500 |
commit | c7bbd2f7401eeaece92daa48ef773e7388e8644b (patch) | |
tree | 7709237d0feae04e5571dda6a64dcb9b6b82955d /Carpet/CarpetIOASCII/src/ioascii.hh | |
parent | 315da175d4fa2ac1143b99ea7d9ef912bc47c75d (diff) |
Enhance support for multi-patch simulations
Carpet:
Ensure that at most one of GetDomainSpecificatio or
MultiPatch_GetDomainSpecification is defined.
Allow the boundary case of having zero regions on a refinement level.
CarpetLib:
Allow the boundary case of having zero components on a patch, if there
are still more than zero components overall.
CarpetIOASCII:
Loop over the components using explicit light-weight for loops instead of
Carpet's looping macros. This is faster, since less state information
needs to be updated.
Correct an inconsistency in converting between integer indices and
coordinates in multi-patch simulations.
CarpetRegrid2:
Take multi-patch systems into account.
Diffstat (limited to 'Carpet/CarpetIOASCII/src/ioascii.hh')
-rw-r--r-- | Carpet/CarpetIOASCII/src/ioascii.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Carpet/CarpetIOASCII/src/ioascii.hh b/Carpet/CarpetIOASCII/src/ioascii.hh index 921490af9..6f0bb74dc 100644 --- a/Carpet/CarpetIOASCII/src/ioascii.hh +++ b/Carpet/CarpetIOASCII/src/ioascii.hh @@ -46,12 +46,12 @@ namespace CarpetIOASCII { static int TimeToOutput (const cGH* cctkGH, int vindex); static int TriggerOutput (const cGH* cctkGH, int vindex); - static int GetGridOffset (const cGH* cctkGH, int dir, + static int GetGridOffset (const cGH* cctkGH, int m, int dir, const char* itempl, const char* iglobal, const char* ctempl, const char* cglobal, CCTK_REAL cfallback); - static int CoordToOffset (const cGH* cctkGH, int dir, CCTK_REAL coord, - int ifallback); + static int CoordToOffset (const cGH* cctkGH, int m, int dir, + CCTK_REAL coord, int ifallback); static void CheckSteerableParameters (const cGH* cctkGH); static const char* GetStringParameter (const char* parametertemplate); |