ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
dp3m.hpp File Reference

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>
+ Include dependency graph for dp3m.hpp:
+ This graph shows which files directly or indirectly include this file:

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.
 

Detailed Description

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.

Function Documentation

◆ npt_add_virial_magnetic_contribution()

void npt_add_virial_magnetic_contribution ( double  energy)

Update the NpT virial.

Definition at line 914 of file dp3m.cpp.

References npt_add_virial_contribution().

Referenced by DipolarP3M::pair_force().