BioDynaMo  v1.05.120-25dc9790
Public Member Functions | Public Attributes | List of all members
bdm::neuroscience::NeuriteElement::MechanicalForcesFunctor Struct Reference

#include <neurite_element.h>

Inheritance diagram for bdm::neuroscience::NeuriteElement::MechanicalForcesFunctor:
[legend]
Collaboration diagram for bdm::neuroscience::NeuriteElement::MechanicalForcesFunctor:
[legend]

Public Member Functions

 MechanicalForcesFunctor (const InteractionForce *force, NeuriteElement *neurite, Real3 &force_from_neighbors, Real3 &force_on_my_mothers_point_mass, real_t &h_over_m, bool &has_neurite_neighbor, uint64_t &non_zero_neighbor_force)
 
void operator() (Agent *neighbor, real_t squared_distance) override
 
- Public Member Functions inherited from bdm::Functor< void, Agent *, real_t >
virtual ~Functor ()=default
 
virtual void operator() (TArgs... args)=0
 

Public Attributes

const InteractionForceforce
 
NeuriteElementne
 
Real3force_from_neighbors
 
Real3force_on_my_mothers_point_mass
 
real_th_over_m
 
bool & has_neurite_neighbor
 
uint64_t & non_zero_neighbor_force
 

Detailed Description

Definition at line 254 of file neurite_element.h.

Constructor & Destructor Documentation

◆ MechanicalForcesFunctor()

bdm::neuroscience::NeuriteElement::MechanicalForcesFunctor::MechanicalForcesFunctor ( const InteractionForce force,
NeuriteElement neurite,
Real3 force_from_neighbors,
Real3 force_on_my_mothers_point_mass,
real_t h_over_m,
bool &  has_neurite_neighbor,
uint64_t &  non_zero_neighbor_force 
)
inline

Definition at line 263 of file neurite_element.h.

Member Function Documentation

◆ operator()()

void bdm::neuroscience::NeuriteElement::MechanicalForcesFunctor::operator() ( Agent neighbor,
real_t  squared_distance 
)
override

Definition at line 475 of file neurite_element.cc.

Member Data Documentation

◆ force

const InteractionForce* bdm::neuroscience::NeuriteElement::MechanicalForcesFunctor::force

Definition at line 255 of file neurite_element.h.

◆ force_from_neighbors

Real3& bdm::neuroscience::NeuriteElement::MechanicalForcesFunctor::force_from_neighbors

Definition at line 257 of file neurite_element.h.

◆ force_on_my_mothers_point_mass

Real3& bdm::neuroscience::NeuriteElement::MechanicalForcesFunctor::force_on_my_mothers_point_mass

Definition at line 258 of file neurite_element.h.

◆ h_over_m

real_t& bdm::neuroscience::NeuriteElement::MechanicalForcesFunctor::h_over_m

Definition at line 259 of file neurite_element.h.

◆ has_neurite_neighbor

bool& bdm::neuroscience::NeuriteElement::MechanicalForcesFunctor::has_neurite_neighbor

Definition at line 260 of file neurite_element.h.

◆ ne

NeuriteElement* bdm::neuroscience::NeuriteElement::MechanicalForcesFunctor::ne

Definition at line 256 of file neurite_element.h.

◆ non_zero_neighbor_force

uint64_t& bdm::neuroscience::NeuriteElement::MechanicalForcesFunctor::non_zero_neighbor_force

Definition at line 261 of file neurite_element.h.


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