@@ -414,6 +414,7 @@ PetscErrorCode SetupLibceed(Ceed ceed, CeedData ceed_data, DM dm, User user, App
414414 NULL ));
415415 PetscCall (OperatorApplyContextCreate (dm , dm , ceed , op_rhs , user -> q_ceed , user -> g_ceed , user -> Q_loc , NULL , & user -> op_rhs_ctx ));
416416 PetscCallCeed (ceed , CeedOperatorDestroy (& op_rhs ));
417+ PetscCheck (app_ctx -> sgs_model_type == SGS_MODEL_NONE , user -> comm , PETSC_ERR_SUP , "SGS modeling not implemented for explicit timestepping" );
417418 } else { // IFunction
418419 CeedOperator op_ijacobian = NULL ;
419420
@@ -425,10 +426,10 @@ PetscErrorCode SetupLibceed(Ceed ceed, CeedData ceed_data, DM dm, User user, App
425426 PetscCallCeed (ceed , CeedOperatorGetContextFieldLabel (op_ijacobian , "ijacobian time shift" , & user -> phys -> ijacobian_time_shift_label ));
426427 PetscCallCeed (ceed , CeedOperatorDestroy (& op_ijacobian ));
427428 }
428- if (problem -> use_strong_bc_ceed ) PetscCall (SetupStrongBC_Ceed (ceed , ceed_data , dm , user , problem , bc ));
429429 if (app_ctx -> sgs_model_type == SGS_MODEL_DATA_DRIVEN ) PetscCall (SgsDDSetup (ceed , user , ceed_data , problem ));
430430 }
431431
432+ if (problem -> use_strong_bc_ceed ) PetscCall (SetupStrongBC_Ceed (ceed , ceed_data , dm , user , problem , bc ));
432433 if (app_ctx -> turb_spanstats_enable ) PetscCall (TurbulenceStatisticsSetup (ceed , user , ceed_data , problem ));
433434 if (app_ctx -> diff_filter_monitor && !user -> diff_filter ) PetscCall (DifferentialFilterSetup (ceed , user , ceed_data , problem ));
434435 if (app_ctx -> sgs_train_enable ) PetscCall (SGS_DD_TrainingSetup (ceed , user , ceed_data , problem ));
0 commit comments