Add runnable GPU main-path prototype
This commit is contained in:
@@ -3026,9 +3026,14 @@ void bssn_class::RecursiveStep(int lev, int num) // in all 2^(lev+1)-1 steps
|
||||
|
||||
#if (PSTR == 0)
|
||||
#if 1
|
||||
void bssn_class::Step(int lev, int YN)
|
||||
{
|
||||
setpbh(BH_num, Porg0, Mass, BH_num_input);
|
||||
void bssn_class::Step(int lev, int YN)
|
||||
{
|
||||
#ifdef USE_GPU
|
||||
Step_MainPath_GPU(lev, YN);
|
||||
return;
|
||||
#endif
|
||||
|
||||
setpbh(BH_num, Porg0, Mass, BH_num_input);
|
||||
|
||||
double dT_lev = dT * pow(0.5, Mymax(lev, trfls));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user