Searched refs:vec_costintegral (Results 1 – 4 of 4) sorted by relevance
271 ierr = VecDestroy(&ts->vec_costintegral);CHKERRQ(ierr); in TSSetCostIntegrand()272 ts->vec_costintegral = costintegral; in TSSetCostIntegrand()274 if (!ts->vec_costintegral) { /* Create a seq vec if user does not provide one */ in TSSetCostIntegrand()275 ierr = VecCreateSeq(PETSC_COMM_SELF,numcost,&ts->vec_costintegral);CHKERRQ(ierr); in TSSetCostIntegrand()277 ierr = VecSet(ts->vec_costintegral,0.0);CHKERRQ(ierr); in TSSetCostIntegrand()281 ierr = VecDuplicate(ts->vec_costintegral,&ts->vec_costintegrand);CHKERRQ(ierr); in TSSetCostIntegrand()1578 if ((ts->vec_costintegral || ts->quadraturets) && !ts->costintegralfwd) { in TSAdjointSolve()
178 Vec vec_costintegral; member
13226 Vec vec_costintegral;178,7174
80905 vec_costintegral include/petsc/private/tsimpl.h /^ Vec vec_costintegral;$/;" m language:C++ …