You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kuramoto oscillators on directed networks with negative binomial degree distributions
This repository contains C implementations of Kuramoto oscillators on networks generated using a negative binomial configuration model. The code supports parallel execution using OpenMP and flexible parameter input through command-line options.
Features
Generates directed networks with tunable heterogeneity using the negative binomial configuration model.
Simulates Kuramoto oscillators with transient and total time steps.
Supports varying either the coupling strength (K) or the average degree (avg_k) over a range of values.
Parallelized using OpenMP for faster computation of multiple independent realizations.
Command-line interface with default parameters and optional overrides.
Outputs matrices of order parameters for each experiment.
Files
File
Description
KuramotoDirectedNB.c
Main simulation code with parameter parsing and parallel execution.
nb_kuramoto.c / nb_kuramoto.h
Functions to generate the negative binomial configuration model and integrate Kuramoto's equations.
The program outputs a .dat file containing the results of all experiments for each parameter value. The first column corresponds to the varied parameter (avg_k or K), and the second column contains the corresponding order parameter. The data is organized in row-major order, with each row representing a single experiment for a specific parameter value.
File naming depends on which parameter is varied (K or avg_k).