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

#include <Scaled.hpp>

Public Member Functions

template<typename ScalesRef >
 Scaled (ScalesRef &&scales, double default_val)
 
double & default_scale ()
 
double const & default_scale () const
 
std::unordered_map< int, double > & particle_scales ()
 
std::unordered_map< int, double > const & particle_scales () const
 
template<typename T , typename Particle >
operator() (const Particle &p, const T &x) const
 

Static Public Attributes

static constexpr bool is_linear = true
 

Detailed Description

Definition at line 26 of file Scaled.hpp.

Constructor & Destructor Documentation

◆ Scaled()

template<typename ScalesRef >
FieldCoupling::Coupling::Scaled::Scaled ( ScalesRef &&  scales,
double  default_val 
)
inline

Definition at line 34 of file Scaled.hpp.

Member Function Documentation

◆ default_scale() [1/2]

double & FieldCoupling::Coupling::Scaled::default_scale ( )
inline

Definition at line 37 of file Scaled.hpp.

◆ default_scale() [2/2]

double const & FieldCoupling::Coupling::Scaled::default_scale ( ) const
inline

Definition at line 38 of file Scaled.hpp.

◆ operator()()

template<typename T , typename Particle >
T FieldCoupling::Coupling::Scaled::operator() ( const Particle p,
const T &  x 
) const
inline

Definition at line 55 of file Scaled.hpp.

◆ particle_scales() [1/2]

std::unordered_map< int, double > & FieldCoupling::Coupling::Scaled::particle_scales ( )
inline

Definition at line 39 of file Scaled.hpp.

◆ particle_scales() [2/2]

std::unordered_map< int, double > const & FieldCoupling::Coupling::Scaled::particle_scales ( ) const
inline

Definition at line 40 of file Scaled.hpp.

Member Data Documentation

◆ is_linear

constexpr bool FieldCoupling::Coupling::Scaled::is_linear = true
staticconstexpr

Definition at line 31 of file Scaled.hpp.


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