Home
last modified time | relevance | path

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

/libCEED/examples/petsc/qfunctions/area/
H A Dareasphere.h67 const CeedScalar mod_xx_sq = xx[0][0] * xx[0][0] + xx[1][0] * xx[1][0] + xx[2][0] * xx[2][0]; in SetupMassGeoSphere() local
72 … for (int l = 0; l < 1; l++) xx_sq[j][k] += xx[j][l] * xx[k][l] / (sqrt(mod_xx_sq) * mod_xx_sq); in SetupMassGeoSphere()
77 …{1. / sqrt(mod_xx_sq) - xx_sq[0][0], -xx_sq[0][1], -xx_sq[0][2] … in SetupMassGeoSphere()
78 …{-xx_sq[1][0], 1. / sqrt(mod_xx_sq) - xx_sq[1][1], -xx_sq[1][2] … in SetupMassGeoSphere()
79 …][0], -xx_sq[2][1], 1. / sqrt(mod_xx_sq) - xx_sq[2][2]} in SetupMassGeoSphere()
/libCEED/examples/petsc/qfunctions/bps/
H A Dbp1sphere.h69 const CeedScalar mod_xx_sq = xx[0] * xx[0] + xx[1] * xx[1] + xx[2] * xx[2]; in SetupMassGeo() local
72 for (int k = 0; k < 3; k++) xx_sq[j][k] = xx[j] * xx[k] / (sqrt(mod_xx_sq) * mod_xx_sq); in SetupMassGeo()
76 …{1. / sqrt(mod_xx_sq) - xx_sq[0][0], -xx_sq[0][1], -xx_sq[0][2] … in SetupMassGeo()
77 …{-xx_sq[1][0], 1. / sqrt(mod_xx_sq) - xx_sq[1][1], -xx_sq[1][2] … in SetupMassGeo()
78 …][0], -xx_sq[2][1], 1. / sqrt(mod_xx_sq) - xx_sq[2][2]} in SetupMassGeo()
H A Dbp3sphere.h81 const CeedScalar mod_xx_sq = xx[0] * xx[0] + xx[1] * xx[1] + xx[2] * xx[2]; in SetupDiffGeo() local
84 for (int k = 0; k < 3; k++) xx_sq[j][k] = xx[j] * xx[k] / (sqrt(mod_xx_sq) * mod_xx_sq); in SetupDiffGeo()
88 …{1. / sqrt(mod_xx_sq) - xx_sq[0][0], -xx_sq[0][1], -xx_sq[0][2] … in SetupDiffGeo()
89 …{-xx_sq[1][0], 1. / sqrt(mod_xx_sq) - xx_sq[1][1], -xx_sq[1][2] … in SetupDiffGeo()
90 …][0], -xx_sq[2][1], 1. / sqrt(mod_xx_sq) - xx_sq[2][2]} in SetupDiffGeo()