BioDynaMo
v1.05.120-25dc9790
|
Defines the 3D physical interactions between physical objects. More...
#include <mechanical_forces_op.h>
Public Member Functions | |
MechanicalForcesOp () | |
MechanicalForcesOp (const MechanicalForcesOp &other) | |
~MechanicalForcesOp () override | |
void | SetInteractionForce (InteractionForce *force) |
void | operator() (Agent *agent) override |
Public Member Functions inherited from bdm::AgentOperationImpl | |
void | operator() () override |
bool | IsStandalone () override |
Returns whether or not this operations is a stand-alone operation. More... | |
Public Member Functions inherited from bdm::OperationImpl | |
virtual | ~OperationImpl ()=default |
virtual void | SetUp () |
virtual void | TearDown () |
virtual OperationImpl * | Clone ()=0 |
bool | IsGpuOperation () const |
Returns whether or not this operation is supposed to run on a GPU. More... | |
Private Member Functions | |
BDM_OP_HEADER (MechanicalForcesOp) | |
Private Attributes | |
InteractionForce * | force_ = nullptr |
real_t | squared_radius_ = 0 |
std::vector< real_t > | last_time_run_ |
std::vector< real_t > | delta_time_ |
std::vector< uint64_t > | last_iteration_ |
Additional Inherited Members | |
Public Attributes inherited from bdm::OperationImpl | |
OpComputeTarget | target_ = kCpu |
The target that this operation implementation is supposed to run on. More... | |
Defines the 3D physical interactions between physical objects.
Definition at line 38 of file mechanical_forces_op.h.
|
inline |
Definition at line 42 of file mechanical_forces_op.h.
|
inline |
Definition at line 50 of file mechanical_forces_op.h.
|
inlineoverride |
Definition at line 60 of file mechanical_forces_op.h.
|
private |
|
inlineoverridevirtual |
Implements bdm::OperationImpl.
Definition at line 76 of file mechanical_forces_op.h.
|
inline |
Definition at line 66 of file mechanical_forces_op.h.
|
private |
Definition at line 109 of file mechanical_forces_op.h.
|
private |
Definition at line 106 of file mechanical_forces_op.h.
|
private |
Definition at line 110 of file mechanical_forces_op.h.
|
private |
Definition at line 108 of file mechanical_forces_op.h.
|
private |
Definition at line 107 of file mechanical_forces_op.h.