From c01cd301abe303c731e4554bc02b7e7c4802d407 Mon Sep 17 00:00:00 2001 From: allen Date: Fri, 1 Sep 2000 20:51:51 +0000 Subject: Added an index for arrays to the pGA and pGH which is needed to make that Cache lines are associated uniquely with each timelevel of GA This unique index is used now when storage is assigned for the GA git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@264 b61c5cb5-eaca-4651-9a7a-d64986f99364 --- src/Storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Storage.c') diff --git a/src/Storage.c b/src/Storage.c index 801f1a4..56fe96d 100644 --- a/src/Storage.c +++ b/src/Storage.c @@ -501,7 +501,7 @@ int PUGH_EnableGArrayDataStorage(pGA *GA, { /* Use the Cactus Cache alignment function */ - GA->data = Util_CacheMalloc(GA->id, + GA->data = Util_CacheMalloc(GA->arrayid, GA->extras->npoints * GA->varsize, &(GA->padddata)); -- cgit v1.2.3