NEST main@caf0ae8
 
Loading...
Searching...
No Matches
nest.cpp File Reference
#include "nest.h"
#include <cassert>
#include "exceptions.h"
#include "kernel_manager.h"
#include "mpi_manager_impl.h"
#include "parameter.h"
#include "sp_manager.h"
#include "sp_manager_impl.h"
#include "grid_mask.h"
#include "spatial.h"
#include "connection_manager_impl.h"
#include "genericmodel_impl.h"
#include "model_manager.h"
#include "dictionary.h"
Include dependency graph for nest.cpp:

Namespaces

namespace  nest
 Namespace for the NEST simulation kernel.
 

Functions

AbstractMask * nest::create_doughnut (const Dictionary &d)
 
void nest::init_nest (int *argc, char **argv[])
 
void nest::shutdown_nest (int exitcode)
 
void nest::install_module (const std::string &module)
 
void nest::reset_kernel ()
 
void nest::enable_structural_plasticity ()
 
void nest::disable_structural_plasticity ()
 
void nest::register_logger_client (const deliver_logging_event_ptr client_callback)
 
std::string nest::print_nodes_to_string ()
 
std::string nest::pprint_to_string (NodeCollectionPTR nc)
 
size_t nest::nc_size (NodeCollectionPTR nc)
 
void nest::set_kernel_status (const Dictionary &dict)
 
Dictionary nest::get_kernel_status ()
 
Dictionary nest::get_nc_status (NodeCollectionPTR nc)
 
void nest::set_nc_status (NodeCollectionPTR nc, std::vector< Dictionary > &params)
 
void nest::set_connection_status (const std::deque< ConnectionID > &conns, const Dictionary &dict)
 
void nest::set_connection_status (const std::deque< ConnectionID > &conns, const std::vector< Dictionary > &dicts)
 
std::vector< Dictionary > nest::get_connection_status (const std::deque< ConnectionID > &conns)
 
void nest::set_node_status (const size_t node_id, const Dictionary &dict)
 
Dictionary nest::get_node_status (const size_t node_id)
 
Dictionary nest::get_connection_status (const ConnectionID &conn)
 
NodeCollectionPTR nest::slice_nc (const NodeCollectionPTR nc, long start, long stop, long step)
 
NodeCollectionPTR nest::create (const std::string &model_name, const size_t n_nodes)
 
NodeCollectionPTR nest::create_spatial (const Dictionary &layer_dict)
 
NodeCollectionPTR nest::make_nodecollection (const std::vector< size_t > &node_ids)
 
NodeCollectionPTR nest::get_nodes (const Dictionary &params, const bool local_only)
 
bool nest::equal (const NodeCollectionPTR lhs, const NodeCollectionPTR rhs)
 
bool nest::contains (const NodeCollectionPTR nc, const size_t node_id)
 
long nest::find (const NodeCollectionPTR nc, size_t node_id)
 
Dictionary nest::get_metadata (const NodeCollectionPTR nc)
 
void nest::connect (NodeCollectionPTR sources, NodeCollectionPTR targets, const Dictionary &connectivity, const std::vector< Dictionary > &synapse_params)
 Create bipartite connections.
 
void nest::disconnect (NodeCollectionPTR sources, NodeCollectionPTR targets, const Dictionary &connectivity, const std::vector< Dictionary > &synapse_params)
 Disconnect nodes.
 
void nest::connect_tripartite (NodeCollectionPTR sources, NodeCollectionPTR targets, NodeCollectionPTR third, const Dictionary &connectivity, const Dictionary &third_connectivity, const std::map< std::string, std::vector< Dictionary > > &synapse_specs)
 Create tripartite connections.
 
void nest::connect_arrays (const long *sources, const long *targets, const double *weights, const double *delays, const std::vector< std::string > &p_keys, const double *p_values, size_t n, const std::string &syn_model)
 Connect arrays of node IDs one-to-one.
 
void nest::connect_sonata (const Dictionary &graph_specs, const long hyperslab_size)
 
std::deque< ConnectionID > nest::get_connections (const Dictionary &dict)
 
void nest::disconnect (const std::deque< ConnectionID > &conns)
 
void nest::simulate (const double t)
 
void nest::run (const double time)
 
void nest::prepare ()
 do calibrations for network, open files, ... before run()
 
void nest::cleanup ()
 do cleanup after a simulation, such as closing files
 
void nest::synchronize ()
 Force synchronization of MPI processes.
 
void nest::copy_model (const std::string &oldmodname, const std::string &newmodname, const Dictionary &dict)
 
void nest::set_model_defaults (const std::string &component, const Dictionary &dict)
 
Dictionary nest::get_model_defaults (const std::string &component)
 
ParameterPTR nest::create_parameter (const any_type &value)
 
ParameterPTR nest::create_parameter (const double value)
 
ParameterPTR nest::create_parameter (const long value)
 
ParameterPTR nest::create_parameter (const Dictionary &param_dict)
 
ParameterPTR nest::create_parameter (const std::string &name, const Dictionary &d)
 
ParameterFactory & nest::parameter_factory_ (void)
 
MaskFactory & nest::mask_factory_ (void)
 
double nest::get_value (const ParameterPTR param)
 
bool nest::is_spatial (const ParameterPTR param)
 
std::vector< double > nest::apply (const ParameterPTR param, const NodeCollectionPTR nc)
 
std::vector< double > nest::apply (const ParameterPTR param, const Dictionary &positions)
 
NodeCollectionPTR nest::node_collection_array_index (NodeCollectionPTR nc, const long *array, unsigned long n)
 
NodeCollectionPTR nest::node_collection_array_index (NodeCollectionPTR nc, const bool *array, unsigned long n)
 
std::vector< size_t > nest::node_collection_to_array (NodeCollectionPTR node_collection, const std::string &selection)
 
void nest::message (const VerbosityLevel level, const std::string &function, const std::string &message, const std::string &file, const size_t line)