Lines Matching refs:numcost
306 for (nadj = 0; nadj < ts->numcost; nadj++) { in TSAdjointStepBEuler_Private()
324 for (nadj = 0; nadj < ts->numcost; nadj++) { in TSAdjointStepBEuler_Private()
342 for (nadj = 0; nadj < ts->numcost; nadj++) { /* compute the residual */ in TSAdjointStepBEuler_Private()
349 for (nadj = 0; nadj < ts->numcost; nadj++) { in TSAdjointStepBEuler_Private()
365 for (nadj = 0; nadj < ts->numcost; nadj++) { in TSAdjointStepBEuler_Private()
389 for (nadj = 0; nadj < ts->numcost; nadj++) { in TSAdjointStepBEuler_Private()
461 for (nadj = 0; nadj < ts->numcost; nadj++) { in TSAdjointStep_Theta()
483 for (nadj = 0; nadj < ts->numcost; nadj++) { in TSAdjointStep_Theta()
505 for (nadj = 0; nadj < ts->numcost; nadj++) { /* compute the residual */ in TSAdjointStep_Theta()
512 for (nadj = 0; nadj < ts->numcost; nadj++) { in TSAdjointStep_Theta()
531 for (nadj = 0; nadj < ts->numcost; nadj++) { in TSAdjointStep_Theta()
554 for (nadj = 0; nadj < ts->numcost; nadj++) { in TSAdjointStep_Theta()
571 for (nadj = 0; nadj < ts->numcost; nadj++) { in TSAdjointStep_Theta()
593 for (nadj = 0; nadj < ts->numcost; nadj++) { in TSAdjointStep_Theta()
606 for (nadj = 0; nadj < ts->numcost; nadj++) { in TSAdjointStep_Theta()
626 for (nadj = 0; nadj < ts->numcost; nadj++) { in TSAdjointStep_Theta()
641 for (nadj = 0; nadj < ts->numcost; nadj++) { in TSAdjointStep_Theta()
657 for (nadj = 0; nadj < ts->numcost; nadj++) { in TSAdjointStep_Theta()
910 PetscCall(VecDestroyVecs(ts->numcost, &th->VecsDeltaLam)); in TSAdjointReset_Theta()
911 PetscCall(VecDestroyVecs(ts->numcost, &th->VecsDeltaMu)); in TSAdjointReset_Theta()
912 PetscCall(VecDestroyVecs(ts->numcost, &th->VecsDeltaLam2)); in TSAdjointReset_Theta()
913 PetscCall(VecDestroyVecs(ts->numcost, &th->VecsDeltaMu2)); in TSAdjointReset_Theta()
914 PetscCall(VecDestroyVecs(ts->numcost, &th->VecsSensiTemp)); in TSAdjointReset_Theta()
915 PetscCall(VecDestroyVecs(ts->numcost, &th->VecsSensi2Temp)); in TSAdjointReset_Theta()
1064 PetscCall(VecDuplicateVecs(ts->vecs_sensi[0], ts->numcost, &th->VecsDeltaLam)); in TSAdjointSetUp_Theta()
1065 PetscCall(VecDuplicateVecs(ts->vecs_sensi[0], ts->numcost, &th->VecsSensiTemp)); in TSAdjointSetUp_Theta()
1066 …if (ts->vecs_sensip) PetscCall(VecDuplicateVecs(ts->vecs_sensip[0], ts->numcost, &th->VecsDeltaMu)… in TSAdjointSetUp_Theta()
1068 PetscCall(VecDuplicateVecs(ts->vecs_sensi[0], ts->numcost, &th->VecsDeltaLam2)); in TSAdjointSetUp_Theta()
1069 PetscCall(VecDuplicateVecs(ts->vecs_sensi2[0], ts->numcost, &th->VecsSensi2Temp)); in TSAdjointSetUp_Theta()
1075 PetscCall(VecDuplicateVecs(ts->vecs_sensi2p[0], ts->numcost, &th->VecsDeltaMu2)); in TSAdjointSetUp_Theta()