[]Trait lumol::energy::CoulombicPotential

pub trait CoulombicPotential: GlobalPotential + BoxCloneCoulombic {
    fn set_restriction(&mut self, restriction: PairRestriction);

Electrostatic potential solver.

This trait is a marker trait for global potentials that are actually coulombic potential solvers.

Required Methods

Set the pair restriction scheme to use to the given restriction. All future call to GlobalPotential::energy, GlobalPotential::force or GlobalPotential::virial should use this restriction.


impl CoulombicPotential for SharedEwald

impl CoulombicPotential for Wolf