diff options
author | jthorn <jthorn@6a3ddf76-46e1-4315-99d9-bc56cac1ef84> | 2003-03-24 13:31:01 +0000 |
---|---|---|
committer | jthorn <jthorn@6a3ddf76-46e1-4315-99d9-bc56cac1ef84> | 2003-03-24 13:31:01 +0000 |
commit | cb6d5b1e2cfd358471f5a3df47cc98b437eb49bb (patch) | |
tree | cc83cb0029ba14e0aee07a7255faf1f2dac8e6eb /src/IDAnalyticBH.h | |
parent | ceff4da9c00df3cf482cbbcfb2d447e9ee3eb7d0 (diff) |
Change from using memset() to using a new function
IDAnalyticBH_zero_CCTK_REAL_array() when setting a grid array to all zeros.
This is necessary because memset() gives all bits 0, but we want
floating point (CCTK_REAL) 0.0, which might be a different bit pattern.
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@126 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
Diffstat (limited to 'src/IDAnalyticBH.h')
-rw-r--r-- | src/IDAnalyticBH.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/IDAnalyticBH.h b/src/IDAnalyticBH.h new file mode 100644 index 0000000..79dfe44 --- /dev/null +++ b/src/IDAnalyticBH.h @@ -0,0 +1,11 @@ + /*@@ + @file IDAnalyticBH.h + @date 23.Mar.2003 + @author Jonathan Thornburg <jthorn@aei.mpg.de> + @desc Overall header file for this thorn; defines prototypes + externally visible routines. + @enddesc + @version $Header$ + @@*/ + +void IDAnalyticBH_zero_CCTK_REAL_array(int N, CCTK_REAL A[]); |