/dports/science/PETSc/petsc-3.14.1/src/ts/interface/sensitivity/ |
H A D | tssen.c | 267 if (!ts->numcost) ts->numcost=numcost; in TSSetCostIntegrand() 502 for (nadj=0; nadj<ts->numcost; nadj++) { in TSComputeIHessianProductFunctionUU() 543 for (nadj=0; nadj<ts->numcost; nadj++) { in TSComputeIHessianProductFunctionUP() 584 for (nadj=0; nadj<ts->numcost; nadj++) { in TSComputeIHessianProductFunctionPU() 849 ts->numcost = numcost; in TSSetCostGradients() 873 if (numcost) *numcost = ts->numcost; in TSGetCostGradients() 908 ts->numcost = numcost; in TSSetCostHessianProducts() 937 if (numcost) *numcost = ts->numcost; in TSGetCostHessianProducts() 1734 if (!ts->numcost) ts->numcost = numfwdint; in TSForwardSetIntegralGradients() 1758 if (numfwdint) *numfwdint = ts->numcost; in TSForwardGetIntegralGradients() [all …]
|
/dports/science/PETSc/petsc-3.14.1/src/ts/interface/sensitivity/ftn-auto/ |
H A D | tssenf.c | 172 PETSC_EXTERN void tssetcostgradients_(TS ts,PetscInt *numcost,Vec *lambda,Vec *mu, int *__ierr) in tssetcostgradients_() argument 175 (TS)PetscToPointer((ts) ),*numcost,lambda,mu); in tssetcostgradients_() 177 PETSC_EXTERN void tsgetcostgradients_(TS ts,PetscInt *numcost,Vec **lambda,Vec **mu, int *__ierr) in tsgetcostgradients_() argument 180 (TS)PetscToPointer((ts) ),numcost,lambda,mu); in tsgetcostgradients_() 182 PETSC_EXTERN void tssetcosthessianproducts_(TS ts,PetscInt *numcost,Vec *lambda2,Vec *mu2,Vec dir,… in tssetcosthessianproducts_() argument 185 (TS)PetscToPointer((ts) ),*numcost,lambda2,mu2, in tssetcosthessianproducts_() 188 PETSC_EXTERN void tsgetcosthessianproducts_(TS ts,PetscInt *numcost,Vec **lambda2,Vec **mu2,Vec *d… in tsgetcosthessianproducts_() argument 191 (TS)PetscToPointer((ts) ),numcost,lambda2,mu2,dir); in tsgetcosthessianproducts_()
|
/dports/science/PETSc/petsc-3.14.1/src/ts/impls/implicit/theta/ |
H A D | theta.c | 299 for (nadj=0; nadj<ts->numcost; nadj++) { in TSAdjointStepBEuler_Private() 317 for (nadj=0; nadj<ts->numcost; nadj++) { in TSAdjointStepBEuler_Private() 344 for (nadj=0; nadj<ts->numcost; nadj++) { in TSAdjointStepBEuler_Private() 361 for (nadj=0; nadj<ts->numcost; nadj++) { in TSAdjointStepBEuler_Private() 385 for (nadj=0; nadj<ts->numcost; nadj++) { in TSAdjointStepBEuler_Private() 457 for (nadj=0; nadj<ts->numcost; nadj++) { in TSAdjointStep_Theta() 479 for (nadj=0; nadj<ts->numcost; nadj++) { in TSAdjointStep_Theta() 510 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() [all …]
|
/dports/science/PETSc/petsc-3.14.1/src/ts/impls/explicit/rk/ |
H A D | rk.c | 846 ierr = VecDuplicateVecs(ts->vecs_sensi[0],s*ts->numcost,&rk->VecsDeltaLam);CHKERRQ(ierr); in TSAdjointSetUp_RK() 847 ierr = VecDuplicateVecs(ts->vecs_sensi[0],ts->numcost,&rk->VecsSensiTemp);CHKERRQ(ierr); in TSAdjointSetUp_RK() 912 for (nadj=0; nadj<ts->numcost; nadj++) { in TSAdjointStep_RK() 987 for (nadj=0; nadj<ts->numcost; nadj++) { in TSAdjointStep_RK() 1028 for (nadj=0; nadj<ts->numcost; nadj++) { /* no need to do this for mu's */ in TSAdjointStep_RK() 1045 ierr = VecDestroyVecs(tab->s*ts->numcost,&rk->VecsDeltaLam);CHKERRQ(ierr); in TSAdjointReset_RK() 1046 ierr = VecDestroyVecs(ts->numcost,&rk->VecsSensiTemp);CHKERRQ(ierr); in TSAdjointReset_RK() 1048 ierr = VecDestroyVecs(tab->s*ts->numcost,&rk->VecsDeltaLam2);CHKERRQ(ierr); in TSAdjointReset_RK() 1050 ierr = VecDestroyVecs(ts->numcost,&rk->VecsSensi2Temp);CHKERRQ(ierr); in TSAdjointReset_RK() 1105 ierr = VecDestroyVecs(tab->s*ts->numcost,&rk->VecsDeltaLam);CHKERRQ(ierr); in TSRKTableauReset() [all …]
|
/dports/science/PETSc/petsc-3.14.1/src/ts/tutorials/hybrid/ |
H A D | ex1adj.c | 51 PetscInt numcost; in ShiftGradients() local 54 ierr = TSGetCostGradients(ts,&numcost,&lambda,&mu);CHKERRQ(ierr); in ShiftGradients()
|
H A D | ex1fd.c | 52 PetscInt numcost; in ShiftGradients() local 55 ierr = TSGetCostGradients(ts,&numcost,&lambda,&mu);CHKERRQ(ierr); in ShiftGradients()
|
/dports/science/PETSc/petsc-3.14.1/include/petsc/private/ |
H A D | tsimpl.h | 177 PetscInt numcost; /* number of cost functions */ member
|
/dports/science/PETSc/petsc-3.14.1/src/ts/tutorials/ |
H A D | ex20td.c | 219 PetscErrorCode AdjointMonitor(TS ts,PetscInt steps,PetscReal time,Vec u,PetscInt numcost,Vec *lambd… in AdjointMonitor() argument
|
/dports/science/PETSc/petsc-3.14.1/ |
H A D | CTAGS | 781 …orCode AdjointMonitor(TS ts,PetscInt steps,PetscReal time,Vec u,PetscInt numcost,Vec *lambda, Vec … 33042 …Code TSAdjointMonitor(TS ts,PetscInt step,PetscReal ptime,Vec u,PetscInt numcost,Vec *lambda, Vec … 33044 …AdjointMonitorDefault(TS ts,PetscInt step,PetscReal ptime,Vec v,PetscInt numcost,Vec *lambda,Vec *… 33045 …jointMonitorDrawSensi(TS ts,PetscInt step,PetscReal ptime,Vec u,PetscInt numcost,Vec *lambda,Vec *… 33046 …TSAdjointMonitorSensi(TS ts,PetscInt step,PetscReal ptime,Vec v,PetscInt numcost,Vec *lambda,Vec *… 33446 …/sensitivity/tssen.c /^PetscErrorCode TSGetCostGradients(TS ts,PetscInt *numcost,Vec **lambda,Vec … 33447 …tivity/tssen.c /^PetscErrorCode TSGetCostHessianProducts(TS ts,PetscInt *numcost,Vec **lambda2,Vec… 33845 …e/sensitivity/tssen.c /^PetscErrorCode TSSetCostGradients(TS ts,PetscInt numcost,Vec *lambda,Vec *… 33846 …itivity/tssen.c /^PetscErrorCode TSSetCostHessianProducts(TS ts,PetscInt numcost,Vec *lambda2,Vec … 33847 …e/sensitivity/tssen.c /^PetscErrorCode TSSetCostIntegrand(TS ts,PetscInt numcost,Vec costintegral,… [all …]
|
H A D | TAGS | 13225 PetscInt numcost;177,7107
|