Searched refs:vec_costintegral (Results 1 – 2 of 2) sorted by relevance
305 PetscCall(VecDestroy(&ts->vec_costintegral)); in TSSetCostIntegrand()306 ts->vec_costintegral = costintegral; in TSSetCostIntegrand()308 if (!ts->vec_costintegral) { /* Create a seq vec if user does not provide one */ in TSSetCostIntegrand()309 PetscCall(VecCreateSeq(PETSC_COMM_SELF, numcost, &ts->vec_costintegral)); in TSSetCostIntegrand()311 PetscCall(VecSet(ts->vec_costintegral, 0.0)); in TSSetCostIntegrand()315 PetscCall(VecDuplicate(ts->vec_costintegral, &ts->vec_costintegrand)); in TSSetCostIntegrand()1594 …if ((ts->vec_costintegral || ts->quadraturets) && !ts->costintegralfwd) PetscCall(TSAdjointCostInt… in TSAdjointSolve()
202 Vec vec_costintegral; member