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

#include <interaction_force.h>

Public Member Functions

 InteractionForce ()=default
 
virtual ~InteractionForce ()=default
 
virtual Real4 Calculate (const Agent *lhs, const Agent *rhs) const
 
virtual InteractionForceNewCopy () const
 

Private Member Functions

void ForceBetweenSpheres (const Agent *sphere_lhs, const Agent *sphere_rhs, Real3 *result) const
 
void ForceOnACylinderFromASphere (const Agent *cylinder, const Agent *sphere, Real4 *result) const
 
void ForceOnASphereFromACylinder (const Agent *sphere, const Agent *cylinder, Real3 *result) const
 
void ForceBetweenCylinders (const Agent *cylinder1, const Agent *cylinder2, Real4 *result) const
 
Real4 ComputeForceOfASphereOnASphere (const Real3 &c1, real_t r1, const Real3 &c2, real_t r2) const
 

Detailed Description

Definition at line 26 of file interaction_force.h.

Constructor & Destructor Documentation

◆ InteractionForce()

bdm::InteractionForce::InteractionForce ( )
default

◆ ~InteractionForce()

virtual bdm::InteractionForce::~InteractionForce ( )
virtualdefault

Member Function Documentation

◆ Calculate()

Real4 bdm::InteractionForce::Calculate ( const Agent lhs,
const Agent rhs 
) const
virtual

Definition at line 33 of file interaction_force.cc.

◆ ComputeForceOfASphereOnASphere()

Real4 bdm::InteractionForce::ComputeForceOfASphereOnASphere ( const Real3 c1,
real_t  r1,
const Real3 c2,
real_t  r2 
) const
private

Definition at line 286 of file interaction_force.cc.

◆ ForceBetweenCylinders()

void bdm::InteractionForce::ForceBetweenCylinders ( const Agent cylinder1,
const Agent cylinder2,
Real4 result 
) const
private

TODO(neurites) hardcoded value

Definition at line 213 of file interaction_force.cc.

◆ ForceBetweenSpheres()

void bdm::InteractionForce::ForceBetweenSpheres ( const Agent sphere_lhs,
const Agent sphere_rhs,
Real3 result 
) const
private

Definition at line 60 of file interaction_force.cc.

◆ ForceOnACylinderFromASphere()

void bdm::InteractionForce::ForceOnACylinderFromASphere ( const Agent cylinder,
const Agent sphere,
Real4 result 
) const
private

Definition at line 113 of file interaction_force.cc.

◆ ForceOnASphereFromACylinder()

void bdm::InteractionForce::ForceOnASphereFromACylinder ( const Agent sphere,
const Agent cylinder,
Real3 result 
) const
private

Definition at line 203 of file interaction_force.cc.

◆ NewCopy()

virtual InteractionForce* bdm::InteractionForce::NewCopy ( ) const
inlinevirtual

Definition at line 32 of file interaction_force.h.


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