[Developers] Make ADMConstraints GF public

Frank Loeffler frank.loeffler at aei.mpg.de
Wed Jul 26 03:33:08 CDT 2006


this patch makes the GFs of CactusEinstein/ADMConstraints public.

The reason is that this way other thorns can use the values already 
computed here for their own purposes by inheritage. One example of such 
a thorn is ADMDevelopment/MaskedADMConstraints, which requires this 
patch to work.
Another possibility to access these GF would be to get their pointer by 
variable name. However, I would consider inheritage cleaner. I also 
cannot see a reason why these variables should stay private.


Index: interface.ccl
RCS file: /cactusdevcvs/CactusEinstein/ADMConstraints/interface.ccl,v
retrieving revision 1.18
diff -u -r1.18 interface.ccl
--- interface.ccl	14 Feb 2005 09:50:26 -0000	1.18
+++ interface.ccl	26 Jul 2006 08:27:08 -0000
@@ -20,7 +20,7 @@
 USES FUNCTION Boundary_SelectVarForBC
 USES FUNCTION Boundary_SelectGroupForBC
 real hamiltonian type=GF tags='tensortypealias="Scalar"'

--- StripMime Report -- processed MIME parts ---
  text/plain (text body -- kept)
  text/plain (text body -- kept)

More information about the Developers mailing list