BioDynaMo  v1.05.159-3be850bb
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_
Definition: agent.cc:39
uint64_t NewAgentEventUid
double real_t
Definition: real_t.h:21
This event splits the current neurite element into two elements and adds a new side branch as daughte...
real_t length
length of the new side branch
NeuriteBranchingEvent(real_t distal_portion, real_t length, real_t diameter, const Real3 direction)
real_t diameter
diameter of the new side branch
NewAgentEventUid GetUid() const override