ne_net_getCompartment

NCompartment *sbne::ne_net_getCompartment(Network *net, const unsigned int &index)

Gets the indexth NCompartment object of this Network object.

Parameters:
  • net – a pointer to the Network object.

  • index – the index of the NCompartment object to return.

Returns:

a pointer to the indexth NCompartment object of this Network object.