@@ -172,8 +172,8 @@ PetscErrorCode SetupLibceed(DM dm, DM dm_u0, DM dm_p0, DM dm_H1, Ceed ceed, AppC
172172 CeedOperatorCreate (ceed , qf_true , CEED_QFUNCTION_NONE , CEED_QFUNCTION_NONE , & op_true );
173173 if (problem_data -> has_ts ) {
174174 double final_time = app_ctx -> t_final ;
175- CeedOperatorContextGetFieldLabel (op_true , "final_time" , & app_ctx -> ctx_residual_ut -> final_time_label );
176- CeedOperatorContextSetDouble (op_true , app_ctx -> ctx_residual_ut -> final_time_label , & final_time );
175+ CeedOperatorGetContextFieldLabel (op_true , "final_time" , & app_ctx -> ctx_residual_ut -> final_time_label );
176+ CeedOperatorSetContextDouble (op_true , app_ctx -> ctx_residual_ut -> final_time_label , & final_time );
177177 }
178178 CeedOperatorSetField (op_true , "x" , ceed_data -> elem_restr_x , ceed_data -> basis_x , ceed_data -> x_coord );
179179 CeedOperatorSetField (op_true , "true force" , ceed_data -> elem_restr_p_i , CEED_BASIS_COLLOCATED , true_force );
@@ -309,7 +309,7 @@ PetscErrorCode SetupLibceed(DM dm, DM dm_u0, DM dm_p0, DM dm_H1, Ceed ceed, AppC
309309 CeedOperatorCreate (ceed , qf_residual , CEED_QFUNCTION_NONE , CEED_QFUNCTION_NONE , & op_residual );
310310 if (problem_data -> has_ts ) {
311311 // double t = app_ctx->ctx_residual_ut->t;
312- CeedOperatorContextGetFieldLabel (op_residual , "time" , & app_ctx -> ctx_residual_ut -> solution_time_label );
312+ CeedOperatorGetContextFieldLabel (op_residual , "time" , & app_ctx -> ctx_residual_ut -> solution_time_label );
313313 // CeedOperatorContextGetFieldLabel(op_residual, "time_step",
314314 // &app_ctx->ctx_residual_ut->timestep_label);
315315 // CeedOperatorContextSetDouble(op_residual,
0 commit comments