Home
last modified time | relevance | path

Searched refs:newType (Results 1 – 2 of 2) sorted by relevance

/petsc/src/vec/vec/interface/
H A Dvecreg.c52 PetscErrorCode VecSetType(Vec vec, VecType newType) in VecSetType() argument
72 PetscCall(PetscObjectTypeCompare((PetscObject)vec, newType, &match)); in VecSetType()
79 PetscCall(PetscStrbeginswith(newType, VECSEQ, &dstSeq)); in VecSetType()
85 PetscCall(VecTypeCompareAny_Private(newType, &dstStandard, VECSTANDARD, VECSEQ, VECMPI, "")); in VecSetType()
90 PetscCall(PetscStrlcat(mpiType, newType, PETSC_MAX_VECTYPE_LEN)); in VecSetType()
92 PetscCall(PetscStrlcat(seqType, newType, PETSC_MAX_VECTYPE_LEN)); in VecSetType()
106 …if (!dstStandard) PetscCall(VecTypeCompareAny_Private(newType, &dstCUDA, VECCUDA, VECSEQCUDA, VECM… in VecSetType()
117 …if (!dstStandard) PetscCall(VecTypeCompareAny_Private(newType, &dstHIP, VECHIP, VECSEQHIP, VECMPIH… in VecSetType()
128 …if (!dstStandard) PetscCall(VecTypeCompareAny_Private(newType, &dstKokkos, VECKOKKOS, VECSEQKOKKOS… in VecSetType()
139 PetscCall(PetscFunctionListFind(VecList, newType, &r)); in VecSetType()
[all …]
/petsc/config/BuildSystem/config/
H A Dframework.py888 for newType, oldType in child.typedefs.items():
892 f.write(newType)