ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <HomogeneousMagneticField.hpp>
Public Member Functions | |
HomogeneousMagneticField () | |
void | set_H (Utils::Vector3d const &H) |
Utils::Vector3d const & | H () const |
void | add_energy (const Particle &p, const Utils::Vector3d &, double, Observable_stat &energy) const override |
ParticleForce | force (const Particle &p, const Utils::Vector3d &, double) override |
bool | fits_in_box (Utils::Vector3d const &) const override |
Public Member Functions inherited from Constraints::Constraint | |
virtual void | reset_force () |
virtual | ~Constraint ()=default |
Definition at line 30 of file core/constraints/HomogeneousMagneticField.hpp.
|
inline |
Definition at line 32 of file core/constraints/HomogeneousMagneticField.hpp.
|
overridevirtual |
Implements Constraints::Constraint.
Definition at line 38 of file HomogeneousMagneticField.cpp.
References Particle::calc_dip(), and Observable_stat::dipolar.
|
inlineoverridevirtual |
Implements Constraints::Constraint.
Definition at line 44 of file core/constraints/HomogeneousMagneticField.hpp.
|
overridevirtual |
Implements Constraints::Constraint.
Definition at line 29 of file HomogeneousMagneticField.cpp.
References Particle::calc_dip(), and vector_product().
|
inline |
Definition at line 36 of file core/constraints/HomogeneousMagneticField.hpp.
Referenced by set_H().
|
inline |
Definition at line 34 of file core/constraints/HomogeneousMagneticField.hpp.
References H().