![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Namespaces | |
| namespace | traits |
Classes | |
| class | Actor |
| struct | EventOnObservableCalc |
| struct | LongRangeEnergy |
| struct | LongRangeForce |
| struct | LongRangePressure |
| struct | ShortRangeCutoff |
| struct | ShortRangeEnergyKernel |
| struct | ShortRangeForceCorrectionsKernel |
| struct | ShortRangeForceKernel |
| struct | ShortRangePressureKernel |
| struct | Solver |
Typedefs | |
| using | ElectrostaticsActor = 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 > > |
| 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. | |
| Solver const & | get_coulomb () |
| static auto | calc_charge_excess_ratio (std::vector< double > const &charges) |
| Compute the net charge rescaled by the smallest non-zero charge. | |
| using Coulomb::ElectrostaticsActor = typedef 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 51 of file coulomb.hpp.
| using Coulomb::ElectrostaticsExtension = typedef std::variant<std::shared_ptr<ICCStar> > |
Definition at line 65 of file coulomb.hpp.
Compute the net charge rescaled by the smallest non-zero charge.
Definition at line 275 of file coulomb.cpp.
References stream.
Referenced by check_charge_neutrality().
| void Coulomb::check_charge_neutrality | ( | System::System const & | system, |
| double | relative_tolerance | ||
| ) |
Check if the system is charge-neutral.
Definition at line 292 of file coulomb.cpp.
References calc_charge_excess_ratio(), comm_cart, stream, and this_node.
Referenced by Coulomb::Actor< Class >::sanity_checks_charge_neutrality().
Definition at line 65 of file coulomb.cpp.
References System::System::coulomb, and System::get_system().
Referenced by calc_long_range_forces(), recalc_maximal_cutoff(), and thole_pair_energy().