|
| StandardFieldsBinning () |
| Default constructor, sets all field values to zero. More...
|
|
| StandardFieldsBinning (const StandardFieldsBinning &P)=default |
| Default copy constructor, copies the values of all fields. More...
|
|
| ~StandardFieldsBinning ()=default |
| Destructor, it simply destructs the StandardFieldsBinning and all the objects it contains. More...
|
|
void | addParticleStatistics (Mdouble phi, const StandardFieldsBinning ¤tInteraction) |
| This function should be called from within a loop over all particles to compute all the fields that are defined as a sum over all particles (e.g. density, momentum). More...
|
|
void | addParticleDifferentialStatistics (Vec3D &dphi, const StandardFieldsBinning ¤tInteraction) |
|
void | addInteractionStatistics (Mdouble psi, const StandardFieldsBinning ¤tInteraction) |
| This function should be called from within a loop over all Interactions to compute all the fields that are defined as a sum over all Interactions (e.g. stress). More...
|
|
void | addContactPointStatistics (Mdouble phi, const StandardFieldsBinning ¤tInteraction) |
| This function should be called from within a loop over all Interactions to compute all the fields that are defined as a sum over all Interactions with external objects (e.g. IFD). More...
|
|
void | setFields (const BaseInteraction &c, IntegralType type) |
|
void | setCylindricalFields (const BaseInteraction &c, IntegralType type) |
|
void | setFields (const BaseParticle &p) |
|
void | setCylindricalFields (const BaseParticle &p) |
|
Public Member Functions inherited from CGFields::StandardFields |
| StandardFields () |
| Default constructor, sets all field values to zero. More...
|
|
| StandardFields (const StandardFields &P)=default |
| Default copy constructor, copies the values of all fields. More...
|
|
| ~StandardFields ()=default |
| Destructor, it simply destructs the StandardFields and all the objects it contains. More...
|
|
void | write (std::ostream &os) const |
| Writes class content into an output stream, typically a stat file. More...
|
|
void | output (std::ostream &os) const |
| Writes human-readable class content into an output stream, typically a stat file. More...
|
|
void | setZero () |
| Sets all fields to zero. More...
|
|
StandardFields | getSquared () const |
| Returns the square of all field values (to calculate standard deviation). More...
|
|
StandardFields & | operator= (const StandardFields &P) |
| Copies all field values. More...
|
|
StandardFields & | operator+= (const StandardFields &P) |
| Adds the field values on the RHS to the LHS of the equation. More...
|
|
StandardFields & | operator-= (const StandardFields &P) |
| Subtracts the field values on the RHS from the LHS of the equation. More...
|
|
StandardFields & | operator/= (Mdouble a) |
| Divides the field values on the LHS by the RHS of the equation. More...
|
|
StandardFields | operator* (Mdouble a) const |
| Multiplies the field values on the left of the '*' by the scalar value on the right of the '*' and returns the answer. More...
|
|
void | addParticleStatistics (Mdouble phi, const StandardFields ¤tInteraction) |
| This function should be called from within a loop over all particles to compute all the fields that are defined as a sum over all particles (e.g. density, momentum). More...
|
|
void | addParticleDifferentialStatistics (Vec3D &dphi, const StandardFields ¤tInteraction) |
|
void | addInteractionStatistics (Mdouble psi, const StandardFields ¤tInteraction) |
| This function should be called from within a loop over all Interactions to compute all the fields that are defined as a sum over all Interactions (e.g. stress). More...
|
|
void | addContactPointStatistics (Mdouble phi, const StandardFields ¤tInteraction) |
| This function should be called from within a loop over all Interactions to compute all the fields that are defined as a sum over all Interactions with external objects (e.g. IFD). More...
|
|
void | setFields (const BaseInteraction &c, IntegralType type) |
|
void | setCylindricalFields (const BaseInteraction &c, IntegralType type) |
|
void | setFields (const BaseParticle &p) |
|
void | setCylindricalFields (const BaseParticle &p) |
|
Mdouble | getVolumeFraction () const |
|
Mdouble | getDensity () const |
|
Vec3D | getMomentum () const |
|
MatrixSymmetric3D | getMomentumFlux () const |
|
Matrix3D | getContactStress () const |
|
Vec3D | getInteractionForceDensity () const |
|
Mdouble | getParticleSizeDensity (size_t i) const |
|
std::array< Mdouble, 6 > | getParticleSizeDensity () const |
|
std::array< Mdouble, 6 > | getParticleSizeMomenta () const |
|
std::array< Mdouble, 6 > | getCentralParticleSizeMomenta () const |
|
std::array< Mdouble, 6 > | getStandardisedParticleSizeMomenta () const |
|
void | outputStandardisedParticleSizeMomenta (std::ostream &os) const |
|
void | setCG (BaseCG *cg) |
|
BaseCG * | getCG () |
|
Contains the computed field values, like density, momentum and stress.
CGPoints inherits from this class; CGPoints::evaluate adds to the values of these variables.
- Todo:
- These are currently the only fields that are computed. However, this class is destined to be extended to contain additional information such as fabric, energy, local angular momentum. Also, a simpler version is planned, where only particle statistics are evaluated (density and momentum).