aboutsummaryrefslogtreecommitdiff
path: root/src/IDAnalyticBH.h
diff options
context:
space:
mode:
authorjthorn <jthorn@6a3ddf76-46e1-4315-99d9-bc56cac1ef84>2003-03-24 13:31:01 +0000
committerjthorn <jthorn@6a3ddf76-46e1-4315-99d9-bc56cac1ef84>2003-03-24 13:31:01 +0000
commitcb6d5b1e2cfd358471f5a3df47cc98b437eb49bb (patch)
treecc83cb0029ba14e0aee07a7255faf1f2dac8e6eb /src/IDAnalyticBH.h
parentceff4da9c00df3cf482cbbcfb2d447e9ee3eb7d0 (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.h11
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[]);