From 0cca329914063e0a34b472c77e81385d0a2b5560 Mon Sep 17 00:00:00 2001 From: jthorn Date: Thu, 3 Oct 2002 20:56:46 +0000 Subject: 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 --- src/gr/gr.hh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/gr/gr.hh') 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 }; // -- cgit v1.2.3