diff options
author | rhaas <rhaas@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2012-01-24 20:24:54 +0000 |
---|---|---|
committer | rhaas <rhaas@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2012-01-24 20:24:54 +0000 |
commit | 6610ba2a0fee45722ecf26f1cc04efbee667c832 (patch) | |
tree | 6fca62dd5facb9d4d5f171164edffebf48fbe44b /src | |
parent | a3a115cd402f70ae7e24ffbb0aed7c2f4d4e90b0 (diff) |
support named spherical surfaces
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1562 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src')
-rw-r--r-- | src/driver/announce.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/driver/announce.cc b/src/driver/announce.cc index 5c0b62b..58265ca 100644 --- a/src/driver/announce.cc +++ b/src/driver/announce.cc @@ -13,6 +13,7 @@ #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" +#include "cctk_Functions.h" #include "config.h" #include "stdc.h" @@ -124,7 +125,8 @@ for (int hn = 1; hn <= N_horizons; ++ hn) { // Store in spherical surface - const int sn = which_surface_to_store_info[hn]; + const int sn = sf_IdFromName(which_surface_to_store_info[hn], + which_surface_to_store_info_by_name[hn]); if (sn == -1) then continue; |