aboutsummaryrefslogtreecommitdiff
path: root/src/ICN.c
diff options
context:
space:
mode:
authorhawke <hawke@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b>2006-07-28 09:46:54 +0000
committerhawke <hawke@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b>2006-07-28 09:46:54 +0000
commit5b12759aff89d3e5854999776b169112e8510111 (patch)
tree7f2936e183a00ae4ceab05e35b25d9416e38e3b8 /src/ICN.c
parentec098f5dadd15c70908dcbd07b484f04f926ebea (diff)
Fix for evolving arrays on multi-processors with the generic RK
method. This fix should use minimal memory, and works even when there is no storage for the array on the local processor. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@115 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
Diffstat (limited to 'src/ICN.c')
-rw-r--r--src/ICN.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ICN.c b/src/ICN.c
index 18f2d6a..7e0acde 100644
--- a/src/ICN.c
+++ b/src/ICN.c
@@ -151,6 +151,10 @@ void MoL_ICNAdd(CCTK_ARGUMENTS)
arraytotalsize *= arraydata.lsh[arraydim];
}
+/* CCTK_VWarn(1, __LINE__, __FILE__, CCTK_THORNSTRING, */
+/* "This proc array total size is %d.", */
+/* arraytotalsize); */
+
for (index = 0; index < arraytotalsize; index++)
{
UpdateVar[index] = OldVar[index] + CCTK_DELTA_TIME * RHSVar[index];