BioDynaMo  v1.05.119-a4ff3934
split_neurite_element_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_SPLIT_NEURITE_ELEMENT_EVENT_H_
16 #define NEUROSCIENCE_NEW_AGENT_EVENT_SPLIT_NEURITE_ELEMENT_EVENT_H_
17 
19 
20 namespace bdm {
21 namespace neuroscience {
22 
29  static const NewAgentEventUid kUid;
30 
33 
34  ~SplitNeuriteElementEvent() override = default;
35 
36  NewAgentEventUid GetUid() const override { return kUid; }
37 
41 };
42 
43 } // namespace neuroscience
44 } // namespace bdm
45 
46 #endif // NEUROSCIENCE_NEW_AGENT_EVENT_SPLIT_NEURITE_ELEMENT_EVENT_H_
bdm::NewAgentEvent
Definition: new_agent_event.h:61
bdm::neuroscience::SplitNeuriteElementEvent::kUid
static const NewAgentEventUid kUid
Definition: split_neurite_element_event.h:29
bdm
Definition: agent.cc:39
bdm::neuroscience::SplitNeuriteElementEvent::GetUid
NewAgentEventUid GetUid() const override
Definition: split_neurite_element_event.h:36
bdm::real_t
double real_t
Definition: real_t.h:21
bdm::neuroscience::SplitNeuriteElementEvent::distal_portion
real_t distal_portion
Definition: split_neurite_element_event.h:40
bdm::neuroscience::SplitNeuriteElementEvent::~SplitNeuriteElementEvent
~SplitNeuriteElementEvent() override=default
bdm::neuroscience::SplitNeuriteElementEvent
Contains the parameters to split a neurite element into two segments.
Definition: split_neurite_element_event.h:28
new_agent_event.h
bdm::NewAgentEventUid
uint64_t NewAgentEventUid
Definition: new_agent_event.h:29
bdm::neuroscience::SplitNeuriteElementEvent::SplitNeuriteElementEvent
SplitNeuriteElementEvent(real_t distal_portion)
Definition: split_neurite_element_event.h:31