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