Home
last modified time | relevance | path

Searched refs:DMPolytopeTypeGetDim (Results 1 – 25 of 26) sorted by relevance

12

/petsc/src/dm/impls/plex/tests/
H A Dex41.c70 dim = DMPolytopeTypeGetDim(ct); in ConstructRefineTree()
73 if (DMPolytopeTypeGetDim(rct[n]) != dim) continue; in ConstructRefineTree()
/petsc/src/dm/impls/plex/transform/interface/
H A Dplextransform.c36 if (DMPolytopeTypeGetDim((DMPolytopeType)c) == dimOrder[d]) ctO[off++] = c; in DMPlexCreateCellTypeOrder_Internal()
424 …if (DMPolytopeTypeGetDim((DMPolytopeType)c) > 0 && c != DM_POLYTOPE_UNKNOWN_CELL && c != DM_POLYTO… in DMPlexTransformDestroy()
481 if (DMPolytopeTypeGetDim(ct) < 0 || DMPolytopeTypeGetDim(ctNew) < 0) { in DMPlexTransformCreateOffset_Internal()
530 …if (DMPolytopeTypeGetDim(ct) < 0 || ct == DM_POLYTOPE_UNKNOWN_CELL || ct == DM_POLYTOPE_UNKNOWN_FA… in DMPlexTransformCreateOffset_Internal()
586 while (DMPolytopeTypeGetDim(ctCell) < 0) PetscCall(DMPlexGetCellType(dm, c++, &ctCell)); in DMPlexTransformSetUp()
608 …PetscCall(DMPlexCreateCellTypeOrder_Internal(dm, DMPolytopeTypeGetDim(ctCell), &tr->ctOrderOld, &t… in DMPlexTransformSetUp()
618 for (n = 0; n < Nct; ++n) celldim = PetscMax(celldim, DMPolytopeTypeGetDim(rct[n])); in DMPlexTransformSetUp()
656 …r->ctStartNew[tr->ctOrderNew[c]]) tr->depth = PetscMax(tr->depth, DMPolytopeTypeGetDim((DMPolytope… in DMPlexTransformSetUp()
663 const PetscInt dep = DMPolytopeTypeGetDim((DMPolytopeType)tr->ctOrderNew[c]); in DMPlexTransformSetUp()
818 dim = DMPolytopeTypeGetDim(ct); in DMPlexTransformGetCoordinateFE()
[all …]
/petsc/src/dm/impls/plex/
H A Dplexextrude.c105 PetscInt pNew, pdim = DMPolytopeTypeGetDim(rct[n]); in DMPlexExtrude()
H A Dplexproject.c765 dim = DMPolytopeTypeGetDim(ct); in DMProjectLocal_Generic_Plex()
769 dimIn = DMPolytopeTypeGetDim(ctIn); in DMProjectLocal_Generic_Plex()
775 dimAux = DMPolytopeTypeGetDim(ctAux); in DMProjectLocal_Generic_Plex()
H A Dplexdistribute.c953 …if (DMPolytopeTypeGetDim((DMPolytopeType)c) != dim && !(i == 0 && (c == DM_POLYTOPE_FV_GHOST || c … in DMPlexStratifyMigrationSF()
961 const PetscInt ctDim = DMPolytopeTypeGetDim((DMPolytopeType)c); in DMPlexStratifyMigrationSF()
H A Dplexgeometry.c407 …PetscCall(DMPlexGetPlaneSimplexIntersection_Internal(dm, DMPolytopeTypeGetDim(ct), c, p, normal, p… in DMPlexGetPlaneCellIntersection_Internal()
410 …PetscCall(DMPlexGetPlaneQuadIntersection_Internal(dm, DMPolytopeTypeGetDim(ct), c, p, normal, pos,… in DMPlexGetPlaneCellIntersection_Internal()
413 …PetscCall(DMPlexGetPlaneHexIntersection_Internal(dm, DMPolytopeTypeGetDim(ct), c, p, normal, pos, … in DMPlexGetPlaneCellIntersection_Internal()
H A Dplexinterpolate.c1575 if (pdepth != DMPolytopeTypeGetDim(ct)) { in DMPlexInterpolate()
H A Dplex.c62 …*simplex = DMPolytopeTypeGetNumVertices(ct) == DMPolytopeTypeGetDim(ct) + 1 ? PETSC_TRUE : PETSC_F… in DMPlexIsSimplex()
4472 dmin = PetscMin(DMPolytopeTypeGetDim(ct), dmin); in DMPlexStratify_CellType_Private()
4473 dmax = PetscMax(DMPolytopeTypeGetDim(ct), dmax); in DMPlexStratify_CellType_Private()
4485 d = DMPolytopeTypeGetDim(ct); in DMPlexStratify_CellType_Private()
9248 …simplex = DMPolytopeTypeGetNumVertices(ct) == DMPolytopeTypeGetDim(ct) + 1 ? PETSC_TRUE : PETSC_FA… in DMPlexCreateRankField()
/petsc/src/snes/tutorials/
H A Dex20.c110 …simplex = DMPolytopeTypeGetNumVertices(ct) == DMPolytopeTypeGetDim(ct) + 1 ? PETSC_TRUE : PETSC_FA… in SetupDiscretization()
H A Dex26.c155 …simplex = DMPolytopeTypeGetNumVertices(ct) == DMPolytopeTypeGetDim(ct) + 1 ? PETSC_TRUE : PETSC_FA… in SetupDiscretization()
H A Dex24.c287 …simplex = DMPolytopeTypeGetNumVertices(ct) == DMPolytopeTypeGetDim(ct) + 1 ? PETSC_TRUE : PETSC_FA… in SetupDiscretization()
H A Dex13.c221 …simplex = DMPolytopeTypeGetNumVertices(ct) == DMPolytopeTypeGetDim(ct) + 1 ? PETSC_TRUE : PETSC_FA… in SetupDiscretization()
/petsc/src/snes/tests/
H A Dex13.c134 …simplex = DMPolytopeTypeGetNumVertices(ct) == DMPolytopeTypeGetDim(ct) + 1 ? PETSC_TRUE : PETSC_FA… in SetupDiscretization()
/petsc/src/ts/tests/
H A Dex27.c85 …simplex = DMPolytopeTypeGetNumVertices(ct) == DMPolytopeTypeGetDim(ct) + 1 ? PETSC_TRUE : PETSC_FA… in SetInitialCoordinates()
H A Dex28.c79 …simplex = DMPolytopeTypeGetNumVertices(ct) == DMPolytopeTypeGetDim(ct) + 1 ? PETSC_TRUE : PETSC_FA… in SetInitialCoordinates()
/petsc/src/dm/impls/plex/transform/impls/extrude/
H A Dplextrextrude.c113 dimExtPoint = PetscMax(dimExtPoint, DMPolytopeTypeGetDim(ct)); in DMPlexTransformExtrudeComputeExtrusionDim()
648 if (DMPolytopeTypeGetDim(sct) == ex->dimEx - 1) { in DMPlexTransformGetSubcellOrientation_Extrude()
/petsc/include/
H A Dpetscdm.h481 static inline PetscInt DMPolytopeTypeGetDim(DMPolytopeType ct) in DMPolytopeTypeGetDim() function
/petsc/src/dm/impls/swarm/tests/
H A Dex2.c187 …simplex = DMPolytopeTypeGetNumVertices(ct) == DMPolytopeTypeGetDim(ct) + 1 ? PETSC_TRUE : PETSC_FA… in CreateParticles()
/petsc/src/ts/tutorials/
H A Dex76.c1431 …simplex = DMPolytopeTypeGetNumVertices(ct) == DMPolytopeTypeGetDim(ct) + 1 ? PETSC_TRUE : PETSC_FA… in CreateCellDM()
1471 …simplex = DMPolytopeTypeGetNumVertices(ct) == DMPolytopeTypeGetDim(ct) + 1 ? PETSC_TRUE : PETSC_FA… in SetupDiscretization()
H A Dex77.c560 …simplex = DMPolytopeTypeGetNumVertices(ct) == DMPolytopeTypeGetDim(ct) + 1 ? PETSC_TRUE : PETSC_FA… in SetupDiscretization()
/petsc/src/dm/dt/interface/
H A Ddt.c3384 dim = DMPolytopeTypeGetDim(ct); in PetscQuadratureComputePermutations()
3441 const PetscInt dim = DMPolytopeTypeGetDim(ct); in PetscDTCreateQuadratureByCell()
/petsc/src/dm/impls/plex/exodusii/
H A Dplexexodusii2.c1721 dim = PetscMax(dim, DMPolytopeTypeGetDim(ct)); in DMPlexCreateExodus()
/petsc/src/dm/interface/
H A Ddm.c9201 …simplex = DMPolytopeTypeGetNumVertices(ct) == DMPolytopeTypeGetDim(ct) + 1 ? PETSC_TRUE : PETSC_FA… in DMComputeError()
9631 for (d = 0; d < DMPolytopeTypeGetDim(ct); ++d) { in DMPolytopeInCellTest()
9645 for (d = 0; d < DMPolytopeTypeGetDim(ct); ++d) in DMPolytopeInCellTest()
/petsc/src/dm/impls/swarm/
H A Dswarm.c2229 …simplex = DMPolytopeTypeGetNumVertices(ct) == DMPolytopeTypeGetDim(ct) + 1 ? PETSC_TRUE : PETSC_FA… in DMSwarmSetPointCoordinatesRandom()
/petsc/src/dm/impls/plex/cgns/
H A Dplexcgns2.c275 if (dim) *dim = DMPolytopeTypeGetDim(_dmcelltype); in CGNSElementTypeGetTopologyInfo()

12