Fix ABE CPU version build error
This commit is contained in:
@@ -540,6 +540,18 @@ void bssn_cuda_sync_level_bh_fields(MyList<Patch> *PatL,
|
|||||||
} // namespace
|
} // namespace
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !USE_CUDA_BSSN
|
||||||
|
namespace {
|
||||||
|
|
||||||
|
bool bssn_constraint_recompute_from_state(int lev, bool level0_cache_valid)
|
||||||
|
{
|
||||||
|
(void)level0_cache_valid;
|
||||||
|
return lev > 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace
|
||||||
|
#endif
|
||||||
|
|
||||||
//================================================================================================
|
//================================================================================================
|
||||||
|
|
||||||
// define bssn_class
|
// define bssn_class
|
||||||
|
|||||||
Reference in New Issue
Block a user