25 #ifndef LiquidMigrationFields_H
26 #define LiquidMigrationFields_H
70 static void writeNames(std::ostream& os,
unsigned countVariables);
75 void write(std::ostream& os)
const;
80 void output(std::ostream& os)
const;
IntegralType
Specifies the two points between which a line integral is computed.
Definition: IntegralType.h:34
Stores information about interactions between two interactable objects; often particles but could be ...
Definition: BaseInteraction.h:60
Definition: BaseParticle.h:54
Contains the computed field values, like density, momentum and stress.
Definition: LiquidMigrationFields.h:51
LiquidMigrationFields & operator/=(Mdouble a)
Divides the field values on the LHS by the RHS of the equation.
Definition: LiquidMigrationFields.cc:131
Mdouble getLiquidBridgeVolume() const
Definition: LiquidMigrationFields.h:155
void addContactPointStatistics(Mdouble phi, const LiquidMigrationFields ¤tInteraction)
This function should be called from within a loop over all Interactions to compute all the fields tha...
Definition: LiquidMigrationFields.cc:166
static bool doInteractionStatistics()
Returns true if the class contains fields that are defined as a sum over all Interactions (e....
Definition: LiquidMigrationFields.cc:171
LiquidMigrationFields(const LiquidMigrationFields &P)=default
Default copy constructor, copies the values of all fields.
void setFields(const BaseInteraction &c, IntegralType type)
Definition: LiquidMigrationFields.cc:176
static bool isDifferentialField()
Definition: LiquidMigrationFields.h:174
LiquidMigrationFields()
Default constructor, sets all field values to zero.
Definition: LiquidMigrationFields.cc:34
void setCylindricalFields(const BaseInteraction &c, IntegralType type)
Definition: LiquidMigrationFields.cc:211
LiquidMigrationFields & operator=(const LiquidMigrationFields &P)
Copies all field values.
void addParticleStatistics(Mdouble phi, const LiquidMigrationFields ¤tInteraction)
This function should be called from within a loop over all particles to compute all the fields that a...
Definition: LiquidMigrationFields.cc:142
Mdouble getLiquidFilmVolume() const
Definition: LiquidMigrationFields.h:160
void addInteractionStatistics(Mdouble psi, const LiquidMigrationFields ¤tInteraction)
This function should be called from within a loop over all Interactions to compute all the fields tha...
Definition: LiquidMigrationFields.cc:156
Mdouble liquidFilmVolume_
Definition: LiquidMigrationFields.h:195
void write(std::ostream &os) const
Writes class content into an output stream, typically a stat file.
Definition: LiquidMigrationFields.cc:54
void addParticleDifferentialStatistics(Vec3D &dphi, const LiquidMigrationFields ¤tInteraction)
Definition: LiquidMigrationFields.cc:147
LiquidMigrationFields 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: LiquidMigrationFields.cc:119
LiquidMigrationFields & operator+=(const LiquidMigrationFields &P)
Adds the field values on the RHS to the LHS of the equation.
Definition: LiquidMigrationFields.cc:97
LiquidMigrationFields getSquared() const
Returns the square of all field values (to calculate standard deviation).
Definition: LiquidMigrationFields.cc:78
void output(std::ostream &os) const
Writes human-readable class content into an output stream, typically a stat file.
Definition: LiquidMigrationFields.cc:63
void setZero()
Sets all fields to zero.
Definition: LiquidMigrationFields.cc:69
static void writeNames(std::ostream &os, unsigned countVariables)
Definition: LiquidMigrationFields.cc:45
static bool evaluateFixedParticles()
Definition: LiquidMigrationFields.h:165
~LiquidMigrationFields()=default
Destructor, it simply destructs the LiquidMigrationFields and all the objects it contains.
LiquidMigrationFields & operator-=(const LiquidMigrationFields &P)
Subtracts the field values on the RHS from the LHS of the equation.
Definition: LiquidMigrationFields.cc:108
Mdouble liquidBridgeVolume_
Definition: LiquidMigrationFields.h:187
Definition: GradVelocityField.cc:30
double P
Uniform pressure.
Definition: TwenteMeshGluing.cpp:73