ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
protocols.hpp File Reference
#include <utils/Vector.hpp>
#include <cmath>
#include <variant>
+ Include dependency graph for protocols.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LeesEdwards::Off
 Lees-Edwards protocol for un-altered periodic boundary conditions. More...
 
struct  LeesEdwards::LinearShear
 Lees-Edwards protocol for linear shearing. More...
 
struct  LeesEdwards::OscillatoryShear
 Lees-Edwards protocol for oscillatory shearing. More...
 
class  LeesEdwards::PosOffsetGetter
 
class  LeesEdwards::ShearVelocityGetter
 Visitor to get shear velocity from the Lees-Edwards protocol. More...
 

Namespaces

namespace  LeesEdwards
 

Typedefs

using LeesEdwards::ActiveProtocol = std::variant< Off, LinearShear, OscillatoryShear >
 Type which holds the currently active protocol.
 

Functions

double LeesEdwards::get_pos_offset (double time, ActiveProtocol const &protocol)
 
double LeesEdwards::get_shear_velocity (double time, ActiveProtocol const &protocol)
 Calculation of current velocity.