24#ifndef MATERIALBOUNDARY3D_H
25#define MATERIALBOUNDARY3D_H
35template<
typename T,
template<
typename U>
class PARTICLETYPE>
36class ParticleSystem3D;
45template<
typename T,
template<
typename U>
class PARTICLETYPE>
54 std::set<int> material);
61 _materials.insert(mat);
66 for (
unsigned i=0; i< mats.size(); ++i) {
67 _materials.insert(mats[i]);
72 typename std::deque<PARTICLETYPE<T> >::iterator& p,
77 std::set<int> _materials;
78 std::set<int>::iterator _matIter;
Prototype for all particle boundaries.
MaterialBoundary3D(SuperGeometry< T, 3 > &sg)
Constructor.
void addMaterial(int mat)
Add a single material number.
void applyBoundary(typename std::deque< PARTICLETYPE< T > >::iterator &p, ParticleSystem3D< T, PARTICLETYPE > &psSys) override
Apply the boundary condition.
~MaterialBoundary3D() override
void addMaterial(std::vector< int > mats)
Add several material numbers.
MaterialBoundary3D(MaterialBoundary3D< T, PARTICLETYPE > &f)
Copy constructor.
Representation of a statistic for a parallel 2D geometry.
Top level namespace for all of OpenLB.
Representation of a parallel 2D geometry – header file.