diff options
author | knarf <knarf@54511f98-0e4f-0410-826e-eb8b393f5a1e> | 2006-04-28 09:25:57 +0000 |
---|---|---|
committer | knarf <knarf@54511f98-0e4f-0410-826e-eb8b393f5a1e> | 2006-04-28 09:25:57 +0000 |
commit | d6ed198d4324b0bb38287282ed2859ee7987fd16 (patch) | |
tree | 2490eec88b965b1e95fc4ffa75920aa7cd0bfeff /src | |
parent | 6863c95702aeb3ca94c58b114a7a9d9efef7d601 (diff) |
use CCTK_EQUALS instead of strcmp, which was not defined (missing include)
git-svn-id: http://svn.aei.mpg.de/numrel/AEIThorns/ADMMass/trunk@15 54511f98-0e4f-0410-826e-eb8b393f5a1e
Diffstat (limited to 'src')
-rw-r--r-- | src/surface_integral.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/surface_integral.c b/src/surface_integral.c index 3f756fd..6dbbd37 100644 --- a/src/surface_integral.c +++ b/src/surface_integral.c @@ -85,8 +85,9 @@ void ADMMass_Surface(CCTK_ARGUMENTS) if (ADMMass_distance_from_grid_boundary[*ADMMass_LoopCounter] > 0.0) { - if (strcmp(CCTK_ParameterValString("type", "cartgrid3d"), "coordbase")) - CCTK_WARN(0,"this thorns used with the ADMMass_distance_from_grid_boundar parameter requires to set coordinates through coordbase."); + if (!CCTK_EQUALS(CCTK_ParameterValString("type", "cartgrid3d"), + "coordbase")) + CCTK_WARN(0,"This thorn used with the ADMMass_distance_from_grid_boundar parameter requires to set coordinates through coordbase."); /* Find the physical coordinates of the boundaries */ ierr = GetDomainSpecification( 3, physical_min, physical_max, |