58 blitz::Array<real, 3> derivTempF;
69 blitz::Array<real, 3> interTempF;
Derivative class to perform finite difference operations on the data stored in field.
Definition: derivative.h:53
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
Plain scalar field class to store simple scalar fields with no differentiation or interpolation.
Definition: plainsf.h:51
Plain vector field class to store simple vector fields with no additional operators like differentiat...
Definition: plainvf.h:49
Scalar field class to store and operate on scalar fields.
Definition: sfield.h:54
void operator=(plainsf &a)
Overloaded operator to assign a plain scalar field to the scalar field.
Definition: sfield.cc:284
void gradient(plainvf &gradF, const vfield &V)
Operator to compute the gradient of the scalar field.
Definition: sfield.cc:155
sfield(const grid &gridData, std::string fieldName)
Constructor of the sfield class.
Definition: sfield.cc:62
void syncData()
Function to synchronise data across all processors when performing parallel computations.
Definition: sfield.cc:181
sfield & operator*=(real a)
Overloaded operator to multiply a scalar value to the scalar field.
Definition: sfield.cc:269
derivative derS
derS is an instance of the derivative class used to compute derivatives
Definition: sfield.h:64
std::string fieldName
This string is used to identify the vector field, and is useful in file-writing.
Definition: sfield.h:67
sfield & operator-=(plainsf &a)
Overloaded operator to subtract a given plain scalar field.
Definition: sfield.cc:215
void computeDiff(plainsf &H)
Function to compute the diffusion term.
Definition: sfield.cc:86
void computeNLin(const vfield &V, plainsf &H)
Function to compute the convective derivative of the scalar field.
Definition: sfield.cc:113
sfield & operator+=(plainsf &a)
Overloaded operator to add a given plain scalar field.
Definition: sfield.cc:197
Vector field class to store and operate on vector fields.
Definition: vfield.h:54
Class declaration of derivative.
Class declaration of field.