CellModules
|
#include <elasticbody.hpp>
Public Types | |
using | embedded_plugin_t = GenericConnectionBodyPlugin< Cell, ElasticConnection > |
Public Member Functions | |
ElasticBody (Cell *c, Vector3D pos=Vector3D::zero()) | |
void | setRestRadius (double r) |
double | getBoundingBoxRadius () const |
double | getYoungModulus () const |
double | getPoissonCoef () const |
void | setYoungModulus (double y) |
void | setPoissonCoef (double p) |
void | setMass (double m) |
Vector3D | getVelocity () |
Vector3D | getForce () |
Vector3D | getTorque () |
double | getMass () |
double | getMomentOfInertia () const |
Vector3D | getPosition () |
void | receiveTorque (const Vec &t) |
void | receiveForce (const Vec &f) |
template<typename Integrator = Euler> | |
void | updatePositionsAndOrientations (double dt) |
std::tuple< Cell *, double > | getConnectedCellAndMembraneDistance (const Vec &d) const |
void | resetForce () |
void | resetTorque () |
Cell * | getConnectedCell (const Vec &d) const |
double | getPreciseMembraneDistance (const Vec &d) const |
void | moveTo (Vector3D newpos) |
void | updateInternals (double dt) |
Public Attributes | |
OrientedParticle | realCenter |
GhostCenter< OrientedParticle > | ghostCenter |
Private Attributes | |
Cell * | cell = nullptr |
std::vector< ElasticConnection< Cell > * > | cellConnections |
double | restRadius = Config::DEFAULT_CELL_RADIUS |
double | youngModulus = Config::DEFAULT_CELL_YOUNGMOD |
double | poissonCoef = Config::DEFAULT_CELL_POISSONCOEF |
Friends | |
class | GenericConnectionBodyPlugin< Cell, ElasticConnection > |
Definition at line 48 of file elasticbody.hpp.
using MecaCell::ElasticBody< Cell >::embedded_plugin_t = GenericConnectionBodyPlugin<Cell, ElasticConnection> |
Definition at line 58 of file elasticbody.hpp.
|
inline |
Definition at line 62 of file elasticbody.hpp.
|
inline |
Definition at line 65 of file elasticbody.hpp.
|
inline |
Definition at line 108 of file elasticbody.hpp.
|
inline |
Definition at line 86 of file elasticbody.hpp.
|
inline |
Definition at line 72 of file elasticbody.hpp.
|
inline |
Definition at line 74 of file elasticbody.hpp.
|
inline |
Definition at line 75 of file elasticbody.hpp.
|
inline |
Definition at line 67 of file elasticbody.hpp.
|
inline |
Definition at line 78 of file elasticbody.hpp.
|
inline |
Definition at line 113 of file elasticbody.hpp.
|
inline |
Definition at line 73 of file elasticbody.hpp.
|
inline |
Definition at line 71 of file elasticbody.hpp.
|
inline |
Definition at line 66 of file elasticbody.hpp.
|
inline |
Definition at line 117 of file elasticbody.hpp.
|
inline |
Definition at line 80 of file elasticbody.hpp.
|
inline |
Definition at line 79 of file elasticbody.hpp.
|
inline |
Definition at line 105 of file elasticbody.hpp.
|
inline |
Definition at line 106 of file elasticbody.hpp.
|
inline |
Definition at line 70 of file elasticbody.hpp.
|
inline |
Definition at line 69 of file elasticbody.hpp.
|
inline |
Definition at line 64 of file elasticbody.hpp.
|
inline |
Definition at line 68 of file elasticbody.hpp.
|
inline |
Definition at line 122 of file elasticbody.hpp.
|
inline |
Definition at line 82 of file elasticbody.hpp.
|
friend |
Definition at line 26 of file elasticbody.hpp.
|
private |
Definition at line 51 of file elasticbody.hpp.
|
private |
Definition at line 52 of file elasticbody.hpp.
GhostCenter<OrientedParticle> MecaCell::ElasticBody< Cell >::ghostCenter |
Definition at line 60 of file elasticbody.hpp.
|
private |
Definition at line 55 of file elasticbody.hpp.
OrientedParticle MecaCell::ElasticBody< Cell >::realCenter |
Definition at line 59 of file elasticbody.hpp.
|
private |
Definition at line 53 of file elasticbody.hpp.
|
private |
Definition at line 54 of file elasticbody.hpp.