www.cemf.ir
boundarySphereParticlesList.cpp
Go to the documentation of this file.
2 
4  const boundaryList &bndrs,
5  sphereParticles &prtcls
6 )
7 :
8  ListPtr(bndrs.size()),
9  boundaries_(bndrs)
10 {
11  for(auto i=0; i<boundaries_.size(); i++)
12  {
13  this->set
14  (
15  i,
17  );
18  }
19 }
pFlow::ListPtr::size
size_t size() const
Definition: ListPtrI.hpp:266
pFlow::ListPtr
Definition: ListPtr.hpp:37
pFlow::boundarySphereParticles::create
static uniquePtr< boundarySphereParticles > create(const boundaryBase &boundary, sphereParticles &prtcls)
Definition: boundarySphereParticles.cpp:27
pFlow::boundarySphereParticlesList::boundarySphereParticlesList
boundarySphereParticlesList(const boundaryList &bndrs, sphereParticles &prtcls)
Definition: boundarySphereParticlesList.cpp:3
pFlow::boundaryList
Definition: boundaryList.hpp:35
pFlow::sphereParticles
Class for managing spherical particles.
Definition: sphereParticles.hpp:42
boundarySphereParticlesList.hpp
pFlow::boundarySphereParticlesList::boundaries_
const boundaryList & boundaries_
Definition: boundarySphereParticlesList.hpp:19
pFlow::ListPtr< boundarySphereParticles >::set
uniquePtr< boundarySphereParticles > set(size_t i, boundarySphereParticles *ptr)
Definition: ListPtrI.hpp:155