Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/tests/
H A Dex73.c136 PetscBool isTensor; in CreateDiscretization() local
139 PetscCall(PetscObjectTypeCompare((PetscObject)subsp, PETSCSPACETENSOR, &isTensor)); in CreateDiscretization()
140 if (isTensor) { in CreateDiscretization()
/petsc/src/dm/dt/dualspace/impls/lagrange/
H A Ddspacelagrange.c1748 …DMPlexPointIsTensor_Internal_Given(DM dm, PetscInt p, PetscInt f, PetscInt f2, PetscBool *isTensor) in DMPlexPointIsTensor_Internal_Given() argument
1766 *isTensor = PETSC_FALSE; in DMPlexPointIsTensor_Internal_Given()
1795 *isTensor = PETSC_FALSE; in DMPlexPointIsTensor_Internal_Given()
1802 *isTensor = PETSC_FALSE; in DMPlexPointIsTensor_Internal_Given()
1814 *isTensor = PETSC_FALSE; in DMPlexPointIsTensor_Internal_Given()
1818 *isTensor = PETSC_TRUE; in DMPlexPointIsTensor_Internal_Given()
1824 static PetscErrorCode DMPlexPointIsTensor_Internal(DM dm, PetscInt p, PetscBool *isTensor, PetscInt… in DMPlexPointIsTensor_Internal() argument
1832 if (isTensor) *isTensor = PETSC_FALSE; in DMPlexPointIsTensor_Internal()
1854 if (isTensor) *isTensor = PETSC_TRUE; in DMPlexPointIsTensor_Internal()
1861 if (isTensor) *isTensor = PETSC_FALSE; in DMPlexPointIsTensor_Internal()
[all …]
/petsc/src/dm/impls/plex/
H A Dplexglvis.c316 PetscBool isSimplex, isTensor; in GLVisCreateFE() local
340 isTensor = isSimplex ? PETSC_FALSE : PETSC_TRUE; in GLVisCreateFE()
345 PetscCall(PetscSpacePolynomialSetTensor(P, isTensor)); in GLVisCreateFE()
353 PetscCall(PetscDualSpaceLagrangeSetTensor(Q, isTensor)); in GLVisCreateFE()
H A Dplexgeometry.c1923 static PetscErrorCode DMPlexComputeRectangleGeometry_Internal(DM dm, PetscInt e, PetscBool isTensor in DMPlexComputeRectangleGeometry_Internal() argument
1936 if (isTensor) { in DMPlexComputeRectangleGeometry_Internal()
1991 if (isTensor) { in DMPlexComputeRectangleGeometry_Internal()
3889 PetscBool isSimplex, isTensor; in DMPlexCoordinatesToReference() local
3893 isTensor = (coneSize == ((depth == 1) ? (1 << dimR) : (2 * dimR))) ? PETSC_TRUE : PETSC_FALSE; in DMPlexCoordinatesToReference()
3907 } else if (isTensor) { in DMPlexCoordinatesToReference()
3972 PetscBool isSimplex, isTensor; in DMPlexReferenceToCoordinates() local
3976 isTensor = (coneSize == ((depth == 1) ? (1 << dimR) : (2 * dimR))) ? PETSC_TRUE : PETSC_FALSE; in DMPlexReferenceToCoordinates()
3989 } else if (isTensor) { in DMPlexReferenceToCoordinates()
H A Dplexgmsh.c1404 PetscBool isTensor = isSimplex ? PETSC_FALSE : PETSC_TRUE; in GmshCreateFE() local
1412 PetscCall(PetscSpacePolynomialSetTensor(P, isTensor)); in GmshCreateFE()
1426 PetscCall(PetscDualSpaceLagrangeSetTensor(Q, isTensor)); in GmshCreateFE()