| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex29.c | 245 MatType jtype; in ComputeMatrix() local 248 PetscCall(MatGetType(jac, &jtype)); in ComputeMatrix() 251 PetscCall(MatConvert(J2, jtype, MAT_INPLACE_MATRIX, &J2)); in ComputeMatrix()
|
| H A D | ex34.c | 284 MatType jtype; in ComputeMatrix() local 287 PetscCall(MatGetType(jac, &jtype)); in ComputeMatrix() 290 PetscCall(MatConvert(J2, jtype, MAT_INPLACE_MATRIX, &J2)); in ComputeMatrix()
|
| /petsc/src/snes/tutorials/ |
| H A D | ex15.c | 71 JacType jtype; /* What type of Jacobian to assemble */ member 131 user.jtype = JAC_NEWTON; in main() 147 …an approximation to assemble", "", JacTypes, (PetscEnum)user.jtype, (PetscEnum *)&user.jtype, NULL… in main() 150 user.jtype = JAC_PICARD; in main() 518 switch (user->jtype) { in FormJacobianLocal() 612 …ObjectComm((PetscObject)info->da), PETSC_ERR_SUP, "Jacobian type %d not implemented", user->jtype); in FormJacobianLocal() 634 if (user->jtype == JAC_NEWTON) PetscCall(PetscLogFlops(info->xm * info->ym * (131.0))); in FormJacobianLocal()
|
| /petsc/src/mat/graphops/coarsen/impls/misk/ |
| H A D | misk.c | 249 MatType jtype; in MatCoarsenApply_MISK_private() local 250 PetscCall(MatGetType(Gmat, &jtype)); in MatCoarsenApply_MISK_private() 252 PetscCall(MatSetType(Prols[iterIdx], jtype)); in MatCoarsenApply_MISK_private()
|
| /petsc/src/dm/dt/fe/interface/ |
| H A D | fe.c | 1601 PetscErrorCode PetscFEIntegrateJacobian(PetscDS rds, PetscDS cds, PetscFEJacobianType jtype, PetscF… in PetscFEIntegrateJacobian() argument 1611 …if (fe->ops->integratejacobian) PetscCall((*fe->ops->integratejacobian)(rds, cds, jtype, key, Ne, … in PetscFEIntegrateJacobian() 1653 PetscErrorCode PetscFEIntegrateBdJacobian(PetscDS ds, PetscWeakForm wf, PetscFEJacobianType jtype, … in PetscFEIntegrateBdJacobian() argument 1662 …if (fe->ops->integratebdjacobian) PetscCall((*fe->ops->integratebdjacobian)(ds, wf, jtype, key, Ne… in PetscFEIntegrateBdJacobian() 1706 PetscErrorCode PetscFEIntegrateHybridJacobian(PetscDS ds, PetscDS dsIn, PetscFEJacobianType jtype, … in PetscFEIntegrateHybridJacobian() argument 1715 …tehybridjacobian) PetscCall((*fe->ops->integratehybridjacobian)(ds, dsIn, jtype, key, s, Ne, fgeom… in PetscFEIntegrateHybridJacobian()
|
| /petsc/src/dm/dt/fe/impls/basic/ |
| H A D | febasic.c | 743 PetscErrorCode PetscFEIntegrateJacobian_Basic(PetscDS rds, PetscDS cds, PetscFEJacobianType jtype, … in PetscFEIntegrateJacobian_Basic() argument 782 switch (jtype) { in PetscFEIntegrateJacobian_Basic() 893 …tegrateBdJacobian_Basic(PetscDS ds, PetscWeakForm wf, PetscFEJacobianType jtype, PetscFormKey key,… in PetscFEIntegrateBdJacobian_Basic() argument 930 switch (jtype) { in PetscFEIntegrateBdJacobian_Basic() 1059 …tegrateHybridJacobian_Basic(PetscDS ds, PetscDS dsIn, PetscFEJacobianType jtype, PetscFormKey key,… in PetscFEIntegrateHybridJacobian_Basic() argument 1097 switch (jtype) { in PetscFEIntegrateHybridJacobian_Basic()
|
| /petsc/src/ksp/pc/impls/gamg/ |
| H A D | agg.c | 732 MatType jtype; in PCGAMGCreateGraph_AGG() local 736 PetscCall(MatGetType(Gmat, &jtype)); in PCGAMGCreateGraph_AGG() 738 PetscCall(MatSetType(tGmat, jtype)); in PCGAMGCreateGraph_AGG()
|
| /petsc/src/mat/impls/aij/mpi/ |
| H A D | mpiaij.c | 7740 MatType jtype; in MatCreateGraph_Simple_AIJ() local 7757 PetscCall(MatGetType(Amat, &jtype)); in MatCreateGraph_Simple_AIJ() 7759 PetscCall(MatSetType(Gmat, jtype)); in MatCreateGraph_Simple_AIJ()
|