5 #ifndef MERCURYDPM_ORIENTATIONFIELD_H
6 #define MERCURYDPM_ORIENTATIONFIELD_H
41 static void writeNames(std::ostream& os,
unsigned countVariables);
46 void write(std::ostream& os)
const;
51 void output(std::ostream& os)
const;
IntegralType
Specifies the two points between which a line integral is computed.
Definition: IntegralType.h:14
float * p
Definition: Tutorial_Map_using.cpp:9
Stores information about interactions between two interactable objects; often particles but could be ...
Definition: BaseInteraction.h:39
Definition: BaseParticle.h:33
A Base class for the fields.
Definition: BaseFields.h:22
Contains the computed field values, like density, momentum and stress.
Definition: OrientationField.h:33
void addParticleStatistics(Mdouble phi, const OrientationField ¤tInteraction)
This function should be called from within a loop over all particles to compute all the fields that a...
Definition: OrientationField.cc:71
void setFields(const BaseInteraction &c, IntegralType type)
Definition: OrientationField.h:126
~OrientationField()=default
static bool evaluateFixedParticles()
Definition: OrientationField.h:107
void addInteractionStatistics(Mdouble psi, const OrientationField ¤tInteraction)
Definition: OrientationField.h:135
OrientationField & operator=(const OrientationField &P)
Copies all field values.
OrientationField(const OrientationField &other)=default
void setCylindricalFields(const BaseParticle &p)
Definition: OrientationField.cc:89
OrientationField & operator+=(const OrientationField &P)
Adds the field values on the RHS to the LHS of the equation.
Definition: OrientationField.cc:46
void addParticleDifferentialStatistics(Vec3D &dphi, const OrientationField ¤tInteraction)
Definition: OrientationField.h:132
static bool isDifferentialField()
Definition: OrientationField.h:121
void setCylindricalFields(const BaseInteraction &c, IntegralType type)
Definition: OrientationField.h:129
static void writeNames(std::ostream &os, unsigned countVariables)
Definition: OrientationField.cc:17
static bool doInteractionStatistics()
Definition: OrientationField.h:112
void write(std::ostream &os) const
Writes class content into an output stream, typically a stat file.
Definition: OrientationField.cc:22
MatrixSymmetric3D getOrientation() const
Definition: OrientationField.h:101
void setFields(const BaseParticle &p)
Definition: OrientationField.cc:76
OrientationField getSquared() const
Returns the square of all field values (to calculate standard deviation).
Definition: OrientationField.cc:37
void setZero()
Sets all fields to zero.
Definition: OrientationField.cc:32
OrientationField & operator/=(Mdouble a)
Divides the field values on the LHS by the RHS of the equation.
Definition: OrientationField.cc:58
OrientationField operator*(Mdouble a) const
Multiplies the field values on the left of the '*' by the scalar value on the right of the '*' and re...
Definition: OrientationField.cc:64
void output(std::ostream &os) const
Writes human-readable class content into an output stream, typically a stat file.
Definition: OrientationField.cc:27
void addContactPointStatistics(Mdouble phi, const OrientationField ¤tInteraction)
Definition: OrientationField.h:138
OrientationField()
Definition: OrientationField.cc:11
MatrixSymmetric3D orientation_
Definition: OrientationField.h:142
OrientationField & operator-=(const OrientationField &P)
Subtracts the field values on the RHS from the LHS of the equation.
Definition: OrientationField.cc:52
Implementation of a 3D symmetric matrix.
Definition: MatrixSymmetric.h:16
Definition: Kernel/Math/Vector.h:30
const Scalar * a
Definition: level2_cplx_impl.h:32
Definition: BaseFields.h:14
double P
Uniform pressure.
Definition: TwenteMeshGluing.cpp:77
int c
Definition: calibrate.py:100
type
Definition: compute_granudrum_aor.py:141