24#ifndef MATERIALSTLBOUNDARY3D_H
25#define MATERIALSTLBOUNDARY3D_H
38template<
typename T,
template<
typename U>
class PARTICLETYPE>
39class ParticleSystem3D;
48template<
typename T,
template<
typename U>
class PARTICLETYPE>
68 _materials.insert(mat);
73 for (
unsigned i=0; i< mats.size(); ++i) {
74 _materials.insert(mats[i]);
79 typename std::deque<PARTICLETYPE<T> >::iterator& p,
84 std::set<int> _materials;
85 std::set<int>::iterator _matIter;
Prototype for all particle boundaries.
void addMaterial(std::vector< int > mats)
Add several material numbers.
void addMaterial(int mat)
Add a single material number.
~MaterialSTLBoundary3D() override
MaterialSTLBoundary3D(MaterialSTLBoundary3D< T, PARTICLETYPE > &f)
Copy constructor.
MaterialSTLBoundary3D(SuperGeometry< T, 3 > &sg)
Constructor.
void applyBoundary(typename std::deque< PARTICLETYPE< T > >::iterator &p, ParticleSystem3D< T, PARTICLETYPE > &psSys) override
Apply the boundary condition.
Representation of a statistic for a parallel 2D geometry.
Top level namespace for all of OpenLB.
Representation of a parallel 2D geometry – header file.