26#if defined(P3M) or defined(DP3M)
38template <
typename FloatType>
40 static_assert(std::is_same_v<FloatType, float> or
41 std::is_same_v<FloatType, double>,
42 "FFTW only implements float and double");
49 std::array<fft::vector<FloatType>, 3u> rs_mesh_fields;
Buffers for FFTBackendLegacy.
void update_mesh_views(P3MFFTMesh< FloatType > &out) override
void perform_scalar_halo_spread() override
void perform_vector_halo_spread() override
void perform_vector_halo_gather() override
~FFTBuffersLegacy() override
void perform_scalar_halo_gather() override
void init_halo() override
void init_meshes(int ca_mesh_size) override
FloatType * get_scalar_mesh() override
std::array< FloatType *, 3u > get_vector_mesh() override
API for the FFT mesh buffers.
P3MLocalMesh const & local_mesh
This file contains the defaults for ESPResSo.
std::vector< T, allocator< T > > vector
Common functions for dipolar and charge P3M.