FDMUtils.h File Reference

Go to the source code of this file.

Namespaces

 CubbyFlow
 

Functions

Vector2D CubbyFlow::Gradient2 (const ConstArrayAccessor2< double > &data, const Vector2D &gridSpacing, size_t i, size_t j)
 Returns 2-D gradient vector from given 2-D scalar grid-like array data, gridSpacing, and array index (i, j). More...
 
std::array< Vector2D, 2 > CubbyFlow::Gradient2 (const ConstArrayAccessor2< Vector2D > &data, const Vector2D &gridSpacing, size_t i, size_t j)
 Returns 2-D gradient vectors from given 2-D vector grid-like array data, gridSpacing, and array index (i, j). More...
 
Vector3D CubbyFlow::Gradient3 (const ConstArrayAccessor3< double > &data, const Vector3D &gridSpacing, size_t i, size_t j, size_t k)
 Returns 3-D gradient vector from given 3-D scalar grid-like array data, gridSpacing, and array index (i, j, k). More...
 
std::array< Vector3D, 3 > CubbyFlow::Gradient3 (const ConstArrayAccessor3< Vector3D > &data, const Vector3D &gridSpacing, size_t i, size_t j, size_t k)
 Returns 3-D gradient vectors from given 3-D vector grid-like array data, gridSpacing, and array index (i, j, k). More...
 
double CubbyFlow::Laplacian2 (const ConstArrayAccessor2< double > &data, const Vector2D &gridSpacing, size_t i, size_t j)
 Returns Laplacian value from given 2-D scalar grid-like array data, gridSpacing, and array index (i, j). More...
 
Vector2D CubbyFlow::Laplacian2 (const ConstArrayAccessor2< Vector2D > &data, const Vector2D &gridSpacing, size_t i, size_t j)
 Returns 2-D Laplacian vectors from given 2-D vector grid-like array data, gridSpacing, and array index (i, j). More...
 
double CubbyFlow::Laplacian3 (const ConstArrayAccessor3< double > &data, const Vector3D &gridSpacing, size_t i, size_t j, size_t k)
 Returns Laplacian value from given 3-D scalar grid-like array data, gridSpacing, and array index (i, j, k). More...
 
Vector3D CubbyFlow::Laplacian3 (const ConstArrayAccessor3< Vector3D > &data, const Vector3D &gridSpacing, size_t i, size_t j, size_t k)
 Returns 3-D Laplacian vectors from given 3-D vector grid-like array data, gridSpacing, and array index (i, j, k). More...