Home
last modified time | relevance | path

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

/petsc/src/dm/field/interface/
H A Ddmfield.c485 PetscReal inv1pX = 1. / (1. + x); in DMFieldCreateFEGeom() local
489 J[4] = 1. - y * y * inv1pX; in DMFieldCreateFEGeom()
490 J[5] = -y * z * inv1pX; in DMFieldCreateFEGeom()
491 J[7] = -y * z * inv1pX; in DMFieldCreateFEGeom()
492 J[8] = 1. - z * z * inv1pX; in DMFieldCreateFEGeom()
/petsc/src/dm/impls/plex/
H A Dplexgeometry.c1514 PetscReal inv1pX = 1. / (1. + x); in DMPlexComputeProjection3Dto1D() local
1520 R[4] = 1. - y * y * inv1pX; in DMPlexComputeProjection3Dto1D()
1521 R[5] = -y * z * inv1pX; in DMPlexComputeProjection3Dto1D()
1523 R[7] = -y * z * inv1pX; in DMPlexComputeProjection3Dto1D()
1524 R[8] = 1. - z * z * inv1pX; in DMPlexComputeProjection3Dto1D()