Home
last modified time | relevance | path

Searched refs:type2 (Results 1 – 5 of 5) sorted by relevance

/petsc/src/mat/tests/
H A Dex33.c30 MPI_Datatype type1, type2, rtype1, rtype2; in TestMPIDerivedDataType() local
49 PetscCallMPI(MPI_Type_create_resized(type1, 0, 4 * sizeof(PetscScalar), &type2)); in TestMPIDerivedDataType()
50 PetscCallMPI(MPI_Type_commit(&type2)); in TestMPIDerivedDataType()
51 PetscCallMPI(MPI_Send(buffer, 6, type2, 1, 123, MPI_COMM_WORLD)); in TestMPIDerivedDataType()
71 PetscCallMPI(MPI_Type_free(&type2)); in TestMPIDerivedDataType()
/petsc/include/petsc/private/
H A Dpetscimpl.h624 #define PetscCheckTypeNames(a, type1, type2) \ argument
724 #define PetscCheckTypeNames(a, type1, type2) \ argument
727 PetscCall(PetscObjectTypeCompareAny(((PetscObject)(a)), &_7_match, (type1), (type2), "")); \
728 …PETSC_ERR_ARG_WRONG, "Object (%s) is not %s or %s", ((PetscObject)(a))->type_name, type1, type2); \
/petsc/src/dm/impls/stag/
H A Dstag.c579 DMType type2; in DMGetCompatibility_Stag() local
583 PetscCall(DMGetType(dm2, &type2)); in DMGetCompatibility_Stag()
584 PetscCall(PetscStrcmp(DMSTAG, type2, &sameType)); in DMGetCompatibility_Stag()
586 …PetscCall(PetscInfo(dm, "DMStag compatibility check not implemented with DM of type %s\n", type2)); in DMGetCompatibility_Stag()
/petsc/src/dm/interface/
H A Ddm.c8941 DMType type, type2; in DMGetCompatibility() local
8975 PetscCall(DMGetType(dm2, &type2)); in DMGetCompatibility()
8976 PetscCall(PetscStrcmp(type, type2, &sameType)); in DMGetCompatibility()
/petsc/doc/manual/
H A Dksp.md1663 preconditioners of type `type1` and `type2`. The preconditioner
1669 PCCompositeAddPCType(pc,type2);