BioDynaMo
v1.05.120-25dc9790
|
Go to the documentation of this file.
15 #ifndef CORE_AGENT_SPHERICAL_AGENT_H_
16 #define CORE_AGENT_SPHERICAL_AGENT_H_
65 if (displacement[0] == 0 && displacement[1] == 0 && displacement[2] == 0) {
81 #endif // CORE_AGENT_SPHERICAL_AGENT_H_
void SetPosition(const Real3 &position) override
SphericalAgent(real_t diameter)
virtual ~SphericalAgent()=default
void ApplyDisplacement(const Real3 &displacement) override
real_t diameter_
NB: Use setter and don't assign values directly.
real_t GetDiameter() const override
Real3 position_
NB: Use setter and don't assign values directly.
void SetPropagateStaticness(bool value=true)
Contains code required by all agents.
const Real3 & GetPosition() const override
BDM_AGENT_HEADER(SphericalAgent, Agent, 1)
Shape GetShape() const override
Real3 CalculateDisplacement(const InteractionForce *force, real_t squared_radius, real_t dt) override
void SetDiameter(real_t diameter) override
SphericalAgent(const Real3 &position)