|
Mallard 0.8.0
Unstructured, GPU accelerated, high-order finite volume CFD solver
Mallard website |
Inverse-distance-squared weighted least-squares normal equations M g = b, with M stored as its upper triangle (row-major). More...
#include <gradient.h>
Public Member Functions | |
| KOKKOS_INLINE_FUNCTION void | add (const rtype *dx, const rtype *W_i, const rtype *W_j) |
| KOKKOS_INLINE_FUNCTION void | solve (rtype g[N_CONSERVATIVE][N_DIM]) const |
| Solve for the gradient of every variable: g[i][d] = d W_i / d x_d. | |
Public Attributes | |
| rtype | M [N_DIM *(N_DIM+1)/2] = {} |
| rtype | b [N_CONSERVATIVE][N_DIM] = {} |
Inverse-distance-squared weighted least-squares normal equations M g = b, with M stored as its upper triangle (row-major).
|
inline |
|
inline |
Solve for the gradient of every variable: g[i][d] = d W_i / d x_d.
| rtype LSQSystem::b[N_CONSERVATIVE][N_DIM] = {} |