|
BioDynaMo
v1.05.125-2619fe54
|
#include <cell.h>
Public Member Functions | |
| Cell () | |
| Cell (real_t diameter) | |
| Cell (const Real3 &position) | |
| ~Cell () override=default | |
| void | Initialize (const NewAgentEvent &event) override |
| This method is used to initialise the values of daughter 2 for a cell division event. More... | |
| Shape | GetShape () const override |
| virtual Cell * | Divide () |
| Divide this cell. More... | |
| virtual Cell * | Divide (real_t volume_ratio) |
| Divide this cell. More... | |
| virtual Cell * | Divide (const Real3 &axis) |
| Divide this cell. More... | |
| virtual Cell * | Divide (real_t volume_ratio, const Real3 &axis) |
| Divide this cell. More... | |
| virtual Cell * | Divide (real_t volume_ratio, real_t phi, real_t theta) |
| Divide this cell. More... | |
| real_t | GetAdherence () const |
| real_t | GetDiameter () const override |
| real_t | GetMass () const |
| real_t | GetDensity () const |
| const Real3 & | GetPosition () const override |
| const Real3 & | GetTractorForce () const |
| real_t | GetVolume () const |
| void | SetAdherence (real_t adherence) |
| void | SetDiameter (real_t diameter) override |
| void | SetVolume (real_t volume) |
| void | SetMass (real_t mass) |
| void | SetDensity (real_t density) |
| void | SetPosition (const Real3 &position) override |
| void | SetTractorForce (const Real3 &tractor_force) |
| void | ChangeVolume (real_t speed) |
| void | UpdateDiameter () |
| void | UpdateVolume () |
| void | UpdatePosition (const Real3 &delta) |
| Real3 | CalculateDisplacement (const InteractionForce *force, real_t squared_radius, real_t dt) override |
| void | ApplyDisplacement (const Real3 &displacement) override |
| void | MovePointMass (const Real3 &normalized_dir, real_t speed) |
Public Member Functions inherited from bdm::Agent | |
| Agent () | |
| Agent (TRootIOCtor *io_ctor) | |
| Agent (const Agent &other) | |
| virtual | ~Agent () |
| virtual Agent * | New () const =0 |
| Create a new instance of this object using the default constructor. More... | |
| virtual Agent * | NewCopy () const =0 |
| Create a copy of this object. More... | |
| virtual void | Update (const NewAgentEvent &event) |
| void | CreateNewAgents (const NewAgentEvent &event, const std::initializer_list< Agent * > &prototypes) |
| virtual const char * | GetTypeName () const |
| virtual std::set< std::string > | GetRequiredVisDataMembers () const |
| virtual void | RunDiscretization () |
| void | AssignNewUid () |
| const AgentUid & | GetUid () const |
| Spinlock * | GetLock () |
| virtual void | CriticalRegion (std::vector< AgentPointer<>> *aptrs) |
| uint32_t | GetBoxIdx () const |
| void | SetBoxIdx (uint32_t idx) |
| void | SetStaticnessNextTimestep (bool value) const |
| bool | GetPropagateStaticness () const |
| void | SetPropagateStaticness (bool value=true) |
| void | PropagateStaticness (bool beginning=false) |
| void | UpdateStaticness () |
| bool | IsStatic () const |
| template<typename TAgent = Agent> | |
| AgentPointer< TAgent > | GetAgentPtr () const |
| Return agent pointer. More... | |
| void | AddBehavior (Behavior *behavior) |
| Add a behavior to this agent. More... | |
| void | RemoveBehavior (const Behavior *behavior) |
| void | RunBehaviors () |
| Execute all behaviorsq. More... | |
| const InlineVector< Behavior *, 2 > & | GetAllBehaviors () const |
| Return all behaviors. More... | |
| virtual void | RemoveFromSimulation () |
| void * | operator new (size_t size) |
| void | operator delete (void *p) |
Static Public Attributes | |
| static const Real3 | kXAxis = {1.0, 0.0, 0.0} |
| First axis of the local coordinate system. More... | |
| static const Real3 | kYAxis = {0.0, 1.0, 0.0} |
| Second axis of the local coordinate system. More... | |
| static const Real3 | kZAxis = {0.0, 0.0, 1.0} |
| Third axis of the local coordinate system. More... | |
Protected Member Functions | |
| Real3 | TransformCoordinatesGlobalToPolar (const Real3 &coord) const |
Protected Member Functions inherited from bdm::Agent | |
| template<typename TFrom , typename TTo > | |
| std::enable_if< std::is_base_of< TFrom, TTo >::value, TTo * >::type | Cast (TFrom *agent) const |
| template<typename TFrom , typename TTo > | |
| std::enable_if<!std::is_base_of< TFrom, TTo >::value, TTo * >::type | Cast (TFrom *agent) const |
Private Member Functions | |
| BDM_AGENT_HEADER (Cell, Agent, 1) | |
Private Attributes | |
| Real3 | position_ = {{0, 0, 0}} |
| NB: Use setter and don't assign values directly. More... | |
| Real3 | tractor_force_ = {{0, 0, 0}} |
| real_t | diameter_ = 0 |
| NB: Use setter and don't assign values directly. More... | |
| real_t | volume_ = 0 |
| real_t | adherence_ = 0 |
| NB: Use setter and don't assign values directly. More... | |
| real_t | density_ = 0 |
| NB: Use setter and don't assign values directly. More... | |
Additional Inherited Members | |
Protected Attributes inherited from bdm::Agent | |
| AgentUid | uid_ |
| unique id More... | |
| uint32_t | box_idx_ = std::numeric_limits<uint32_t>::max() |
| Grid box index. More... | |
| InlineVector< Behavior *, 2 > | behaviors_ |
| collection of behaviors which define the internal behavior More... | |
|
overridedefault |
|
overridevirtual |
Implements bdm::Agent.
|
inlineoverridevirtual |
Implements bdm::Agent.
|
inlinevirtual |
Divide this cell.
CellDivisionEvent::volume_ratio will be between 0.9 and 1.1
The axis of division is random.
Divide this cell.
CellDivisionEvent::volume_ratio will be between 0.9 and 1.1
|
inlineoverridevirtual |
Implements bdm::Agent.
|
inlineoverridevirtual |
Implements bdm::Agent.
|
inlineoverridevirtual |
Implements bdm::Agent.
|
inlineoverridevirtual |
This method is used to initialise the values of daughter 2 for a cell division event.
Reimplemented from bdm::Agent.
Reimplemented in bdm::neuroscience::NeuronSoma.
|
inlineoverridevirtual |
Implements bdm::Agent.
|
inlineoverridevirtual |
Implements bdm::Agent.
|
inline |
Returns the position in the polar coordinate system (cylindrical or spherical) of a point expressed in global cartesian coordinates ([1,0,0],[0,1,0],[0,0,1]).
| coord | position in absolute coordinates - [x,y,z] cartesian values |
|
private |
|
private |
|
private |
|
static |
|
static |
|
static |
|
private |
1.8.17