BioDynaMo  v1.05.119-a4ff3934
neurite_bifurcation_event.h
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------
2 //
3 // Copyright (C) 2021 CERN & University of Surrey for the benefit of the
4 // BioDynaMo collaboration. All Rights Reserved.
5 //
6 // Licensed under the Apache License, Version 2.0 (the "License");
7 // you may not use this file except in compliance with the License.
8 //
9 // See the LICENSE file distributed with this work for details.
10 // See the NOTICE file distributed with this work for additional information
11 // regarding copyright ownership.
12 //
13 // -----------------------------------------------------------------------------
14 
15 #ifndef NEUROSCIENCE_NEW_AGENT_EVENT_NEURITE_BIFURCATION_EVENT_H_
16 #define NEUROSCIENCE_NEW_AGENT_EVENT_NEURITE_BIFURCATION_EVENT_H_
17 
18 #include <array>
19 
22 
23 namespace bdm {
24 namespace neuroscience {
25 
33  static const NewAgentEventUid kUid;
34 
36  const Real3& direction_l, const Real3& direction_r)
37  : length(length),
38  diameter_left(diameter_l),
39  diameter_right(diameter_r),
40  direction_left(direction_l),
41  direction_right(direction_r) {}
42 
43  ~NeuriteBifurcationEvent() override = default;
44 
45  NewAgentEventUid GetUid() const override { return kUid; }
46 
59 };
60 
61 } // namespace neuroscience
62 } // namespace bdm
63 
64 #endif // NEUROSCIENCE_NEW_AGENT_EVENT_NEURITE_BIFURCATION_EVENT_H_
bdm::NewAgentEvent
Definition: new_agent_event.h:61
bdm
Definition: agent.cc:39
bdm::neuroscience::NeuriteBifurcationEvent::~NeuriteBifurcationEvent
~NeuriteBifurcationEvent() override=default
bdm::neuroscience::NeuriteBifurcationEvent::GetUid
NewAgentEventUid GetUid() const override
Definition: neurite_bifurcation_event.h:45
bdm::real_t
double real_t
Definition: real_t.h:21
bdm::neuroscience::NeuriteBifurcationEvent::length
real_t length
length of new branches
Definition: neurite_bifurcation_event.h:48
bdm::neuroscience::NeuriteBifurcationEvent
Contains the parameters to bifurcate a growth cone.
Definition: neurite_bifurcation_event.h:32
bdm::neuroscience::NeuriteBifurcationEvent::diameter_right
real_t diameter_right
diameter of new branch right
Definition: neurite_bifurcation_event.h:52
new_agent_event.h
bdm::NewAgentEventUid
uint64_t NewAgentEventUid
Definition: new_agent_event.h:29
math_array.h
bdm::neuroscience::NeuriteBifurcationEvent::direction_right
Real3 direction_right
Definition: neurite_bifurcation_event.h:58
bdm::neuroscience::NeuriteBifurcationEvent::kUid
static const NewAgentEventUid kUid
Definition: neurite_bifurcation_event.h:33
bdm::neuroscience::NeuriteBifurcationEvent::diameter_left
real_t diameter_left
diameter of new branch left
Definition: neurite_bifurcation_event.h:50
bdm::MathArray< real_t, 3 >
bdm::neuroscience::NeuriteBifurcationEvent::NeuriteBifurcationEvent
NeuriteBifurcationEvent(real_t length, real_t diameter_l, real_t diameter_r, const Real3 &direction_l, const Real3 &direction_r)
Definition: neurite_bifurcation_event.h:35
bdm::neuroscience::NeuriteBifurcationEvent::direction_left
Real3 direction_left
Definition: neurite_bifurcation_event.h:55