blob: c55c99d9a4894411d059a92b1046a49a2fe7dc16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#include <assert.h>
#include <stdlib.h>
#include "cctk.h"
#include "carpet.hh"
extern "C" {
static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/CarpetStartup.cc,v 1.5 2003/09/19 16:04:31 schnetter Exp $";
CCTK_FILEVERSION(Carpet_Carpet_CarpetStartup_cc);
}
namespace Carpet {
using namespace std;
void CarpetStartup()
{
CCTK_RegisterBanner ("AMR driver provided by Carpet");
GHExtension = CCTK_RegisterGHExtension("Carpet");
CCTK_RegisterGHExtensionSetupGH (GHExtension, SetupGH);
CCTK_OverloadInitialise (Initialise);
CCTK_OverloadEvolve (Evolve);
CCTK_OverloadShutdown (Shutdown);
CCTK_OverloadSyncGroup (SyncGroup);
CCTK_OverloadEnableGroupStorage (EnableGroupStorage);
CCTK_OverloadDisableGroupStorage (DisableGroupStorage);
CCTK_OverloadEnableGroupComm (EnableGroupComm);
CCTK_OverloadDisableGroupComm (DisableGroupComm);
CCTK_OverloadBarrier (Barrier);
CCTK_OverloadExit (Exit);
CCTK_OverloadAbort (Abort);
CCTK_OverloadMyProc (MyProc);
CCTK_OverloadnProcs (nProcs);
CCTK_OverloadArrayGroupSizeB (ArrayGroupSizeB);
CCTK_OverloadQueryGroupStorageB (QueryGroupStorageB);
CCTK_OverloadGroupDynamicData (GroupDynamicData);
}
} // namespace Carpet
|