Home
last modified time | relevance | path

Searched refs:isSimplex (Results 1 – 10 of 10) sorted by relevance

/petsc/src/dm/impls/plex/tests/
H A Dex22.c111 PetscInt dim, dimC, isSimplex, isFE, numTests = 10; in main() local
125 for (isSimplex = 0; isSimplex < 2; isSimplex++) { in main()
133 …PlexCreateReferenceCell(PETSC_COMM_SELF, DMPolytopeTypeSimpleShape(dim, isSimplex ? PETSC_TRUE : P… in main()
142 …eDefault(PetscObjectComm((PetscObject)dm), dim, dim, isSimplex ? PETSC_TRUE : PETSC_FALSE, isSimpl… in main()
159 …tscInt_FMT " %" PetscInt_FMT "D mesh embedded in %" PetscInt_FMT "D\n", isSimplex ? "P" : "Q", ord… in main()
205 …Default(PetscObjectComm((PetscObject)dm), dim, dimC, isSimplex ? PETSC_TRUE : PETSC_FALSE, isSimpl… in main()
220 … PetscCall(testIdentity(dm, isSimplex ? PETSC_TRUE : PETSC_FALSE, 0, randCtx, numTests, tol)); in main()
H A Dex99.c26 PetscBool isSimplex; in CreateFE() local
42 isSimplex = PETSC_FALSE; in CreateFE()
45 isSimplex = PETSC_TRUE; in CreateFE()
49 PetscCall(PetscFECreateLagrange(PETSC_COMM_SELF, dim, 1, isSimplex, k, PETSC_DETERMINE, &fe)); in CreateFE()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DFE.pyx80 isSimplex: bool,
94 isSimplex
114 cdef PetscBool cisSimplex = asBool(isSimplex)
172 isSimplex: bool,
186 isSimplex
207 cdef PetscBool cisSimplex = asBool(isSimplex)
H A DDMPlex.pyx1698 def isSimplex(self) -> bool: member in DMPlex
/petsc/src/dm/impls/swarm/
H A Dswarmpic_plex.c19 … private_PetscFECreateDefault_scalar_pk1(DM dm, PetscInt dim, PetscBool isSimplex, PetscInt qorder… in private_PetscFECreateDefault_scalar_pk1() argument
27 PetscBool tensor = isSimplex ? PETSC_FALSE : PETSC_TRUE; in private_PetscFECreateDefault_scalar_pk1()
46 …PetscCall(DMPlexCreateReferenceCell(PETSC_COMM_SELF, DMPolytopeTypeSimpleShape(dim, isSimplex), &K… in private_PetscFECreateDefault_scalar_pk1()
69 if (isSimplex) { in private_PetscFECreateDefault_scalar_pk1()
/petsc/src/dm/impls/plex/
H A Dplexglvis.c316 PetscBool isSimplex, isTensor; in GLVisCreateFE() local
334 isSimplex = PETSC_FALSE; in GLVisCreateFE()
337 isSimplex = PETSC_TRUE; in GLVisCreateFE()
340 isTensor = isSimplex ? PETSC_FALSE : PETSC_TRUE; in GLVisCreateFE()
341 if (isSimplex) deg = PetscMin(deg, 3); /* Permutation not coded for degree higher than 3 */ in GLVisCreateFE()
358 …PetscCall(DMPlexCreateReferenceCell(PETSC_COMM_SELF, DMPolytopeTypeSimpleShape(dim, isSimplex), &K… in GLVisCreateFE()
363 if (isSimplex) { in GLVisCreateFE()
384 if (isSimplex && dim == 3) { in GLVisCreateFE()
H A Dplexgmsh.c1398 static PetscErrorCode GmshCreateFE(MPI_Comm comm, const char prefix[], PetscBool isSimplex, PetscBo… in GmshCreateFE() argument
1404 PetscBool isTensor = isSimplex ? PETSC_FALSE : PETSC_TRUE; in GmshCreateFE()
1431 …PetscCall(DMPlexCreateReferenceCell(PETSC_COMM_SELF, DMPolytopeTypeSimpleShape(dim, isSimplex), &K… in GmshCreateFE()
1441 if (isSimplex) { in GmshCreateFE()
1468 PetscCall(PetscSNPrintf(name, sizeof(name), "%s%" PetscInt_FMT, isSimplex ? "P" : "Q", k)); in GmshCreateFE()
1586 PetscBool isSimplex = PETSC_FALSE, isHybrid = PETSC_FALSE, hasTetra = PETSC_FALSE; in DMPlexCreateGmsh() local
1720 isSimplex = (ptA == GMSH_QUA || ptA == GMSH_HEX) ? PETSC_FALSE : PETSC_TRUE; in DMPlexCreateGmsh()
1734 buf[3] = isSimplex; in DMPlexCreateGmsh()
1743 isSimplex = buf[3] ? PETSC_TRUE : PETSC_FALSE; in DMPlexCreateGmsh()
1976 …if (isSimplex) continuity = PETSC_FALSE; /* XXX FIXME Requires DMPlexSetClosurePermutationLexicogr… in DMPlexCreateGmsh()
[all …]
H A Dplexgeometry.c3889 PetscBool isSimplex, isTensor; in DMPlexCoordinatesToReference() local
3892 isSimplex = (coneSize == (dimR + 1)) ? PETSC_TRUE : PETSC_FALSE; in DMPlexCoordinatesToReference()
3894 if (isSimplex) { in DMPlexCoordinatesToReference()
3972 PetscBool isSimplex, isTensor; in DMPlexReferenceToCoordinates() local
3975 isSimplex = (coneSize == (dimR + 1)) ? PETSC_TRUE : PETSC_FALSE; in DMPlexReferenceToCoordinates()
3977 if (isSimplex) { in DMPlexReferenceToCoordinates()
/petsc/src/binding/petsc4py/test/
H A Dtest_dmplex.py163 if self.CELLS is None and not self.plex.isSimplex():
244 if self.CELLS is None and not plex.isSimplex():
/petsc/src/dm/dt/fe/interface/
H A Dfe.c2123 PetscErrorCode PetscFECreateDefault(MPI_Comm comm, PetscInt dim, PetscInt Nc, PetscBool isSimplex, … in PetscFECreateDefault() argument
2126 …PetscCall(PetscFECreate_Internal(comm, dim, Nc, DMPolytopeTypeSimpleShape(dim, isSimplex), prefix,… in PetscFECreateDefault()
2183 PetscErrorCode PetscFECreateLagrange(MPI_Comm comm, PetscInt dim, PetscInt Nc, PetscBool isSimplex,… in PetscFECreateLagrange() argument
2186 …PetscCall(PetscFECreate_Internal(comm, dim, Nc, DMPolytopeTypeSimpleShape(dim, isSimplex), NULL, k… in PetscFECreateLagrange()