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

#include <Viscous.hpp>

Public Member Functions

 Viscous (double gamma)
 
double & gamma ()
 
double const & gamma () const
 
template<typename Particle >
Utils::Vector3d operator() (Particle const &p, Utils::Vector3d const &field) const
 

Static Public Attributes

static constexpr bool is_linear = true
 

Detailed Description

Definition at line 26 of file Viscous.hpp.

Constructor & Destructor Documentation

◆ Viscous()

FieldCoupling::Coupling::Viscous::Viscous ( double  gamma)
inline

Definition at line 32 of file Viscous.hpp.

Member Function Documentation

◆ gamma() [1/2]

double & FieldCoupling::Coupling::Viscous::gamma ( )
inline

Definition at line 33 of file Viscous.hpp.

◆ gamma() [2/2]

double const & FieldCoupling::Coupling::Viscous::gamma ( ) const
inline

Definition at line 34 of file Viscous.hpp.

◆ operator()()

template<typename Particle >
Utils::Vector3d FieldCoupling::Coupling::Viscous::operator() ( Particle const &  p,
Utils::Vector3d const &  field 
) const
inline

Definition at line 37 of file Viscous.hpp.

References Particle::v().

Member Data Documentation

◆ is_linear

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

Definition at line 30 of file Viscous.hpp.


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