Handles triwise interactions involving particle buffers (particles not yet inserted into the main container). More...
#include <RemainderTriwiseInteractionHandler.h>
Public Member Functions | |
| RemainderTriwiseInteractionHandler (std::vector< std::vector< std::vector< std::unique_ptr< std::mutex > > > > &spatialLocks) | |
| Constructor for RemainderTriwiseInteractionHandler. | |
| template<bool newton3, class ContainerType , class TriwiseFunctor > | |
| void | computeRemainderInteractions (TriwiseFunctor *f, ContainerType &container, std::vector< FullParticleCell< Particle_T > > &particleBuffers, std::vector< FullParticleCell< Particle_T > > &haloParticleBuffers) |
| Performs the interactions ParticleContainer::computeInteractions() did not cover. | |
Handles triwise interactions involving particle buffers (particles not yet inserted into the main container).
This includes Buffer <-> Container and Buffer <-> Buffer interactions.
| Particle_T |
|
inlineexplicit |
Constructor for RemainderTriwiseInteractionHandler.
| spatialLocks | Domain locks passed by LogicHandler |
|
inline |
Performs the interactions ParticleContainer::computeInteractions() did not cover.
These interactions are:
| newton3 | |
| ContainerType | Type of the particle container. |
| TriwiseFunctor | Functor type to use for the interactions. |
| f | |
| container | Reference to the container. Preferably pass the container with the actual static type. |
| particleBuffers | vector of particle buffers. These particles' force vectors will be updated. |
| haloParticleBuffers | vector of halo particle buffers. These particles' force vectors will not necessarily be updated. |