46#include <blitz/array.h>
47#include <blitz/array/stencil-et.h>
48#include <blitz/array/stencilops.h>
60 real ihx2, ihy2, ihz2;
66 blitz::Range fullRange;
67 blitz::Range xRange, yRange, zRange;
69 blitz::Array<real, 1> x_Metric, y_Metric, z_Metric;
70 blitz::Array<real, 1> xxMetric, yyMetric, zzMetric;
71 blitz::Array<real, 1> x2Metric, y2Metric, z2Metric;
73 blitz::Array<real, 3> tmpArray;
Derivative class to perform finite difference operations on the data stored in field.
Definition: derivative.h:53
void calcDerivative1_z(blitz::Array< real, 3 > outArray)
Function to compute the first derivative of the field with respect to z.
Definition: derivative.cc:159
derivative(const grid &gridData, const field &F)
Constructor of the derivative class.
Definition: derivative.cc:61
void calcDerivative1_x(blitz::Array< real, 3 > outArray)
Function to compute the first derivative of the field with respect to x.
Definition: derivative.cc:121
void calcDerivative2zz(blitz::Array< real, 3 > outArray)
Function to compute the second derivatives of the field with respect to z.
Definition: derivative.cc:231
void calcDerivative1_y(blitz::Array< real, 3 > outArray)
Function to compute the first derivative of the field with respect to y.
Definition: derivative.cc:140
void calcDerivative2yy(blitz::Array< real, 3 > outArray)
Function to compute the second derivatives of the field with respect to y.
Definition: derivative.cc:205
void calcDerivative2xx(blitz::Array< real, 3 > outArray)
Function to compute the second derivative of the field with respect to x.
Definition: derivative.cc:178
Field class to store data and perform finite difference operations on the data.
Definition: field.h:52
Contains all the global variables related to the grid, its slices, limits, and grid derivatives used ...
Definition: grid.h:53
Class declaration of field.
Class declaration of grid.