File fieldperp.cxx#
Functions
-
FieldPerp operator-(const FieldPerp &f)#
Unary minus. Returns the negative of given field, iterates over whole domain including guard/boundary cells.
-
const FieldPerp sliceXZ(const Field3D &f, int y)#
Create a FieldPerp by slicing a 3D field at a given y.
-
bool operator==(const FieldPerp &a, const FieldPerp &b)#
Test if two fields are the same, by checking that they are defined at the same y-index, and if the minimum absolute difference between them is less than 1e-10