Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/transform/impls/extrude/
H A Dplextrextrude.c796 PetscInt dEx = ex->cdimEx; in DMPlexTransformMapCoordinates_Extrude() local
804 …tscCheck(dEx <= 3, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Coordinate dimension for extruded m… in DMPlexTransformMapCoordinates_Extrude()
813 for (PetscInt d = 0; d < dEx; ++d) normal[d] = ones2[d]; in DMPlexTransformMapCoordinates_Extrude()
816 for (PetscInt d = 0; d < dEx; ++d) normal[d] = ones3[d]; in DMPlexTransformMapCoordinates_Extrude()
823 for (PetscInt d = 0; d < dEx; ++d) normal[d] = ex->normal[d]; in DMPlexTransformMapCoordinates_Extrude()
836 for (PetscInt d = 0; d < dEx; ++d) normal[d] += cnormal[d]; in DMPlexTransformMapCoordinates_Extrude()
847 for (PetscInt d = 0; d < dEx; ++d) normal[d] = PetscRealPart(vnormal[d]); in DMPlexTransformMapCoordinates_Extrude()
859 for (PetscInt d = 0; d < dEx; ++d) dot += PetscRealPart(n[d]) * normal[d]; in DMPlexTransformMapCoordinates_Extrude()
860 for (PetscInt d = 0; d < dEx; ++d) normal[d] = PetscSign(dot) * PetscRealPart(n[d]); in DMPlexTransformMapCoordinates_Extrude()
862 for (PetscInt d = 0; d < dEx; ++d) norm += PetscSqr(normal[d]); in DMPlexTransformMapCoordinates_Extrude()
[all …]