Welcome to insilico
insilico is a simulation library for Computational Neuroscience simulations written in C++ programming language.
insilico encourages ready-to-start approach for quick setup and development of simulation environment, without hindering programmers time and focus from intended experiment.
Code Sample
Simulating Hodgkin-Huxley Neuron model
#include "insilico/core.hpp"
#include <boost/numeric/odeint.hpp>
using namespace insilico;
int main(int argc, char **argv) {
configuration::initialize(argc, argv);
configuration::observe("v");
engine::generate_neuron<HH_Neuron>();
state_type variables = engine::get_variables();
integrate_const(boost::numeric::odeint::runge_kutta4<state_type>(),
engine::driver(), variables,
0.0, 100.0, 0.05, configuration::observer());
configuration::finalize();
}
Features
- Open Source
- Low memory requirements
- Flexible
- Transparent implementation
- Highly optimized and efficient code
- C++11 compatible
- Parallel implementation in MPI available (OpenMP and NVIDIA® CUDA will be supported soon)
- Portable across three major platforms (Linux, Mac OS, Windows)
- Easy to understand API