53 template<
class PA,
class T,
unsigned Dim,
class RHS,
class OP>
63 PInsist(
a.getDomain().size() ==
a.getAttrib().size(),
64 "ParticleAttrib[SIndex] accumulation with wrong-sized attribute.");
66 typedef typename RHS::Wrapped Wrapped;
70 Wrapped& bb = b.PETE_unwrap();
76 "Sparse-Indexed expressions must use consistent indexing.");
80 a.makeNDIndex(boundBox);
115 if ((*la)->size() > 0) {
120 ExprT(sba,bb).
apply();
122 ERRORMSG(
"All items in an expression must be aligned. ");
124 ERRORMSG(
"This error occurred while evaluating a ");
125 ERRORMSG(
"SubParticleAttrib-expression ");
126 ERRORMSG(
"for a vnode with domain " << (*la)->getDomain() <<
endl);
bool for_each(const BareFieldIterator< T, D > &p, SameFieldID s, C)
FillGCIfNecessaryTag< D, T1 > FillGCIfNecessary(const BareField< T1, D > &bf)
void assign(SubParticleAttrib< PA, T, Dim > a, RHS b, OP, ExprTag< true >)
Inform & endl(Inform &inf)
#define INCIPPLSTAT(stat)
container_t::const_iterator const_iterator_iv
const_iterator_iv nextLField()
const_iterator_iv getLFieldIter() const
static void abort(const char *=0)