| 99 | } |
| 100 | |
| 101 | void localCoord(const Matrix& X, const Matrix& invJ, double gx, double gy, double& lx, double& ly) { |
| 102 | lx = ly = 0.0; |
| 103 | double px, py; |
| 104 | globalCoord(X, lx, ly, px, py); |
| 105 | Vector D(2); |
| 106 | Vector DL(2); |
| 107 | D(0) = gx - px; |
| 108 | D(1) = gy - py; |
| 109 | DL.addMatrixVector(0.0, invJ, D, 1.0); |
| 110 | lx = DL(0); |
| 111 | ly = DL(1); |
| 112 | } |
| 113 | |
| 114 | void localCoord(const Matrix& X, const Matrix& invJ, double gx, double gy, double gz, double& lx, double& ly) { |
| 115 | lx = ly = 0.0; |
no test coverage detected