[]Trait lumol::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

fn set_restriction(&mut self, restriction: PairRestriction)

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.

Loading content...

Implementors

impl CoulombicPotential for SharedEwald

impl CoulombicPotential for Wolf

Loading content...