diff options
author | diener <diener@4ec1db94-0e4f-0410-ada3-8bed251432c9> | 2008-02-05 22:44:56 +0000 |
---|---|---|
committer | diener <diener@4ec1db94-0e4f-0410-ada3-8bed251432c9> | 2008-02-05 22:44:56 +0000 |
commit | d822d7044d70a9fd43c8be48b0c5bdce51789ed9 (patch) | |
tree | 965ae465296e0b26971012df86712c7b75b7f814 /interface.ccl | |
parent | 9e06e812ba64f52bfd91e4cd933c416d58fb4166 (diff) |
Change the scheme for reductions. Before, reductions was done over the full
grid functions using CCTK_Reduce. Now, reductions are done alongside the
computations into local arrays and then these are reduced using
CCTK_ReduceLocArrayToArray1D. This is much more efficient. In addition
OpenMP directives are added to allow for mixed MPI/OpenMP usage.
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/NoExcision/trunk@15 4ec1db94-0e4f-0410-ada3-8bed251432c9
Diffstat (limited to 'interface.ccl')
-rw-r--r-- | interface.ccl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/interface.ccl b/interface.ccl index 968f4cf..4f64e13 100644 --- a/interface.ccl +++ b/interface.ccl @@ -18,7 +18,6 @@ CCTK_INT FUNCTION Boundary_SelectGroupForBC(CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN table_handle, \ CCTK_STRING IN var_name, \ CCTK_STRING IN bc_name) - USES FUNCTION Boundary_SelectGroupForBC CCTK_INT smask type=GF timelevels=1 tags='tensortypealias="scalar" Prolongation="None"' @@ -26,6 +25,11 @@ CCTK_INT smask type=GF timelevels=1 tags='tensortypealias="scalar" Prolongation= nes_mask } "mask for smoothing" +CCTK_REAL reduction_mask type=GF tags='Prolongation="None" InterpNumTimelevels=1 checkpoint="no"' +{ + red_mask +} "Copy of the weight grid function from CarpetReduce" + CCTK_REAL cg_res_metric type=GF timelevels=1 tags='tensortypealias="dd_sym" Prolongation="None"' { resgxx, resgxy, resgxz, resgyy, resgyz, resgzz |