mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Added null constructor to InteractionLists
This commit is contained in:
@ -1076,6 +1076,29 @@ void Foam::InteractionLists<ParticleType>::writeReferredWallFaces() const
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
template<class ParticleType>
|
||||||
|
Foam::InteractionLists<ParticleType>::InteractionLists(const polyMesh& mesh)
|
||||||
|
:
|
||||||
|
mesh_(mesh),
|
||||||
|
cloud_(mesh_, "NULL_Cloud", IDLList<ParticleType>()),
|
||||||
|
writeCloud_(false),
|
||||||
|
cellMapPtr_(),
|
||||||
|
wallFaceMapPtr_(),
|
||||||
|
globalTransforms_(mesh_),
|
||||||
|
maxDistance_(0.0),
|
||||||
|
dil_(),
|
||||||
|
dwfil_(),
|
||||||
|
ril_(),
|
||||||
|
rilInverse_(),
|
||||||
|
cellIndexAndTransformToDistribute_(),
|
||||||
|
wallFaceIndexAndTransformToDistribute_(),
|
||||||
|
referredWallFaces_(),
|
||||||
|
UName_("unknown_UName"),
|
||||||
|
referredWallData_(),
|
||||||
|
referredParticles_()
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class ParticleType>
|
template<class ParticleType>
|
||||||
Foam::InteractionLists<ParticleType>::InteractionLists
|
Foam::InteractionLists<ParticleType>::InteractionLists
|
||||||
(
|
(
|
||||||
@ -1106,6 +1129,7 @@ Foam::InteractionLists<ParticleType>::InteractionLists
|
|||||||
buildInteractionLists();
|
buildInteractionLists();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class ParticleType>
|
template<class ParticleType>
|
||||||
|
|||||||
@ -216,6 +216,9 @@ public:
|
|||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
|
//- Construct null from mesh
|
||||||
|
InteractionLists(const polyMesh& mesh);
|
||||||
|
|
||||||
//- Construct and call function to create all information from
|
//- Construct and call function to create all information from
|
||||||
// the mesh
|
// the mesh
|
||||||
InteractionLists
|
InteractionLists
|
||||||
|
|||||||
Reference in New Issue
Block a user