11 #ifndef SUB_PARTICLE_ATTRIB_H
12 #define SUB_PARTICLE_ATTRIB_H
59 template <
class PA,
class T,
unsigned Dim>
60 std::ostream& operator<<(std::ostream &, const SubParticleAttrib<PA,T,Dim> &);
65 template <
class PA,
class T,
unsigned Dim>
67 :
public PETE_Expr< SubParticleAttribIter<PA,T,Dim> >
98 static bool matchType(
int t) {
return SFI::matchType(t); }
103 int size(
int)
const {
return (*lfield)->size(); }
147 template <
class PA,
class T,
unsigned Dim>
225 void write(std::ostream &)
const;
246 template<
class PA,
class T,
unsigned Dim>
248 std::ostream& operator<<(std::ostream &o, const SubParticleAttrib<PA,T,Dim> &
n) {
const_iterator_iv getLFieldIter() const
SubParticleAttrib(PA &a, const Index_t &dom)
PETE_Expr_t MakeExpression() const
static int getSubsetType()
const Index_t & getDomain() const
Index_t::const_iterator_iv const_iterator_iv
SubParticleAttribIter(PA &a, const_iterator_iv lf, int o, const Index_t &s)
void assign(const BareField< T, Dim > &a, RHS b, OP op, ExprTag< true >)
const Index_t & getDomain() const
container_t::const_iterator const_iterator_iv
bool plugBase(const NDIndex< Dim > &)
PETE_Expr_t MakeExpression() const
SubFieldIter< T, Dim, Index_t > SFI
SubParticleAttrib(const SubParticleAttrib< PA, T, Dim > &spa)
iterator::Index_t Index_t
const NDIndex< Dim > & getDomain() const
static bool matchType(int t)
SubParticleAttribIter< PA, T, Dim > PETE_Expr_t
static void makeNDIndex(const Index_t &s, NDIndex< Dim > &i)
SubParticleAttribIter(const SubParticleAttribIter< PA, T, Dim > &i)
SubParticleAttribIter< PA, T, Dim > iterator
static int getSubsetType()
void makeNDIndex(NDIndex< Dim > &i)
bool operator!=(const SubParticleAttribIter< PA, T, Dim > &i)
SubParticleAttrib< PA, T, Dim > & operator=(const SubParticleAttrib< PA, T, Dim > &)
SubParticleAttrib< PA, T, Dim > & operator=(const PETE_Expr< B > &b)
const_iterator_iv nextLField()
void write(std::ostream &) const