![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
State of the p3m methods, the part which applies to both, electrostatic and dipolar p3m. More...
#include <data_struct.hpp>
Public Types | |
| using | value_type = FloatType |
Public Member Functions | |
| P3MStateCommon (P3MParameters &¶meters) | |
| void | calc_differential_operator () |
| Calculate the Fourier transformed differential operator. | |
Public Attributes | |
| P3MParameters | params |
| P3M base parameters. | |
| P3MLocalMesh | local_mesh |
| Local mesh geometry information for this MPI rank. | |
| std::array< std::vector< int >, 3 > | d_op |
| Spatial differential operator in k-space. | |
| std::vector< FloatType > | g_force |
| Force optimised influence function (k-space). | |
| std::vector< FloatType > | g_energy |
| Energy optimised influence function (k-space). | |
State of the p3m methods, the part which applies to both, electrostatic and dipolar p3m.
Definition at line 43 of file data_struct.hpp.
| using P3MStateCommon< FloatType, Architecture >::value_type = FloatType |
Definition at line 44 of file data_struct.hpp.
|
inlineexplicit |
Definition at line 46 of file data_struct.hpp.
References local_mesh, and params.
|
inline |
Calculate the Fourier transformed differential operator.
Remark: This is done on the level of n-vectors and not k-vectors, i.e. the prefactor \( 2i\pi/L \) is missing!
Definition at line 67 of file data_struct.hpp.
References calc_p3m_mesh_shift(), d_op, and params.
| std::array<std::vector<int>, 3> P3MStateCommon< FloatType, Architecture >::d_op |
Spatial differential operator in k-space.
We use an i*k differentiation. TODO: RW: I think this is not the differential operator but the mapping between index in the GLOBAL mesh and the corresponding k-vector with a few pre-factors missing.
Definition at line 61 of file data_struct.hpp.
Referenced by calc_differential_operator().
| std::vector<FloatType> P3MStateCommon< FloatType, Architecture >::g_energy |
Energy optimised influence function (k-space).
Definition at line 74 of file data_struct.hpp.
| std::vector<FloatType> P3MStateCommon< FloatType, Architecture >::g_force |
Force optimised influence function (k-space).
Definition at line 72 of file data_struct.hpp.
| P3MLocalMesh P3MStateCommon< FloatType, Architecture >::local_mesh |
Local mesh geometry information for this MPI rank.
Definition at line 52 of file data_struct.hpp.
Referenced by DipolarP3MState< FloatType, FFTConfig >::make_fft_instance(), DipolarP3MState< FloatType, FFTConfig >::make_mesh_instance(), and P3MStateCommon().
| P3MParameters P3MStateCommon< FloatType, Architecture >::params |
P3M base parameters.
Definition at line 50 of file data_struct.hpp.
Referenced by calc_differential_operator(), and P3MStateCommon().