BioDynaMo  v1.05.120-25dc9790
neurite_branching_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_BRANCHING_EVENT_H_
16 #define NEUROSCIENCE_NEW_AGENT_EVENT_NEURITE_BRANCHING_EVENT_H_
17 
18 #include <array>
20 
21 namespace bdm {
22 namespace neuroscience {
23 
32  static const NewAgentEventUid kUid;
33 
35  const Real3 direction)
37  length(length),
40 
41  ~NeuriteBranchingEvent() override = default;
42 
43  NewAgentEventUid GetUid() const override { return kUid; }
44 
56 };
57 
58 } // namespace neuroscience
59 } // namespace bdm
60 
61 #endif // NEUROSCIENCE_NEW_AGENT_EVENT_NEURITE_BRANCHING_EVENT_H_
bdm::NewAgentEvent
Definition: new_agent_event.h:61
bdm
Definition: agent.cc:39
bdm::real_t
double real_t
Definition: real_t.h:21
bdm::neuroscience::NeuriteBranchingEvent::~NeuriteBranchingEvent
~NeuriteBranchingEvent() override=default
bdm::neuroscience::NeuriteBranchingEvent::kUid
static const NewAgentEventUid kUid
Definition: neurite_branching_event.h:32
bdm::neuroscience::NeuriteBranchingEvent::distal_portion
real_t distal_portion
Definition: neurite_branching_event.h:47
new_agent_event.h
bdm::neuroscience::NeuriteBranchingEvent
This event splits the current neurite element into two elements and adds a new side branch as daughte...
Definition: neurite_branching_event.h:31
bdm::NewAgentEventUid
uint64_t NewAgentEventUid
Definition: new_agent_event.h:29
bdm::neuroscience::NeuriteBranchingEvent::diameter
real_t diameter
diameter of the new side branch
Definition: neurite_branching_event.h:51
bdm::MathArray< real_t, 3 >
bdm::neuroscience::NeuriteBranchingEvent::length
real_t length
length of the new side branch
Definition: neurite_branching_event.h:49
bdm::neuroscience::NeuriteBranchingEvent::direction
Real3 direction
Definition: neurite_branching_event.h:55
bdm::neuroscience::NeuriteBranchingEvent::GetUid
NewAgentEventUid GetUid() const override
Definition: neurite_branching_event.h:43
bdm::neuroscience::NeuriteBranchingEvent::NeuriteBranchingEvent
NeuriteBranchingEvent(real_t distal_portion, real_t length, real_t diameter, const Real3 direction)
Definition: neurite_branching_event.h:34