mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
lagrangian:: hasWallImpactDistance() need not be virtual
This commit is contained in:
@ -207,7 +207,7 @@ public:
|
||||
// non-zero wall distance values. By default, assume
|
||||
// that they can't (default for wallImpactDistance in
|
||||
// particle is 0.0).
|
||||
virtual bool hasWallImpactDistance() const
|
||||
bool hasWallImpactDistance() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@ -259,6 +259,9 @@ public:
|
||||
//- Remove particle from cloud and delete
|
||||
void deleteParticle(ParticleType&);
|
||||
|
||||
//- Remove lost particles from cloud and delete
|
||||
void deleteLostParticles();
|
||||
|
||||
//- Reset the particles
|
||||
void cloudReset(const Cloud<ParticleType>& c);
|
||||
|
||||
@ -298,10 +301,6 @@ public:
|
||||
const CompactIOField<Field<DataType>, DataType>& data
|
||||
) const;
|
||||
|
||||
//- Read the field data for the cloud of particles. Dummy at
|
||||
// this level.
|
||||
virtual void readFields();
|
||||
|
||||
|
||||
// Write
|
||||
|
||||
|
||||
@ -193,7 +193,7 @@ public:
|
||||
// then the wall impact distance should be zero.
|
||||
// Otherwise, it should be allowed to be the value from
|
||||
// the Parcel.
|
||||
virtual bool hasWallImpactDistance() const;
|
||||
bool hasWallImpactDistance() const;
|
||||
|
||||
|
||||
// Sub-models
|
||||
|
||||
@ -326,7 +326,7 @@ public:
|
||||
|
||||
//- Switch to specify if particles of the cloud can return
|
||||
// non-zero wall distance values - true for kinematic parcels
|
||||
virtual bool hasWallImpactDistance() const;
|
||||
bool hasWallImpactDistance() const;
|
||||
|
||||
|
||||
// References to the mesh and databases
|
||||
|
||||
@ -94,7 +94,7 @@ public:
|
||||
|
||||
// Access
|
||||
|
||||
virtual bool hasWallImpactDistance() const;
|
||||
bool hasWallImpactDistance() const;
|
||||
|
||||
inline const fvMesh& mesh() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user