BioDynaMo  v1.03.57-cebe047f
param.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_PARAM_H_
16 #define NEUROSCIENCE_PARAM_H_
17 
18 #include <cinttypes>
19 #include <memory>
20 #include <set>
21 #include <string>
22 #include <unordered_map>
23 #include <vector>
24 #include "core/param/param_group.h"
25 #include "core/util/root.h"
26 #include "cpptoml/cpptoml.h"
27 
28 namespace bdm {
29 namespace neuroscience {
30 
31 struct Param : public ParamGroup {
33 
41 
49 
57 
65 
73 
81 
88  double neurite_min_length = 2.0;
89 
96  double neurite_max_length = 15;
97 
106 
107  protected:
109  void AssignFromConfig(const std::shared_ptr<cpptoml::table>&) override;
110 };
111 
112 } // namespace neuroscience
113 } // namespace bdm
114 
115 #endif // NEUROSCIENCE_PARAM_H_
bdm::neuroscience::Param::neurite_default_tension
double neurite_default_tension
Definition: param.h:80
bdm
Definition: agent.cc:39
param_group.h
bdm::neuroscience::Param::neurite_default_diameter
double neurite_default_diameter
Definition: param.h:56
bdm::neuroscience::Param::neurite_max_length
double neurite_max_length
Definition: param.h:96
bdm::neuroscience::Param::neurite_default_density
double neurite_default_density
Definition: param.h:48
bdm::neuroscience::Param
Definition: param.h:31
bdm::neuroscience::Param::AssignFromConfig
void AssignFromConfig(const std::shared_ptr< cpptoml::table > &) override
Assign values from config file to variables.
Definition: param.cc:23
bdm::neuroscience::Param::neurite_min_length
double neurite_min_length
Definition: param.h:88
root.h
bdm::neuroscience::Param::neurite_default_actual_length
double neurite_default_actual_length
Definition: param.h:40
bdm::ParamGroup
Interface for parameter groups.
Definition: param_group.h:45
bdm::neuroscience::Param::neurite_minimial_bifurcation_length
double neurite_minimial_bifurcation_length
Definition: param.h:105
bdm::neuroscience::Param::BDM_PARAM_GROUP_HEADER
BDM_PARAM_GROUP_HEADER(Param, 1)
bdm::neuroscience::Param::neurite_default_adherence
double neurite_default_adherence
Definition: param.h:72
bdm::neuroscience::Param::neurite_default_spring_constant
double neurite_default_spring_constant
Definition: param.h:64