![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Base class for the electrostatics P3M algorithm. More...
#include <p3m.impl.hpp>
Public Types | |
| using | value_type = FloatType |
| using | ComplexType = std::complex<value_type> |
| using | memory_space = Kokkos::HostSpace |
| using | execution_space = Kokkos::DefaultHostExecutionSpace |
| using | r_space_layout = FFTConfig::r_space_layout |
| using | k_space_layout = FFTConfig::k_space_layout |
| Public Types inherited from P3MStateCommon< FloatType, Architecture > | |
| using | value_type |
Public Member Functions | |
| void | init_labels () |
| Public Member Functions inherited from P3MStateCommon< FloatType, Architecture > | |
| P3MStateCommon (P3MParameters &¶meters) | |
| void | calc_differential_operator () |
| Calculate the Fourier transformed differential operator. | |
Public Attributes | |
| std::size_t | sum_qpart = 0 |
| number of charged particles. | |
| double | sum_q2 = 0. |
| Sum of square of charges. | |
| double | square_sum_q = 0. |
| square of sum of charges. | |
| p3m_interpolation_cache | inter_weights |
| fft::vector< FloatType > | rs_charge_density |
| charge density in real-space with halo | |
| fft::vector< ComplexType > | ks_charge_density |
| charge density in k-space without halo | |
| std::array< fft::vector< FloatType >, 3 > | rs_E_fields |
| electric fields in real-space with halo | |
| std::array< std::span< ComplexType >, 3 > | ks_E_fields |
| electric fields in k-space without halo | |
| fft::vector< ComplexType > | ks_E_fields_batched |
| std::array< std::span< FloatType >, 3 > | rs_E_fields_no_halo |
| electric fields in real-space without halo | |
| fft::vector< FloatType > | rs_E_fields_no_halo_batched |
| p3m_send_mesh< FloatType > | halo_comm |
| std::shared_ptr< P3MFFTBackend< FloatType, FFTConfig > > | fft |
| Kokkos::View< FloatType **, r_space_layout, Kokkos::HostSpace > | rs_charge_density_kokkos |
| Public Attributes inherited from P3MStateCommon< FloatType, Architecture > | |
| 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). | |
Base class for the electrostatics P3M algorithm.
Contains a handle to the FFT backend, information about the local mesh, the differential operator, and various buffers.
Definition at line 64 of file p3m.impl.hpp.
| using CoulombP3MState< FloatType, Architecture, FFTConfig >::ComplexType = std::complex<value_type> |
Definition at line 67 of file p3m.impl.hpp.
| using CoulombP3MState< FloatType, Architecture, FFTConfig >::execution_space = Kokkos::DefaultHostExecutionSpace |
Definition at line 69 of file p3m.impl.hpp.
| using CoulombP3MState< FloatType, Architecture, FFTConfig >::k_space_layout = FFTConfig::k_space_layout |
Definition at line 71 of file p3m.impl.hpp.
| using CoulombP3MState< FloatType, Architecture, FFTConfig >::memory_space = Kokkos::HostSpace |
Definition at line 68 of file p3m.impl.hpp.
| using CoulombP3MState< FloatType, Architecture, FFTConfig >::r_space_layout = FFTConfig::r_space_layout |
Definition at line 70 of file p3m.impl.hpp.
| using CoulombP3MState< FloatType, Architecture, FFTConfig >::value_type = FloatType |
Definition at line 66 of file p3m.impl.hpp.
|
inline |
Definition at line 101 of file p3m.impl.hpp.
References rs_charge_density, and rs_charge_density_kokkos.
| std::shared_ptr<P3MFFTBackend<FloatType, FFTConfig> > CoulombP3MState< FloatType, Architecture, FFTConfig >::fft |
Definition at line 97 of file p3m.impl.hpp.
| p3m_send_mesh<FloatType> CoulombP3MState< FloatType, Architecture, FFTConfig >::halo_comm |
Definition at line 94 of file p3m.impl.hpp.
| p3m_interpolation_cache CoulombP3MState< FloatType, Architecture, FFTConfig >::inter_weights |
Definition at line 80 of file p3m.impl.hpp.
| fft::vector<ComplexType> CoulombP3MState< FloatType, Architecture, FFTConfig >::ks_charge_density |
charge density in k-space without halo
Definition at line 85 of file p3m.impl.hpp.
| std::array<std::span<ComplexType>, 3> CoulombP3MState< FloatType, Architecture, FFTConfig >::ks_E_fields |
electric fields in k-space without halo
Definition at line 89 of file p3m.impl.hpp.
| fft::vector<ComplexType> CoulombP3MState< FloatType, Architecture, FFTConfig >::ks_E_fields_batched |
Definition at line 90 of file p3m.impl.hpp.
| fft::vector<FloatType> CoulombP3MState< FloatType, Architecture, FFTConfig >::rs_charge_density |
charge density in real-space with halo
Definition at line 83 of file p3m.impl.hpp.
Referenced by init_labels().
| Kokkos::View<FloatType **, r_space_layout, Kokkos::HostSpace> CoulombP3MState< FloatType, Architecture, FFTConfig >::rs_charge_density_kokkos |
Definition at line 99 of file p3m.impl.hpp.
Referenced by init_labels().
| std::array<fft::vector<FloatType>, 3> CoulombP3MState< FloatType, Architecture, FFTConfig >::rs_E_fields |
electric fields in real-space with halo
Definition at line 87 of file p3m.impl.hpp.
| std::array<std::span<FloatType>, 3> CoulombP3MState< FloatType, Architecture, FFTConfig >::rs_E_fields_no_halo |
electric fields in real-space without halo
Definition at line 92 of file p3m.impl.hpp.
| fft::vector<FloatType> CoulombP3MState< FloatType, Architecture, FFTConfig >::rs_E_fields_no_halo_batched |
Definition at line 93 of file p3m.impl.hpp.
| double CoulombP3MState< FloatType, Architecture, FFTConfig >::square_sum_q = 0. |
square of sum of charges.
Definition at line 78 of file p3m.impl.hpp.
| double CoulombP3MState< FloatType, Architecture, FFTConfig >::sum_q2 = 0. |
Sum of square of charges.
Definition at line 76 of file p3m.impl.hpp.
| std::size_t CoulombP3MState< FloatType, Architecture, FFTConfig >::sum_qpart = 0 |
number of charged particles.
Definition at line 74 of file p3m.impl.hpp.