Handles pairwise interactions involving particle buffers (particles not yet inserted into the main container). More...
#include <RemainderPairwiseInteractionHandler.h>
Public Member Functions | |
| RemainderPairwiseInteractionHandler (std::vector< std::vector< std::vector< std::unique_ptr< std::mutex > > > > &spatialLocks) | |
| Constructor for RemainderPairwiseInteractionHandler. | |
| template<bool newton3, class ContainerType , class PairwiseFunctor > | |
| void | computeRemainderInteractions (PairwiseFunctor *f, ContainerType &container, std::vector< FullParticleCell< Particle_T > > &particleBuffers, std::vector< FullParticleCell< Particle_T > > &haloParticleBuffers, bool useSoA) |
| Performs the interactions ParticleContainer::computeInteractions() did not cover. | |
Handles pairwise 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 RemainderPairwiseInteractionHandler.
| 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. |
| PairwiseFunctor |
| f | |
| container | Reference 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. |
| useSoA | Use SoAFunctor calls instead of AoSFunctor calls wherever it makes sense. |