Lines Matching +full:- +full:j2
1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
4 // SPDX-License-Identifier: BSD-2-Clause
9 /// Geometric factors (2D) for Navier-Stokes example using PETSc
21 // Inverse of change of coordinate matrix: dXdx_{i,j} = (detJ^-1) * X_{i,j}
28 // detJ = J11*J22 - J21*J12
42 // (detJ^-1) * [A11 A12]
68 // J2 = dx_2/dX
70 // detJb is the magnitude of (J1,J2)
79 // Normal vector is given by the cross product of (J1,J2)/detJ and ẑ
81 // Stored: (J1,J2,0) x (0,0,1) / detJb
83 // (detJb^-1) * [ J2 ]
84 // [-J1 ]
112 // (J1,J2,J3) is given by the cross product of the columns of dxdX_{i,j}
114 // detJb is the magnitude of (J1,J2,J3)
118 // dX_i/dx_j = (dxdX^T dxdX)^(-1) dxdX
119 // = (dx_l/dX_i * dx_l/dX_k)^(-1) dx_j/dX_k
129 // Normal vector = (J1,J2,J3) / detJb
131 // Stored: (J1,J2,J3) / detJb