lagrangian:: hasWallImpactDistance() need not be virtual

This commit is contained in:
Henry Weller
2016-08-16 11:31:14 +01:00
parent aaf8819c92
commit b23d80916b
4 changed files with 7 additions and 8 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -94,7 +94,7 @@ public:
// Access
virtual bool hasWallImpactDistance() const;
bool hasWallImpactDistance() const;
inline const fvMesh& mesh() const;