mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-07-28 03:27:05 +00:00
19 lines
402 B
C++
19 lines
402 B
C++
#include "boundaryGrainParticlesList.hpp"
|
|
|
|
pFlow::boundaryGrainParticlesList::boundaryGrainParticlesList(
|
|
const boundaryList &bndrs,
|
|
grainParticles &prtcls
|
|
)
|
|
:
|
|
ListPtr(bndrs.size()),
|
|
boundaries_(bndrs)
|
|
{
|
|
for(auto i=0; i<boundaries_.size(); i++)
|
|
{
|
|
this->set
|
|
(
|
|
i,
|
|
boundaryGrainParticles::create(boundaries_[i], prtcls)
|
|
);
|
|
}
|
|
} |