diff options
author | jthorn <jthorn@b7a48df3-cbbf-4440-997f-b4b717c9f7fc> | 2006-09-25 14:25:08 +0000 |
---|---|---|
committer | jthorn <jthorn@b7a48df3-cbbf-4440-997f-b4b717c9f7fc> | 2006-09-25 14:25:08 +0000 |
commit | 70bfaae91146d1e5bd21ac57d1207aa94250de71 (patch) | |
tree | 0adde8c44d3f4513723b56a85992f215fa200138 | |
parent | fcafc6da844b1a4f1ae6b830338ae15e0fbc01d0 (diff) |
This is Frank Loeffler's patch originally announced on the Patches list:
"Make ADMConstraints GF public"
Wed, 26 Jul 2006 10:33:08 +0200
(since the patches archive is broken, there's no web url for this :( )
It is also PR 2040:
http://www.cactuscode.org/cactus_cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&
database=cactus&pr=2040
and discussed much on the developer's list.
The text of the patch is as follows:
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.
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/ADMConstraints/trunk@124 b7a48df3-cbbf-4440-997f-b4b717c9f7fc
-rw-r--r-- | interface.ccl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface.ccl b/interface.ccl index c1cc94f..baeb79a 100644 --- a/interface.ccl +++ b/interface.ccl @@ -20,7 +20,7 @@ CCTK_INT FUNCTION Boundary_SelectGroupForBC(CCTK_POINTER_TO_CONST IN GH, \ USES FUNCTION Boundary_SelectVarForBC USES FUNCTION Boundary_SelectGroupForBC -private: +public: real hamiltonian type=GF tags='tensortypealias="Scalar"' { |