BioDynaMo  v1.05.120-25dc9790
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:
[legend]
Collaboration diagram for bdm::MechanicalForcesOp:
[legend]

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 OperationImplClone ()=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

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 ( )
inline

Definition at line 42 of file mechanical_forces_op.h.

◆ MechanicalForcesOp() [2/2]

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

Definition at line 50 of file mechanical_forces_op.h.

◆ ~MechanicalForcesOp()

bdm::MechanicalForcesOp::~MechanicalForcesOp ( )
inlineoverride

Definition at line 60 of file mechanical_forces_op.h.

Member Function Documentation

◆ BDM_OP_HEADER()

bdm::MechanicalForcesOp::BDM_OP_HEADER ( MechanicalForcesOp  )
private

◆ operator()()

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

Implements bdm::OperationImpl.

Definition at line 76 of file mechanical_forces_op.h.

◆ SetInteractionForce()

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

Definition at line 66 of file mechanical_forces_op.h.

Member Data Documentation

◆ delta_time_

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

Definition at line 109 of file mechanical_forces_op.h.

◆ force_

InteractionForce* bdm::MechanicalForcesOp::force_ = nullptr
private

Definition at line 106 of file mechanical_forces_op.h.

◆ last_iteration_

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

Definition at line 110 of file mechanical_forces_op.h.

◆ last_time_run_

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

Definition at line 108 of file mechanical_forces_op.h.

◆ squared_radius_

real_t bdm::MechanicalForcesOp::squared_radius_ = 0
private

Definition at line 107 of file mechanical_forces_op.h.


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