NEURON
balance.cpp File Reference
#include <algorithm>
#include <cstdio>
#include "coreneuron/network/tnode.hpp"
#include "coreneuron/utils/lpt.hpp"

Go to the source code of this file.

Namespaces

 neuron
 In mechanism libraries, cannot use auto const token = nrn_ensure_model_data_are_sorted(); because the return type is incomplete (from include/neuron/model_data.hpp).
 

Functions

bool neuron::warpcmp (const TNode *a, const TNode *b)
 
size_t neuron::warp_balance (size_t ncell, VecTNode &nodevec)
 Use of the LPT (Least Processing Time) algorithm to create balanced groups of cells. More...
 

Variables

int neuron::cellorder_nwarp = 0