ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
Coulomb Namespace Reference

Namespaces

namespace  traits

Classes

class  Actor
struct  LongRangePressure
struct  ShortRangeCutoff
struct  EventOnObservableCalc
struct  LongRangeForce
struct  LongRangeEnergy
struct  ShortRangeForceKernel
struct  ShortRangeForceCorrectionsKernel
struct  ShortRangePressureKernel
struct  ShortRangeEnergyKernel
struct  Solver

Typedefs

using ElectrostaticsActor
using ElectrostaticsExtension = std::variant<std::shared_ptr<ICCStar>>

Functions

void check_charge_neutrality (System::System const &system, double relative_tolerance)
 Check if the system is charge-neutral.
static auto calc_charge_excess_ratio (std::vector< double > const &charges)
 Compute the net charge rescaled by the smallest non-zero charge.

Typedef Documentation

◆ ElectrostaticsActor

Initial value:
std::variant<std::shared_ptr<DebyeHueckel>,
std::shared_ptr<CoulombP3M>,
std::shared_ptr<ElectrostaticLayerCorrection>,
std::shared_ptr<CoulombMMM1D>,
std::shared_ptr<CoulombScafacos>,
std::shared_ptr<ReactionField>>

Definition at line 49 of file coulomb.hpp.

◆ ElectrostaticsExtension

using Coulomb::ElectrostaticsExtension = std::variant<std::shared_ptr<ICCStar>>

Definition at line 63 of file coulomb.hpp.

Function Documentation

◆ calc_charge_excess_ratio()

auto Coulomb::calc_charge_excess_ratio ( std::vector< double > const & charges)
static

Compute the net charge rescaled by the smallest non-zero charge.

Definition at line 230 of file coulomb.cpp.

Referenced by check_charge_neutrality().

◆ check_charge_neutrality()

void Coulomb::check_charge_neutrality ( System::System const & system,
double relative_tolerance )