15 template<
typename P,
typename I>
21 template<
typename P,
typename I>
26 this->m_interactions.erase(
27 this->m_interactions.begin(),
28 this->m_interactions.end()
38 this->m_interactions.push_back(I(*
iter,&m_param));
46 template<
typename P,
typename InteractionType>
51 << this->m_interactions.size()
52 <<
" damping forces\n" ;
55 typename std::list<InteractionType>::iterator it = this->m_interactions.begin();
56 it != this->m_interactions.end();
63 template<
typename P,
typename InteractionType>
70 <<
"Setting time step size for "
71 << this->m_interactions.size()
72 <<
" damping forces\n";
74 m_param.setTimeStepSize(dt);
76 typename std::list<InteractionType>::iterator it = this->m_interactions.begin();
77 it != this->m_interactions.end();
80 it->setTimeStepSize(dt);
virtual bool update()
Definition: pi_storage_single.hpp:22
virtual void calcForces()
Definition: pi_storage_single.hpp:47
ParallelInteractionStorage_Single(AParallelParticleArray *, const typename I::ParameterType &)
Definition: pi_storage_single.hpp:16
templated abstract base class for parallel interaction storage array. Adds the vector of interactions...
Definition: CheckedScalarInteractionFieldSlave.h:19
boost::python::object iter(const boost::python::object &pyOb)
Definition: Util.h:25
parrallel particle storage array with neighborsearch and variable exchange
Definition: SubLattice.h:61
I::ParameterType m_param
Definition: pi_storage_single.h:29
virtual void setTimeStepSize(double dt)
Definition: pi_storage_single.hpp:65
BasicCon & XDebug(bool h=true)
set verbose level of next message to "xdg"
Definition: console.cpp:316
BasicCon & Debug(bool h=true)
set verbose level of next message to "dbg"
Definition: console.cpp:305
abstract base class for parallel particle storage array
Definition: pp_array.h:41
Template class for a handle/ref. counted pointer.
Definition: handle.h:26
NeighborTable< T >::particlelist::iterator ParticleListIterator
Definition: pp_array.h:80