24#if defined(P3M) or defined(DP3M)
28#include "communication.hpp"
34template <
typename FloatType>
37 fft{std::make_unique<
fft::fft_data_struct<FloatType>>(
40template <
typename FloatType>
43template <
typename FloatType>
45 ca_mesh_size =
fft->initialize_fft(
50template <
typename FloatType>
55template <
typename FloatType>
Historic FFT backend based on FFTW3.
void backward_fft(FloatType *rs_mesh) override
~FFTBackendLegacy() override
FFTBackendLegacy(P3MLocalMesh const &local_mesh)
void init(P3MParameters const ¶ms) override
void forward_fft(FloatType *rs_mesh) override
API for the FFT backend of the P3M algorithm.
Communicator communicator
boost::mpi::communicator comm_cart
The communicator.
This file contains the defaults for ESPResSo.
Routines, row decomposition, data structures and communication for the 3D-FFT.
static SteepestDescentParameters params
Currently active steepest descent instance.
Utils::Vector3i node_grid
Properties of the local mesh.
Structure to hold P3M parameters and some dependent variables.