diff options
author | hawke <hawke@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b> | 2006-07-28 09:46:54 +0000 |
---|---|---|
committer | hawke <hawke@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b> | 2006-07-28 09:46:54 +0000 |
commit | 5b12759aff89d3e5854999776b169112e8510111 (patch) | |
tree | 7f2936e183a00ae4ceab05e35b25d9416e38e3b8 /src/ICN.c | |
parent | ec098f5dadd15c70908dcbd07b484f04f926ebea (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.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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]; |