aboutsummaryrefslogtreecommitdiff
path: root/src/gr/gr.hh
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2002-10-03 20:56:46 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2002-10-03 20:56:46 +0000
commit0cca329914063e0a34b472c77e81385d0a2b5560 (patch)
tree2ec4f32ddffa2a936dd6f3efa9ed0e66176adaea /src/gr/gr.hh
parent8b18715cab8d6003b76f57968d0afbc11e9e0377 (diff)
add support (not tested yet :)
for CactusEinstein/StaticConformal conformal metric git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@791 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/gr/gr.hh')
-rw-r--r--src/gr/gr.hh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gr/gr.hh b/src/gr/gr.hh
index 53f88c4..beb1866 100644
--- a/src/gr/gr.hh
+++ b/src/gr/gr.hh
@@ -41,6 +41,12 @@ struct cactus_grid_info
// i.e. i is contiguous, j has stride Ni, k has stride Ni*Nj
CCTK_INT gridfn_dims[N_GRID_DIMS];
+ // this describes the semantics of the Cactus gij gridfns:
+ // true ==> the Cactus gij are conformal values as per
+ // CactusEinstein/StaticConformal and the psi gridfn
+ // false ==> the Cactus gij are the physical metric
+ bool Cactus_conformal_metric;
+
// --> Cactus gridfn data for grid posn (0,0,0)
const fp* g_dd_11_data;
const fp* g_dd_12_data;
@@ -54,6 +60,8 @@ struct cactus_grid_info
const fp* K_dd_22_data;
const fp* K_dd_23_data;
const fp* K_dd_33_data;
+
+ const fp* psi_data; // NULL if !Cactus_conformal_metric
};
//