# PhasicFlow: src/Interaction/sphereInteraction/boundaries/boundarySphereInteractionList.cpp Source File
PhasicFlow is an open-source parallel DEM (discrete element method) package for simulating granular flow. It is developed in C++ and can be exectued on both GPU (like CUDA) and CPU.

boundarySphereInteractionList.cpp
Go to the documentation of this file.
template <typename CFModel, typename gMModel>
pFlow::boundarySphereInteractionList<CFModel, gMModel>::boundarySphereInteractionList
(
const sphereParticles &sphPrtcls,
const gMModel &geomMotion
)
:
ListPtr<boundarySphereInteraction<CFModel,gMModel>>(6),
boundaries_(sphPrtcls.pStruct().boundaries())
{
//gSettings::sleepMiliSeconds(1000*pFlowProcessors().localRank());
for(uint32 i=0; i<6; i++)
{
this->set(
i,
boundarySphereInteraction<CFModel, gMModel>::create(
boundaries_[i],
sphPrtcls,
geomMotion));
}
}
pFlow::boundarySphereInteractionList::boundarySphereInteractionList
boundarySphereInteractionList(const sphereParticles &sphPrtcls, const geometryMotionModel &geomMotion)
Definition: boundarySphereInteractionList.cpp:5
pFlow::ListPtr
Definition: ListPtr.hpp:37
pFlow::boundarySphereInteraction
Definition: boundarySphereInteraction.hpp:32
pFlow::uint32
unsigned int uint32
Definition: builtinTypes.hpp:56
pFlow::sphereParticles
Class for managing spherical particles.
Definition: sphereParticles.hpp:42
pFlow::pointStructure::boundaries
auto & boundaries()
Definition: pointStructure.hpp:118
pFlow::particles::pStruct
const pointStructure & pStruct() const
Definition: particles.hpp:106