Initialize cached sync runtime in derived evolvers
This commit is contained in:
@@ -232,19 +232,21 @@ void bssnEM_class::Initialize()
|
||||
else
|
||||
GH->compose_cgh(nprocs);
|
||||
|
||||
#ifdef WithShell
|
||||
SH = new ShellPatch(0, ngfs, pname, Symmetry, myrank, ErrorMonitor);
|
||||
SH->matchcheck(GH->PatL[0]);
|
||||
#ifdef WithShell
|
||||
SH = new ShellPatch(0, ngfs, pname, Symmetry, myrank, ErrorMonitor);
|
||||
SH->matchcheck(GH->PatL[0]);
|
||||
SH->compose_sh(nprocs);
|
||||
SH->setupcordtrans();
|
||||
SH->Dump_xyz(0, 0, 1);
|
||||
SH->setupintintstuff(nprocs, GH->PatL[0], Symmetry);
|
||||
|
||||
if (checkrun)
|
||||
CheckPoint->readcheck_sh(SH, myrank);
|
||||
#endif
|
||||
|
||||
double h = GH->PatL[0]->data->blb->data->getdX(0);
|
||||
if (checkrun)
|
||||
CheckPoint->readcheck_sh(SH, myrank);
|
||||
#endif
|
||||
|
||||
Initialize_Level_Runtime();
|
||||
|
||||
double h = GH->PatL[0]->data->blb->data->getdX(0);
|
||||
for (int i = 1; i < dim; i++)
|
||||
h = Mymin(h, GH->PatL[0]->data->blb->data->getdX(i));
|
||||
dT = Courant * h;
|
||||
|
||||
Reference in New Issue
Block a user