meshscalarfield.hpp
Go to the documentation of this file.
MeshScalarField & operator+=(const MeshScalarField &f)
Accumulation operator.
Definition: meshscalarfield.cpp:205
double & operator()(int32_t i, int32_t j, int32_t k)
Operator for pointing to elements of the field mesh.
Definition: meshscalarfield.hpp:165
void get_minmax(double &min, double &max) const
Search minimum and maximum values of scalar field.
Definition: meshscalarfield.cpp:140
void debug_print(std::ostream &os) const
Print debugging information to os.
Definition: meshscalarfield.cpp:348
void reset(geom_mode_e geom_mode, Int3D size, Vec3D origo, double h)
Resets the field geometry.
Definition: meshscalarfield.cpp:128
MeshScalarField & operator/=(double x)
Inverse scaling operator.
Definition: meshscalarfield.cpp:238
const double & operator()(int32_t i, int32_t j) const
Operator for pointing to elements of the field mesh.
Definition: meshscalarfield.hpp:175
MeshScalarField & operator=(const MeshScalarField &f)
Copy operator.
Definition: meshscalarfield.cpp:193
double & operator()(int32_t i, int32_t j)
Operator for pointing to elements of the field mesh.
Definition: meshscalarfield.hpp:160
MeshScalarField()
Default constructor.
Definition: meshscalarfield.cpp:52
virtual ~MeshScalarField()
Destructor.
Definition: meshscalarfield.cpp:98
const double & operator()(int32_t i) const
Operator for pointing to elements of the field mesh.
Definition: meshscalarfield.hpp:170
const double & operator()(int32_t i, int32_t j, int32_t k) const
Operator for pointing to elements of the field mesh.
Definition: meshscalarfield.hpp:180
void save(const std::string &filename) const
Saves scalar field data to file filename.
Definition: meshscalarfield.cpp:329
MeshScalarField & operator*=(double x)
Scaling operator.
Definition: meshscalarfield.cpp:229
MeshScalarField & operator-=(const MeshScalarField &f)
Inverse accumulation operator.
Definition: meshscalarfield.cpp:217
double & operator()(int32_t i)
Operator for pointing to elements of the field mesh.
Definition: meshscalarfield.hpp:155
Vec3D max(void) const
Returns vector pointing to the last mesh point opposite of origo.
Definition: mesh.hpp:137
Rectangular mesh definition.
Scalar fields.