ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <dipolar_direct_sum_gpu.hpp>
Public Member Functions | |
DipolarDirectSumGpu (double prefactor) | |
void | on_activation () const |
void | on_boxl_change () const |
void | on_node_grid_change () const |
void | on_periodicity_change () const |
void | on_cell_structure_change () const |
void | init () const |
void | sanity_checks () const |
void | add_long_range_forces () const |
void | long_range_energy () const |
Public Member Functions inherited from Dipoles::Actor< DipolarDirectSumGpu > | |
void | set_prefactor (double new_prefactor) |
Public Member Functions inherited from System::Leaf< Class > | |
void | bind_system (std::shared_ptr< System > const &system) |
void | detach_system (std::shared_ptr< System > const &system) |
Additional Inherited Members | |
Public Attributes inherited from Dipoles::Actor< DipolarDirectSumGpu > | |
double | prefactor |
Magnetostatics prefactor. | |
Protected Member Functions inherited from System::Leaf< Class > | |
auto & | get_system () |
auto & | get_system () const |
Protected Attributes inherited from System::Leaf< Class > | |
std::weak_ptr< System > | m_system |
Definition at line 28 of file dipolar_direct_sum_gpu.hpp.
DipolarDirectSumGpu::DipolarDirectSumGpu | ( | double | prefactor | ) |
Definition at line 40 of file dipolar_direct_sum_gpu.cpp.
References Dipoles::Actor< DipolarDirectSumGpu >::prefactor, and Dipoles::Actor< DipolarDirectSumGpu >::set_prefactor().
void DipolarDirectSumGpu::add_long_range_forces | ( | ) | const |
Definition at line 52 of file dipolar_direct_sum_gpu.cpp.
References DipolarDirectSum_kernel_wrapper_force(), get_simulation_box(), System::Leaf< Class >::get_system(), Dipoles::Actor< DipolarDirectSumGpu >::prefactor, and this_node.
|
inline |
Definition at line 36 of file dipolar_direct_sum_gpu.hpp.
void DipolarDirectSumGpu::long_range_energy | ( | ) | const |
Definition at line 72 of file dipolar_direct_sum_gpu.cpp.
References DipolarDirectSum_kernel_wrapper_energy(), get_simulation_box(), System::Leaf< Class >::get_system(), Dipoles::Actor< DipolarDirectSumGpu >::prefactor, and this_node.
void DipolarDirectSumGpu::on_activation | ( | ) | const |
Definition at line 44 of file dipolar_direct_sum_gpu.cpp.
References GpuParticleData::prop::dip, GpuParticleData::prop::force, System::Leaf< Class >::get_system(), GpuParticleData::prop::pos, and GpuParticleData::prop::torque.
|
inline |
Definition at line 32 of file dipolar_direct_sum_gpu.hpp.
|
inline |
Definition at line 35 of file dipolar_direct_sum_gpu.hpp.
|
inline |
Definition at line 33 of file dipolar_direct_sum_gpu.hpp.
|
inline |
Definition at line 34 of file dipolar_direct_sum_gpu.hpp.
|
inline |
Definition at line 37 of file dipolar_direct_sum_gpu.hpp.