diff --git a/src/lagrangian/basic/InteractionLists/InteractionLists.C b/src/lagrangian/basic/InteractionLists/InteractionLists.C index 391a41aa5b71da4aed7966e3aa1a82e7274c0f5d..33bc7d5e93596c49618aae62ae6a265468376eea 100644 --- a/src/lagrangian/basic/InteractionLists/InteractionLists.C +++ b/src/lagrangian/basic/InteractionLists/InteractionLists.C @@ -1076,6 +1076,29 @@ void Foam::InteractionLists<ParticleType>::writeReferredWallFaces() const // * * * * * * * * * * * * * * * * 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> Foam::InteractionLists<ParticleType>::InteractionLists ( @@ -1106,6 +1129,7 @@ Foam::InteractionLists<ParticleType>::InteractionLists buildInteractionLists(); } + // * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // template<class ParticleType> diff --git a/src/lagrangian/basic/InteractionLists/InteractionLists.H b/src/lagrangian/basic/InteractionLists/InteractionLists.H index 8382c77bd7509f900b4f30d0d45433c3b7d2a23f..2ff4ecfd5ef76b94cd072689b3c21a4ed8f7e3cf 100644 --- a/src/lagrangian/basic/InteractionLists/InteractionLists.H +++ b/src/lagrangian/basic/InteractionLists/InteractionLists.H @@ -216,6 +216,9 @@ public: // Constructors + //- Construct null from mesh + InteractionLists(const polyMesh& mesh); + //- Construct and call function to create all information from // the mesh InteractionLists