ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
P3M algorithm for long-range magnetic dipole-dipole interaction. More...
#include "config/config.hpp"
#include "magnetostatics/actor.hpp"
#include "p3m/common.hpp"
#include "p3m/data_struct.hpp"
#include "Particle.hpp"
#include "ParticleRange.hpp"
#include <utils/Vector.hpp>
#include <utils/math/AS_erfc_part.hpp>
#include <utils/math/sqr.hpp>
#include <cmath>
#include <numbers>
Go to the source code of this file.
Classes | |
struct | DipolarP3M |
Dipolar P3M solver. More... | |
Functions | |
void | npt_add_virial_magnetic_contribution (double energy) |
Update the NpT virial. | |
P3M algorithm for long-range magnetic dipole-dipole interaction.
We use here a P3M (Particle-Particle Particle-Mesh) method based on the dipolar Ewald summation. Details of the used method can be found in [22] and [10] [11].
Further reading: [9]
Definition in file dp3m.hpp.
void npt_add_virial_magnetic_contribution | ( | double | energy | ) |
Update the NpT virial.
Definition at line 903 of file dp3m.cpp.
References npt_add_virial_contribution().
Referenced by DipolarP3M::pair_force().