|
| __device__ int | CudaUtils::sign (real x) |
| | Get sign of floating point variable. More...
|
| |
| __device__ int | CudaUtils::stressIndex (int particleIndex, int row, int col) |
| | map [i][j] to [i*DIM*DIM+j] for the tensors More...
|
| |
| __device__ void | CudaUtils::copyMatrix (real src[DIM][DIM], real dst[DIM][DIM]) |
| | Deep copy of matrix. More...
|
| |
| __device__ void | CudaUtils::transposeMatrix (real m[DIM][DIM]) |
| | Transpose matrix. More...
|
| |
| __device__ void | CudaUtils::multiplyMatrix (real A[DIM][DIM], real B[DIM][DIM], real C[DIM][DIM]) |
| |
| __device__ void | CudaUtils::multiply (real A[][DIM], real B[][DIM], real C[][DIM]) |
| |
| __device__ void | CudaUtils::identityMatrix (real A[DIM][DIM]) |
| | Return identity matrix. More...
|
| |
| __device__ int | CudaUtils::maxMatrix (real M[DIM][DIM], int *e, int *f, real *elmax) |
| | Returns the indices of the greatest non-diagonal element of the matrix M. More...
|
| |
| __device__ void | CudaUtils::rotateMatrix (volatile real m[DIM][DIM], volatile real c, volatile real s, volatile int e, volatile int f) |
| | Rotate matrix. More...
|
| |
| __device__ int | CudaUtils::calculateAllEigenvalues (real M[DIM][DIM], real eigenvalues[DIM], real v[DIM][DIM]) |
| | Computes all eigenvalues and eigenvectors of the symmetric matrix M. More...
|
| |
| __device__ real | CudaUtils::calculateMaxEigenvalue (real M[DIM][DIM]) |
| | Computes the eigenvalues of the symmetric matrix M. More...
|
| |
| __device__ real | CudaUtils::det2x2 (real a, real b, real c, real d) |
| | Determinant of a 2x2 matrix. More...
|
| |
| __device__ int | CudaUtils::invertMatrix (real *m, real *inverted) |
| | Invert matrix. More...
|
| |