ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
ScafacosContext< ScafacosInterface > Struct Template Reference

#include <ScafacosContext.hpp>

Inheritance diagram for ScafacosContext< ScafacosInterface >:
Collaboration diagram for ScafacosContext< ScafacosInterface >:

Public Member Functions

void update_system_params () override
std::string get_method () const override
std::string get_parameters () const override
 ScafacosContextBase ()=default
Public Member Functions inherited from ScafacosContextBase
 ScafacosContextBase ()=default
virtual ~ScafacosContextBase ()=default
virtual void update_particle_data ()=0
 Collect particle data in continuous arrays.
virtual void update_particle_forces () const =0
 Write forces back to particles.
virtual double long_range_energy ()=0
 Calculate long-range part of the energy.
virtual void add_long_range_forces ()=0
 Add long-range part of the forces to particles.
virtual void sanity_checks () const =0

Additional Inherited Members

Static Public Member Functions inherited from ScafacosContextBase
static std::vector< std::string > available_methods ()
static void sanity_check_method (std::string const &method_name)

Detailed Description

template<class ScafacosInterface>
struct ScafacosContext< ScafacosInterface >

Definition at line 46 of file ScafacosContext.hpp.

Member Function Documentation

◆ get_method()

template<class ScafacosInterface>
std::string ScafacosContext< ScafacosInterface >::get_method ( ) const
inlineoverridevirtual

Implements ScafacosContextBase.

Definition at line 58 of file ScafacosContext.hpp.

◆ get_parameters()

template<class ScafacosInterface>
std::string ScafacosContext< ScafacosInterface >::get_parameters ( ) const
inlineoverridevirtual

Implements ScafacosContextBase.

Definition at line 62 of file ScafacosContext.hpp.

◆ ScafacosContextBase()

template<class ScafacosInterface>
ScafacosContextBase::ScafacosContextBase ( )
default

◆ update_system_params()

template<class ScafacosInterface>
void ScafacosContext< ScafacosInterface >::update_system_params ( )
inlineoverridevirtual

Implements ScafacosContextBase.

Definition at line 51 of file ScafacosContext.hpp.


The documentation for this struct was generated from the following file: