FDMUtils.hpp
Go to the documentation of this file.
Vector2D Gradient2(const ConstArrayView2< 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).
double Divergence2(const ConstArrayView2< Vector2D > &data, const Vector2D &gridSpacing, size_t i, size_t j)
Returns divergence value from given 2-D vector grid-like array data, gridSpacing, and array index (i...
static double Laplacian(const ConstArrayView3< double > &data, const Vector3D &gridSpacing, const Vector3UZ &idx)
Definition: FDMUtils.hpp:124
static double Divergence(const ConstArrayView3< Vector3D > &data, const Vector3D &gridSpacing, const Vector3UZ &idx)
Definition: FDMUtils.hpp:130
static Vector3D Gradient(const ConstArrayView3< double > &data, const Vector3D &gridSpacing, const Vector3UZ &idx)
Definition: FDMUtils.hpp:118
Vector3D Curl3(const ConstArrayView3< Vector3D > &data, const Vector3D &gridSpacing, size_t i, size_t j, size_t k)
Returns curl value from given 3-D vector grid-like array data, gridSpacing, and array index (i...
static double Divergence(const ConstArrayView2< Vector2D > &data, const Vector2D &gridSpacing, const Vector2UZ &idx)
Definition: FDMUtils.hpp:102
double Curl2(const ConstArrayView2< Vector2D > &data, const Vector2D &gridSpacing, size_t i, size_t j)
Returns curl value from given 2-D vector grid-like array data, gridSpacing, and array index (i...
double Laplacian3(const ConstArrayView3< 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...
static double Curl(const ConstArrayView2< Vector2D > &data, const Vector2D &gridSpacing, const Vector2UZ &idx)
Definition: FDMUtils.hpp:108
Definition: FDMUtils.hpp:82
static double Laplacian(const ConstArrayView2< double > &data, const Vector2D &gridSpacing, const Vector2UZ &idx)
Definition: FDMUtils.hpp:96
Definition: Matrix.hpp:27
Vector3D Gradient3(const ConstArrayView3< 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).
Definition: pybind11Utils.hpp:20
static Vector3D Curl(const ConstArrayView3< Vector3D > &data, const Vector3D &gridSpacing, const Vector3UZ &idx)
Definition: FDMUtils.hpp:136
double Laplacian2(const ConstArrayView2< 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...
static Vector2D Gradient(const ConstArrayView2< double > &data, const Vector2D &gridSpacing, const Vector2UZ &idx)
Definition: FDMUtils.hpp:90
double Divergence3(const ConstArrayView3< Vector3D > &data, const Vector3D &gridSpacing, size_t i, size_t j, size_t k)
Returns diverence value from given 3-D vector grid-like array data, gridSpacing, and array index (i...