|
IPPL API Reference
Independent Parallel Particle Layer C++ API
|
#include <TruncatedGreenParticleInteraction.h>
Inheritance diagram for ippl::TruncatedGreenParticleInteraction< ParticleContainer, VectorAttribute, ScalarAttribute >:
Collaboration diagram for ippl::TruncatedGreenParticleInteraction< ParticleContainer, VectorAttribute, ScalarAttribute >:Public Types | |
| using | Base = ParticleInteractionBase< ParticleContainer > |
| using | Vector_t = typename VectorAttribute::value_type |
| using | Scalar_t = typename ScalarAttribute::value_type |
| using | execution_space = typename VectorAttribute::execution_space |
Public Member Functions | |
| TruncatedGreenParticleInteraction (const ParticleContainer &pc, VectorAttribute &F, const VectorAttribute &R, const ScalarAttribute &QM, const ParameterList ¶ms) | |
| void | solve () override |
Public Member Functions inherited from ippl::ParticleInteractionBase< ParticleContainer > | |
| ParticleInteractionBase (const ParticleContainer &pc, const ParameterList ¶ms) | |
| ParticleInteractionBase (const ParticleContainer &pc) | |
| template<typename T > | |
| void | updateParameter (const std::string &key, const T &value) |
| void | updateParameters (const ParameterList ¶ms) |
| void | mergeParameters (const ParameterList ¶ms) |
Additional Inherited Members | |
Protected Member Functions inherited from ippl::ParticleInteractionBase< ParticleContainer > | |
| virtual void | setDefaultParameters () |
Protected Attributes inherited from ippl::ParticleInteractionBase< ParticleContainer > | |
| const ParticleContainer & | pc_m |
| ParameterList | params_m |
TruncatedGreenParticleInteraction class definition.
| ParticleContainer | particle container type |
| VectorAttribute | type to store vector valued attributes |
| ScalarAttribute | type to store scalar valued attributes evaluates truncated short range interaction F = - q * forceConstant grad [(1 - erf(alpha * r)) / r]. |
|
inline |
| pc | Particle container |
| F | Field attribute, where the evaluated field will be added to |
| R | Position attribute |
| QM | Charge or Mass like attribute determining the force magnitued |
| params | Parameters, containing at least 'alpha', 'force_constant' and 'rcut'. alpha controls the truncation strength. force_constant to be multiplied with the force. rcut determines the maximal distance between two particles to contribute to the forces. |
|
overridevirtual |
Evaluates the short range interactions F = - q * forceConstant grad [(1 - erf(alpha * r)) / r].
Implements ippl::ParticleInteractionBase< ParticleContainer >.