v0.14.0
derivative_delta.hpp
Go to the documentation of this file.
1 template <int Dim> class derivative_delta
2 {
3 public:
6 
7  derivative_delta(double dx, double dy, double dz, int di, int dj, int dk)
8  : d_ijk_plus(di, dj, dk), d_ijk_minus(di, dj, dk), d_xyz(dx, dy, dz)
9  {}
10 
11  derivative_delta(double dx, double dy, double dz, int di_plus, int dj_plus,
12  int dk_plus, int di_minus, int dj_minus, int dk_minus)
13  : d_ijk_plus(di_plus, dj_plus, dk_plus),
14  d_ijk_minus(di_minus, dj_minus, dk_minus), d_xyz(dx, dy, dz)
15  {}
16 };
derivative_delta::d_xyz
Tensor1< double, Dim > d_xyz
Definition: derivative_delta.hpp:5
derivative_delta::d_ijk_plus
Tensor1< int, Dim > d_ijk_plus
Definition: derivative_delta.hpp:4
derivative_delta::derivative_delta
derivative_delta(double dx, double dy, double dz, int di_plus, int dj_plus, int dk_plus, int di_minus, int dj_minus, int dk_minus)
Definition: derivative_delta.hpp:11
derivative_delta::derivative_delta
derivative_delta(double dx, double dy, double dz, int di, int dj, int dk)
Definition: derivative_delta.hpp:7
Tensor1
Definition: single.cpp:40
derivative_delta
Definition: derivative_delta.hpp:1
derivative_delta::d_ijk_minus
Tensor1< int, Dim > d_ijk_minus
Definition: derivative_delta.hpp:4