Home
last modified time | relevance | path

Searched refs:rtype (Results 1 – 15 of 15) sorted by relevance

/petsc/src/mat/tutorials/
H A Dex1.c20 MatOrderingType rtype = MATORDERINGRCM; in main() local
63 PetscCall(MatGetOrdering(A, rtype, &isrow, &iscol)); in main()
/petsc/systems/Apple/iOS/bin/
H A Diosbuilder.py184 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 Dqn.c324 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 Ditcl.c542 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 Dsnesngmres.c396 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 Dcustom.h177 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 Dmpimatmatmult.c394 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 Dmpiaij.c6626 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 Dapidoc.py184 rtype = sig.partition(':')[2].strip() or 'Any'
193 rtype = sig.rsplit('->', 1)[-1].strip()
/petsc/src/mat/graphops/partition/impls/pmetis/
H A Dpmetis.c125 …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 Dbjkokkos.kokkos.cxx789 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 Dmatis.c2549 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 Daij.c4563 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 Dplexland.c1909 MatOrderingType rtype = MATORDERINGRCM; in LandauCreateJacobianMatrix() local
1911 PetscCall(MatGetOrdering(gMat, rtype, &isrow, &isicol)); in LandauCreateJacobianMatrix()
/petsc/doc/manual/
H A Dsnes.md706 SNESQNSetRestartType(SNES snes, SNESQNRestartType rtype);