@@ -205,11 +205,16 @@ PetscErrorCode CreateOperatorForDomain(Ceed ceed, DM dm, SimpleBC bc,
205205 CeedOperatorDestroy (& op_apply_outflow );
206206 }
207207 }
208+
209+ // ----- Get Context Labels for Operator
210+ CeedOperatorContextGetFieldLabel (* op_apply , "solution time" ,
211+ & phys -> solution_time_label );
212+
208213 PetscFunctionReturn (0 );
209214}
210215
211216PetscErrorCode SetupLibceed (Ceed ceed , CeedData ceed_data , DM dm , User user ,
212- AppCtx app_ctx , ProblemData * problem , SimpleBC bc ) {
217+ AppCtx app_ctx , ProblemData * problem , SimpleBC bc , SetupContext setup_ctx ) {
213218 PetscErrorCode ierr ;
214219 PetscFunctionBeginUser ;
215220
@@ -452,6 +457,10 @@ PetscErrorCode SetupLibceed(Ceed ceed, CeedData ceed_data, DM dm, User user,
452457 CeedOperatorApply (ceed_data -> op_setup_vol , ceed_data -> x_coord ,
453458 ceed_data -> q_data , CEED_REQUEST_IMMEDIATE );
454459
460+ // -- Set up context for QFunctions
461+ ierr = problem -> setup_ctx (ceed , ceed_data , app_ctx , setup_ctx , user -> phys );
462+ CHKERRQ (ierr );
463+
455464 // -- Create and apply CEED Composite Operator for the entire domain
456465 if (!user -> phys -> implicit ) { // RHS
457466 ierr = CreateOperatorForDomain (ceed , dm , bc , ceed_data , user -> phys ,
0 commit comments