BioDynaMo
v1.05.120-25dc9790
|
Move cells along the diffusion gradient (from low concentration to high) More...
#include <chemotaxis.h>
Public Member Functions | |
Chemotaxis ()=default | |
Chemotaxis (const std::string &substance, real_t speed) | |
Chemotaxis (DiffusionGrid *dgrid, real_t speed) | |
virtual | ~Chemotaxis ()=default |
void | Initialize (const NewAgentEvent &event) override |
void | Run (Agent *agent) override |
Public Member Functions inherited from bdm::Behavior | |
Behavior () | |
virtual | ~Behavior ()=default |
virtual Behavior * | New () const =0 |
Create a new instance of this object using the default constructor. More... | |
virtual Behavior * | NewCopy () const =0 |
Create a new copy of this behavior. More... | |
virtual void | Update (const NewAgentEvent &event) |
void | AlwaysCopyToNew () |
Always copy this behavior to new agents. More... | |
void | NeverCopyToNew () |
Never copy this behavior to new agents. More... | |
void | CopyToNewIf (const std::initializer_list< NewAgentEventUid > &uids) |
void | AlwaysRemoveFromExisting () |
void | NeverRemoveFromExisting () |
void | RemoveFromExistingIf (const std::initializer_list< NewAgentEventUid > &uids) |
bool | WillBeCopied (NewAgentEventUid event) const |
bool | WillBeRemoved (NewAgentEventUid event) const |
void * | operator new (size_t size) |
void | operator delete (void *p) |
Private Member Functions | |
BDM_BEHAVIOR_HEADER (Chemotaxis, Behavior, 1) | |
Private Attributes | |
DiffusionGrid * | dgrid_ = nullptr |
real_t | speed_ |
Move cells along the diffusion gradient (from low concentration to high)
Definition at line 26 of file chemotaxis.h.
|
default |
|
inline |
Definition at line 31 of file chemotaxis.h.
|
inlineexplicit |
Definition at line 36 of file chemotaxis.h.
|
virtualdefault |
|
private |
|
inlineoverridevirtual |
This method is called to initialize new behaviors that are created during a NewAgentEvent. Override this method to initialize attributes of your own Behavior subclasses. NB: Don't forget to call the implementation of the base class first. Base::Initialize(event);
Failing to do so will result in errors.
Reimplemented from bdm::Behavior.
Definition at line 41 of file chemotaxis.h.
|
inlineoverridevirtual |
Implements bdm::Behavior.
Definition at line 48 of file chemotaxis.h.
|
private |
Definition at line 57 of file chemotaxis.h.
|
private |
Definition at line 58 of file chemotaxis.h.