#include "AnT.hpp"

#define alpha parameters[0]
#define X     currentState[0]

bool logistic (const Array<real_t>& currentState,
	       const Array<real_t>& parameters,
	       Array<real_t>& rhs)
{
  rhs[0] = alpha * X * (1 - X);

  return true;
}

#undef alpha
#undef X

extern "C" {
  void connectSystem () {
    MapProxy::systemFunction = logistic;
  } 
}

