Searched refs:costintegral (Results 1 – 1 of 1) sorted by relevance
295 PetscErrorCode TSSetCostIntegrand(TS ts, PetscInt numcost, Vec costintegral, PetscErrorCode (*rf)(T… in TSSetCostIntegrand() argument299 if (costintegral) PetscValidHeaderSpecific(costintegral, VEC_CLASSID, 3); in TSSetCostIntegrand()303 if (costintegral) { in TSSetCostIntegrand()304 PetscCall(PetscObjectReference((PetscObject)costintegral)); in TSSetCostIntegrand()306 ts->vec_costintegral = costintegral; in TSSetCostIntegrand()