| /petsc/src/mat/tutorials/ |
| H A D | ex1.c | 20 MatOrderingType rtype = MATORDERINGRCM; in main() local 63 PetscCall(MatGetOrdering(A, rtype, &isrow, &iscol)); in main()
|
| /petsc/systems/Apple/iOS/bin/ |
| H A D | iosbuilder.py | 184 rtype = text.split(' ')[0] 199 elif rtype == 'scalar' and not self.scalarType.scalartype == rvalue: 202 elif rtype == 'language': 206 elif rtype == 'precision' and not rvalue == self.scalarType.precision: 209 elif rtype == 'package': 231 elif rtype == 'define': 240 elif rtype == 'function':
|
| /petsc/src/snes/impls/qn/ |
| H A D | qn.c | 324 SNESQNRestartType rtype = qn->restart_type; in SNESSetFromOptions_QN() local 336 …t type", "SNESQNSetRestartType", SNESQNRestartTypes, (PetscEnum)rtype, (PetscEnum *)&rtype, &flg)); in SNESSetFromOptions_QN() 337 if (flg) PetscCall(SNESQNSetRestartType(snes, rtype)); in SNESSetFromOptions_QN() 393 PetscErrorCode SNESQNSetRestartType(SNES snes, SNESQNRestartType rtype) in SNESQNSetRestartType() argument 397 PetscTryMethod(snes, "SNESQNSetRestartType_C", (SNES, SNESQNRestartType), (snes, rtype)); in SNESQNSetRestartType() 435 static PetscErrorCode SNESQNSetRestartType_QN(SNES snes, SNESQNRestartType rtype) in SNESQNSetRestartType_QN() argument 440 qn->restart_type = rtype; in SNESQNSetRestartType_QN()
|
| /petsc/src/ksp/ksp/interface/ |
| H A D | itcl.c | 542 PetscEnum rtype = (PetscEnum)1; in KSPSetFromOptions() local 544 …GetEnum(((PetscObject)ksp)->options, prefix, "-ksp_converged_rate_type", RateTypes, &rtype, &flg)); in KSPSetFromOptions() 545 …if (rtype == (PetscEnum)0 || rtype == (PetscEnum)1) PetscCall(KSPSetResidualHistory(ksp, NULL, PET… in KSPSetFromOptions() 546 …if (rtype == (PetscEnum)0 || rtype == (PetscEnum)2) PetscCall(KSPSetErrorHistory(ksp, NULL, PETSC_… in KSPSetFromOptions()
|
| /petsc/src/snes/impls/ngmres/ |
| H A D | snesngmres.c | 396 PetscErrorCode SNESNGMRESSetRestartType(SNES snes, SNESNGMRESRestartType rtype) in SNESNGMRESSetRestartType() argument 400 PetscTryMethod(snes, "SNESNGMRESSetRestartType_C", (SNES, SNESNGMRESRestartType), (snes, rtype)); in SNESNGMRESSetRestartType() 442 static PetscErrorCode SNESNGMRESSetRestartType_NGMRES(SNES snes, SNESNGMRESRestartType rtype) in SNESNGMRESSetRestartType_NGMRES() argument 447 ngmres->restart_type = rtype; in SNESNGMRESSetRestartType_NGMRES()
|
| /petsc/src/binding/petsc4py/src/lib-petsc/ |
| H A D | custom.h | 177 VecType rtype; in VecGetCurrentMemType() local 180 PetscCall(VecGetRootType_Private(v,&rtype)); in VecGetCurrentMemType() 181 PetscCall(PetscStrstr(rtype,"cuda",&iscuda)); in VecGetCurrentMemType() 182 PetscCall(PetscStrstr(rtype,"hip",&iship)); in VecGetCurrentMemType() 183 PetscCall(PetscStrstr(rtype,"kokkos",&iskok)); in VecGetCurrentMemType()
|
| /petsc/src/mat/impls/aij/mpi/ |
| H A D | mpimatmatmult.c | 394 MPI_Datatype *stype, *rtype; member 407 for (i = 0; i < contents->nrecvs; i++) PetscCallMPI(MPI_Type_free(&contents->rtype[i])); in MatMPIAIJ_MPIDenseDestroy() 408 PetscCall(PetscFree4(contents->stype, contents->rtype, contents->rwaits, contents->swaits)); in MatMPIAIJ_MPIDenseDestroy() 421 MPI_Datatype type1, *stype, *rtype; in MatMatMultSymbolic_MPIAIJ_MPIDense() local 480 …PetscCall(PetscMalloc4(nsends, &stype, nrecvs, &rtype, nrecvs, &contents->rwaits, nsends, &content… in MatMatMultSymbolic_MPIAIJ_MPIDense() 484 contents->rtype = rtype; in MatMatMultSymbolic_MPIAIJ_MPIDense() 503 PetscCallMPI(MPI_Type_create_resized(type1, 0, nz * sizeof(PetscScalar), &rtype[i])); in MatMatMultSymbolic_MPIAIJ_MPIDense() 504 PetscCallMPI(MPI_Type_commit(&rtype[i])); in MatMatMultSymbolic_MPIAIJ_MPIDense() 550 MPI_Datatype *stype, *rtype; in MatMPIDenseScatter() local 576 rtype = contents->rtype; in MatMPIDenseScatter() [all …]
|
| H A D | mpiaij.c | 6626 MatType rtype; in MatSetPreallocationCOO_MPIAIJ() local 6636 PetscCall(MatGetRootType_Private(mat, &rtype)); in MatSetPreallocationCOO_MPIAIJ() 6665 PetscCall(MatConvert(mpiaij->A, rtype, MAT_INPLACE_MATRIX, &mpiaij->A)); in MatSetPreallocationCOO_MPIAIJ() 6666 PetscCall(MatConvert(mpiaij->B, rtype, MAT_INPLACE_MATRIX, &mpiaij->B)); in MatSetPreallocationCOO_MPIAIJ()
|
| /petsc/src/binding/petsc4py/docs/source/ |
| H A D | apidoc.py | 184 rtype = sig.partition(':')[2].strip() or 'Any' 193 rtype = sig.rsplit('->', 1)[-1].strip()
|
| /petsc/src/mat/graphops/partition/impls/pmetis/ |
| H A D | pmetis.c | 125 …idx_t mtype = PARMETIS_MTYPE_GLOBAL, rtype = PARMETIS_SRTYPE_2PHASE, p_nseps = 1, s_nseps = … in MatPartitioningApply_Parmetis_Private() local 131 …dx_t *)adjncy, (idx_t *)part->vertex_weights, (idx_t *)&numflag, &mtype, &rtype, &p_nseps, &s_nsep… in MatPartitioningApply_Parmetis_Private()
|
| /petsc/src/ksp/pc/impls/bjacobi/bjkokkos/ |
| H A D | bjkokkos.kokkos.cxx | 789 MatOrderingType rtype; in PCSetUp_BJKOKKOS() local 791 rtype = MATORDERINGRCM; in PCSetUp_BJKOKKOS() 793 … PetscCall(MatGetOrdering(Aseq, rtype, &isrow, &isicol)); // only seems to work for seq matrix in PCSetUp_BJKOKKOS()
|
| /petsc/src/mat/impls/is/ |
| H A D | matis.c | 2549 VecType rtype; in MatISSetUpScatters_Private() local 2563 PetscCall(VecGetRootType_Private(is->y, &rtype)); in MatISSetUpScatters_Private() 2565 PetscCall(PetscStrallocpy(rtype, &A->defaultvectype)); in MatISSetUpScatters_Private()
|
| /petsc/src/mat/impls/aij/seq/ |
| H A D | aij.c | 4563 MatType rtype; in MatSetPreallocationCOO_SeqAIJ() local 4721 PetscCall(MatGetRootType_Private(mat, &rtype)); in MatSetPreallocationCOO_SeqAIJ() 4724 PetscCall(MatSetSeqAIJWithArrays_private(PETSC_COMM_SELF, M, N, Ai, Aj, Aa, rtype, mat)); in MatSetPreallocationCOO_SeqAIJ()
|
| /petsc/src/ts/utils/dmplexlandau/ |
| H A D | plexland.c | 1909 MatOrderingType rtype = MATORDERINGRCM; in LandauCreateJacobianMatrix() local 1911 PetscCall(MatGetOrdering(gMat, rtype, &isrow, &isicol)); in LandauCreateJacobianMatrix()
|
| /petsc/doc/manual/ |
| H A D | snes.md | 706 SNESQNSetRestartType(SNES snes, SNESQNRestartType rtype);
|