Fix ABE CPU version build error

This commit is contained in:
2026-04-25 09:39:49 +08:00
parent 53c55451b3
commit f521a97563

View File

@@ -540,6 +540,18 @@ void bssn_cuda_sync_level_bh_fields(MyList<Patch> *PatL,
} // namespace
#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