# PhasicFlow: src/Interaction/grainInteraction/boundaries/boundaryGrainInteractionList.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.

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