![]() |
NEURON
|
#include <algorithm>
#include <cstdint>
#include <iostream>
#include <set>
#include <string>
#include <unordered_map>
#include <vector>
#include "coreneuron/utils/utils.hpp"
Go to the source code of this file.
Classes | |
struct | coreneuron::SummationReport |
struct | coreneuron::SummationReportMapping |
struct | coreneuron::SpikesInfo |
struct | coreneuron::ReportConfiguration |
Namespaces | |
coreneuron | |
THIS FILE IS AUTO GENERATED DONT MODIFY IT. | |
Macros | |
#define | REPORT_MAX_NAME_LEN 256 |
#define | REPORT_MAX_FILEPATH_LEN 4096 |
Enumerations | |
enum class | coreneuron::ReportType { coreneuron::Compartment , coreneuron::CompartmentSet , coreneuron::Summation , coreneuron::Synapse , coreneuron::LFP } |
enum class | coreneuron::SectionType { coreneuron::Cell , coreneuron::Soma , coreneuron::Axon , coreneuron::Dendrite , coreneuron::Apical , coreneuron::Ais , coreneuron::Node , coreneuron::Myelin , coreneuron::All , coreneuron::Invalid } |
enum class | coreneuron::Scaling { coreneuron::None , coreneuron::Area } |
enum class | coreneuron::Compartments { coreneuron::All , coreneuron::Center , coreneuron::Invalid } |
Functions | |
std::ostream & | coreneuron::operator<< (std::ostream &os, const SummationReport &report) |
Print to ostream the SummationReport. More... | |
template<typename EnumT , std::size_t N> | |
std::string | coreneuron::to_string (EnumT e, const std::array< std::pair< EnumT, std::string_view >, N > &mapping, const std::string_view enum_name) |
Converts an enum value to its corresponding string representation. More... | |
bool | coreneuron::equals_case_insensitive (std::string_view a, std::string_view b) |
Compares two strings for equality, ignoring case. More... | |
template<typename EnumT , std::size_t N> | |
EnumT | coreneuron::from_string (std::string_view str, const std::array< std::pair< EnumT, std::string_view >, N > &mapping, const std::string_view enum_name) |
Converts a string to its corresponding enum value, case-insensitively. More... | |
std::string | coreneuron::to_string (ReportType t) |
ReportType | coreneuron::report_type_from_string (const std::string &s) |
std::string | coreneuron::to_string (SectionType t) |
SectionType | coreneuron::section_type_from_string (std::string_view str) |
std::string | coreneuron::to_string (Scaling s) |
Scaling | coreneuron::scaling_from_string (const std::string &str) |
std::string | coreneuron::to_string (Compartments s) |
Compartments | coreneuron::compartments_from_string (const std::string &str) |
void | coreneuron::setup_report_engine (double dt_report, double mindelay) |
in the current implementation, we call flush during every spike exchange interval. More... | |
std::vector< ReportConfiguration > | coreneuron::create_report_configurations (const std::string &filename, const std::string &output_dir, SpikesInfo &spikes_info) |
void | coreneuron::finalize_report () |
void | coreneuron::nrn_flush_reports (double t) |
void | coreneuron::set_report_buffer_size (int n) |
Variables | |
constexpr std::array< std::pair< ReportType, std::string_view >, 5 > | coreneuron::report_type_map |
constexpr std::array< std::pair< SectionType, std::string_view >, 11 > | coreneuron::section_type_map |
constexpr std::array< std::pair< Scaling, std::string_view >, 2 > | coreneuron::scaling_map |
constexpr std::array< std::pair< Compartments, std::string_view >, 3 > | coreneuron::compartments_map |
#define REPORT_MAX_FILEPATH_LEN 4096 |
Definition at line 28 of file nrnreport.hpp.
#define REPORT_MAX_NAME_LEN 256 |
Definition at line 27 of file nrnreport.hpp.