CellModules
|
#include <contactsurface.hpp>
Classes | |
struct | TargetSurface |
Public Member Functions | |
ContactSurface () | |
ContactSurface (ordered_pair< Cell * > c) | |
void | update (double dt) |
void | updateInternals () |
std::pair< double, double > | computeMidpoints (double distanceBtwnCenters) |
void | applyPressureForces (double) |
void | applyAdhesiveForces (double dt) |
Public Attributes | |
ordered_pair< Cell * > | cells |
bool | pressureEnabled = true |
bool | adhesionEnabled = true |
bool | frictionEnabled = false |
bool | unbreakable = false |
double | adhCoef = 0.5 |
double | ADH_DAMPING_RATIO = 0.1 |
double | bondMaxL = 5.0 |
double | bondReach = 1.0 |
double | fixedDamping = 0.0 |
double | baseBondStrength = 0.05 |
double | MIN_ADH_DIST = 8.0 |
Vec | direction |
std::pair< double, double > | midpoint |
double | sqradius = 0 |
double | area = 0 |
double | adhArea = 0 |
double | centersDist = 0 |
double | prevCentersDist = 0 |
double | prevLinAdhElongation = 0 |
double | linAdhElongation = 0 |
double | prevFlexAdhElongation = 0 |
double | flexAdhElongation = 0 |
bool | atRest = false |
std::pair< TargetSurface, TargetSurface > | targets |
Static Public Attributes | |
static constexpr double | REST_EPSILON |
Definition at line 9 of file contactsurface.hpp.
|
inline |
Definition at line 62 of file contactsurface.hpp.
|
inline |
Definition at line 63 of file contactsurface.hpp.
|
inline |
Definition at line 155 of file contactsurface.hpp.
|
inline |
Definition at line 143 of file contactsurface.hpp.
|
inline |
Definition at line 114 of file contactsurface.hpp.
|
inline |
Definition at line 83 of file contactsurface.hpp.
|
inline |
Definition at line 94 of file contactsurface.hpp.
double MecaCell::ContactSurface< Cell >::ADH_DAMPING_RATIO = 0.1 |
Definition at line 22 of file contactsurface.hpp.
double MecaCell::ContactSurface< Cell >::adhArea = 0 |
Definition at line 35 of file contactsurface.hpp.
double MecaCell::ContactSurface< Cell >::adhCoef = 0.5 |
Definition at line 21 of file contactsurface.hpp.
bool MecaCell::ContactSurface< Cell >::adhesionEnabled = true |
Definition at line 16 of file contactsurface.hpp.
double MecaCell::ContactSurface< Cell >::area = 0 |
Definition at line 35 of file contactsurface.hpp.
bool MecaCell::ContactSurface< Cell >::atRest = false |
Definition at line 45 of file contactsurface.hpp.
double MecaCell::ContactSurface< Cell >::baseBondStrength = 0.05 |
Definition at line 26 of file contactsurface.hpp.
double MecaCell::ContactSurface< Cell >::bondMaxL = 5.0 |
Definition at line 23 of file contactsurface.hpp.
double MecaCell::ContactSurface< Cell >::bondReach = 1.0 |
Definition at line 24 of file contactsurface.hpp.
ordered_pair<Cell *> MecaCell::ContactSurface< Cell >::cells |
Definition at line 10 of file contactsurface.hpp.
double MecaCell::ContactSurface< Cell >::centersDist = 0 |
Definition at line 36 of file contactsurface.hpp.
Vec MecaCell::ContactSurface< Cell >::direction |
Definition at line 32 of file contactsurface.hpp.
double MecaCell::ContactSurface< Cell >::fixedDamping = 0.0 |
Definition at line 25 of file contactsurface.hpp.
double MecaCell::ContactSurface< Cell >::flexAdhElongation = 0 |
Definition at line 40 of file contactsurface.hpp.
bool MecaCell::ContactSurface< Cell >::frictionEnabled = false |
Definition at line 17 of file contactsurface.hpp.
double MecaCell::ContactSurface< Cell >::linAdhElongation = 0 |
Definition at line 37 of file contactsurface.hpp.
std::pair<double, double> MecaCell::ContactSurface< Cell >::midpoint |
Definition at line 33 of file contactsurface.hpp.
double MecaCell::ContactSurface< Cell >::MIN_ADH_DIST = 8.0 |
Definition at line 27 of file contactsurface.hpp.
bool MecaCell::ContactSurface< Cell >::pressureEnabled = true |
Definition at line 15 of file contactsurface.hpp.
double MecaCell::ContactSurface< Cell >::prevCentersDist = 0 |
Definition at line 36 of file contactsurface.hpp.
double MecaCell::ContactSurface< Cell >::prevFlexAdhElongation = 0 |
Definition at line 40 of file contactsurface.hpp.
double MecaCell::ContactSurface< Cell >::prevLinAdhElongation = 0 |
Definition at line 37 of file contactsurface.hpp.
|
staticconstexpr |
Definition at line 46 of file contactsurface.hpp.
double MecaCell::ContactSurface< Cell >::sqradius = 0 |
Definition at line 34 of file contactsurface.hpp.
std::pair<TargetSurface, TargetSurface> MecaCell::ContactSurface< Cell >::targets |
Definition at line 57 of file contactsurface.hpp.
bool MecaCell::ContactSurface< Cell >::unbreakable = false |
Definition at line 18 of file contactsurface.hpp.