ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
Constraints::Constraints Class Reference

#include <Constraints.hpp>

+ Inheritance diagram for Constraints::Constraints:
+ Collaboration diagram for Constraints::Constraints:

Public Types

using value_type = typename container_type::value_type
 
using iterator = typename container_type::iterator
 
using const_iterator = typename container_type::const_iterator
 

Public Member Functions

bool contains (std::shared_ptr< Constraint > const &constraint) const noexcept
 
void add (std::shared_ptr< Constraint > const &constraint)
 
void remove (std::shared_ptr< Constraint > const &constraint)
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
void add_forces (ParticleRange &particles, double time) const
 
void add_energy (ParticleRange const &particles, double time, Observable_stat &obs_energy) const
 
void veto_boxl_change () const
 
void on_boxl_change () const
 
- Public Member Functions inherited from System::Leaf< Constraints >
void bind_system (std::shared_ptr< System > const &system)
 
void detach_system (std::shared_ptr< System > const &system)
 

Additional Inherited Members

- Protected Member Functions inherited from System::Leaf< Constraints >
auto & get_system ()
 
auto & get_system () const
 
- Protected Attributes inherited from System::Leaf< Constraints >
std::weak_ptr< Systemm_system
 

Detailed Description

Definition at line 34 of file core/constraints/Constraints.hpp.

Member Typedef Documentation

◆ const_iterator

using Constraints::Constraints::const_iterator = typename container_type::const_iterator

Definition at line 40 of file core/constraints/Constraints.hpp.

◆ iterator

using Constraints::Constraints::iterator = typename container_type::iterator

Definition at line 39 of file core/constraints/Constraints.hpp.

◆ value_type

using Constraints::Constraints::value_type = typename container_type::value_type

Definition at line 38 of file core/constraints/Constraints.hpp.

Member Function Documentation

◆ add()

void Constraints::Constraints::add ( std::shared_ptr< Constraint > const &  constraint)

Definition at line 33 of file Constraints.cpp.

◆ add_energy()

void Constraints::Constraints::add_energy ( ParticleRange const &  particles,
double  time,
Observable_stat obs_energy 
) const

Definition at line 66 of file Constraints.cpp.

References System::System::box_geo.

◆ add_forces()

void Constraints::Constraints::add_forces ( ParticleRange particles,
double  time 
) const

Definition at line 48 of file Constraints.cpp.

References System::System::box_geo.

◆ begin() [1/2]

iterator Constraints::Constraints::begin ( )
inline

Definition at line 58 of file core/constraints/Constraints.hpp.

◆ begin() [2/2]

const_iterator Constraints::Constraints::begin ( ) const
inline

Definition at line 60 of file core/constraints/Constraints.hpp.

◆ contains()

bool Constraints::Constraints::contains ( std::shared_ptr< Constraint > const &  constraint) const
inlinenoexcept

Definition at line 52 of file core/constraints/Constraints.hpp.

◆ end() [1/2]

iterator Constraints::Constraints::end ( )
inline

Definition at line 59 of file core/constraints/Constraints.hpp.

◆ end() [2/2]

const_iterator Constraints::Constraints::end ( ) const
inline

Definition at line 61 of file core/constraints/Constraints.hpp.

◆ on_boxl_change()

void Constraints::Constraints::on_boxl_change ( ) const
inline

Definition at line 75 of file core/constraints/Constraints.hpp.

◆ remove()

void Constraints::Constraints::remove ( std::shared_ptr< Constraint > const &  constraint)

Definition at line 42 of file Constraints.cpp.

◆ veto_boxl_change()

void Constraints::Constraints::veto_boxl_change ( ) const
inline

Definition at line 68 of file core/constraints/Constraints.hpp.


The documentation for this class was generated from the following files: