diff options
author | schnetter <> | 2004-06-14 05:01:00 +0000 |
---|---|---|
committer | schnetter <> | 2004-06-14 05:01:00 +0000 |
commit | 4d4480d33956d17b89b90dc952386e7b478eaba5 (patch) | |
tree | be88e35eb6c77c8c6850343a98277044678418d9 /Carpet/CarpetReduce/interface.ccl | |
parent | 621907434f4c8681e35aa66710f32667334c20f3 (diff) |
Implement global reduction operators:
Implement global reduction operators:
Add a weight grid function.
Initialise it.
Set it according to the symmetries.
Set it according to the refinement structure.
Take the weight into account when reducing.
darcs-hash:20040614050121-07bb3-39cf335a52bc2c1071e56375bbedf771a5f118d4.gz
Diffstat (limited to 'Carpet/CarpetReduce/interface.ccl')
-rw-r--r-- | Carpet/CarpetReduce/interface.ccl | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/Carpet/CarpetReduce/interface.ccl b/Carpet/CarpetReduce/interface.ccl index 272966db3..1dcbe965d 100644 --- a/Carpet/CarpetReduce/interface.ccl +++ b/Carpet/CarpetReduce/interface.ccl @@ -1,10 +1,30 @@ # Interface definition for thorn CarpetReduce -# $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetReduce/interface.ccl,v 1.7 2004/06/08 21:10:28 schnetter Exp $ +# $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetReduce/interface.ccl,v 1.8 2004/06/14 07:01:21 schnetter Exp $ IMPLEMENTS: reduce +uses include header: dist.hh +uses include header: vect.hh + uses include header: carpet.hh -uses include header: dist.hh -uses include header: vect.hh + +CCTK_INT FUNCTION \ + SymmetryTableHandleForGrid (CCTK_POINTER_TO_CONST IN cctkGH) +REQUIRES FUNCTION SymmetryTableHandleForGrid + +CCTK_INT FUNCTION GetBoundarySpecification \ + (CCTK_INT IN size, \ + CCTK_INT OUT ARRAY nboundaryzones, \ + CCTK_INT OUT ARRAY is_internal, \ + CCTK_INT OUT ARRAY is_staggered, \ + CCTK_INT OUT ARRAY shiftout) +REQUIRES FUNCTION GetBoundarySpecification + + + +REAL weight TYPE=gf TAGS='prolongation="none"' +{ + weight +} "Weight function" |