Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/transform/impls/extrude/
H A Dplextrextrude.c542 PetscReal cnormal[3] = {0, 0, 0}; in DMPlexTransformSetUp_Extrude() local
547 PetscCall(DMPlexComputeCellGeometryFVM(ex->dmNormal, face, NULL, NULL, cnormal)); in DMPlexTransformSetUp_Extrude()
564 for (PetscInt d = 0; d < ex->cdimEx; ++d) cnormal[d] *= -1.; in DMPlexTransformSetUp_Extrude()
565 for (PetscInt d = 0; d < ex->cdimEx; ++d) normal[d] += cnormal[d]; in DMPlexTransformSetUp_Extrude()
833 PetscReal cnormal[3] = {0, 0, 0}; in DMPlexTransformMapCoordinates_Extrude() local
835 PetscCall(DMPlexComputeCellGeometryFVM(dm, star[st], NULL, NULL, cnormal)); in DMPlexTransformMapCoordinates_Extrude()
836 for (PetscInt d = 0; d < dEx; ++d) normal[d] += cnormal[d]; in DMPlexTransformMapCoordinates_Extrude()