Searched refs:inv1pX (Results 1 – 2 of 2) sorted by relevance
494 PetscReal inv1pX = 1./ (1. + x); in DMFieldCreateFEGeom() local497 J[4] = 1. - y*y*inv1pX; J[5] = -y*z*inv1pX; in DMFieldCreateFEGeom()498 J[7] = -y*z*inv1pX; J[8] = 1. - z*z*inv1pX; in DMFieldCreateFEGeom()
865 PetscReal inv1pX = 1./ (1. + x); in DMPlexComputeProjection3Dto1D() local868 R[3] = y; R[4] = 1. - y*y*inv1pX; R[5] = -y*z*inv1pX; in DMPlexComputeProjection3Dto1D()869 R[6] = z; R[7] = -y*z*inv1pX; R[8] = 1. - z*z*inv1pX; in DMPlexComputeProjection3Dto1D()