24#ifdef ESPRESSO_ELECTROSTATICS
26#include "system/Leaf.hpp"
55 throw std::domain_error(
"Parameter 'prefactor' must be > 0");
void set_prefactor(double new_prefactor)
double prefactor
Electrostatics prefactor.
void sanity_checks_charge_neutrality() const
static auto constexpr charge_neutrality_tolerance_default
double charge_neutrality_tolerance
Relative tolerance for the charge excess during neutrality checks.
Abstract class that represents a component of the system.
cudaStream_t stream[1]
CUDA streams for parallel computing on CPU and GPU.
void check_charge_neutrality(System::System const &system, double relative_tolerance)
Check if the system is charge-neutral.