40 for (
Iterator it = begin; it != end; it++) {
52 return (m_numRemaining > 0);
59 while (!isInner(m_it)) {
71 return m_numRemaining;
93 vector<pair<Vec3,P> > res;
111 template <
typename I>
112 template <
typename P>
113 vector<pair<typename TParallelInteractionStorage<I>::Raw2Data,P> >
116 vector<pair<Raw2Data,P> > res;
123 res.push_back(pair<Raw2Data,P>(data,((*iter).*rdf)()));
136 template <
typename I>
137 template <
typename P>
138 vector<pair<typename TParallelInteractionStorage<I>::DataWithPosID,P> >
141 vector<pair<DataWithPosID,P> > res;
147 vector<int> ids=
iter->getAllID();
156 Vec3 pos1=data.get<0>();
157 Vec3 pos2=data.get<2>();
158 Vec3 ipos=data.get<4>();
159 res.push_back(pair<DataWithPosID,P>(
DataWithPosID(id1,id2,pos1,pos2,ipos),((*iter).*rdf)()));
172 template <
typename I>
173 template <
typename P>
174 vector<pair<typename TParallelInteractionStorage<I>::DataWithID,P> >
177 vector<pair<DataWithID,P> > res;
183 vector<int> ids=
iter->getAllID();
192 res.push_back(pair<DataWithID,P>(
DataWithID(id1,id2,pos),((*iter).*rdf)()));
207 template <
typename I>
208 template <
typename P>
229 template <
typename I>
230 template <
typename P>
233 vector<pair<Vec3,P> > res;
239 if(
iter->hasTag(tag,mask)){
256 template <
typename I>
257 template <
typename P>
264 if(
iter->hasTag(tag,mask)){
280 template <
typename I>
287 typename I::ScalarFieldFunction rdf=I::getScalarFieldFunction(fieldname);
294 typename I::CheckedScalarFieldFunction rdf=I::getCheckedScalarFieldFunction(fieldname);
315 template <
typename I>
322 typename I::VectorFieldFunction rdf=I::getVectorFieldFunction(fieldname);