BioDynaMo  v1.03.58-27764645
Public Member Functions | Private Member Functions | Private Attributes | List of all members
bdm::MechanicalForcesOp Class Reference

Defines the 3D physical interactions between physical objects. More...

#include <mechanical_forces_op.h>

Inheritance diagram for bdm::MechanicalForcesOp:
Collaboration diagram for bdm::MechanicalForcesOp:

Public Member Functions

 MechanicalForcesOp ()
 MechanicalForcesOp (const MechanicalForcesOp &other)
virtual ~MechanicalForcesOp ()
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 OperationImplClone ()=0
bool IsGpuOperation ()
 Returns whether or not this operation is supposed to run on a GPU. More...

Private Member Functions

 BDM_OP_HEADER (MechanicalForcesOp)

Private Attributes

InteractionForceforce_ = nullptr
real_t squared_radius_ = 0
std::vector< real_tlast_time_run_
std::vector< real_tdelta_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...

Detailed Description

Defines the 3D physical interactions between physical objects.

Definition at line 38 of file mechanical_forces_op.h.

Constructor & Destructor Documentation

◆ MechanicalForcesOp() [1/2]

bdm::MechanicalForcesOp::MechanicalForcesOp ( )

Definition at line 42 of file mechanical_forces_op.h.

◆ MechanicalForcesOp() [2/2]

bdm::MechanicalForcesOp::MechanicalForcesOp ( const MechanicalForcesOp other)

Definition at line 50 of file mechanical_forces_op.h.

◆ ~MechanicalForcesOp()

virtual bdm::MechanicalForcesOp::~MechanicalForcesOp ( )

Definition at line 60 of file mechanical_forces_op.h.

Member Function Documentation


bdm::MechanicalForcesOp::BDM_OP_HEADER ( MechanicalForcesOp  )

◆ operator()()

void bdm::MechanicalForcesOp::operator() ( Agent agent)

Implements bdm::OperationImpl.

Definition at line 76 of file mechanical_forces_op.h.

◆ SetInteractionForce()

void bdm::MechanicalForcesOp::SetInteractionForce ( InteractionForce force)

Definition at line 66 of file mechanical_forces_op.h.

Member Data Documentation

◆ delta_time_

std::vector<real_t> bdm::MechanicalForcesOp::delta_time_

Definition at line 109 of file mechanical_forces_op.h.

◆ force_

InteractionForce* bdm::MechanicalForcesOp::force_ = nullptr

Definition at line 106 of file mechanical_forces_op.h.

◆ last_iteration_

std::vector<uint64_t> bdm::MechanicalForcesOp::last_iteration_

Definition at line 110 of file mechanical_forces_op.h.

◆ last_time_run_

std::vector<real_t> bdm::MechanicalForcesOp::last_time_run_

Definition at line 108 of file mechanical_forces_op.h.

◆ squared_radius_

real_t bdm::MechanicalForcesOp::squared_radius_ = 0

Definition at line 107 of file mechanical_forces_op.h.

The documentation for this class was generated from the following file: