26#include "system/Leaf.hpp"
34 double relative_tolerance);
50 if (new_prefactor <= 0.) {
51 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.
This file contains the defaults for ESPResSo.
void check_charge_neutrality(System::System const &system, double relative_tolerance)
Check if the system is charge-neutral.