Re: code structure advise for a model

2011-02-05 Thread Martin De Kauwe
On Feb 4, 8:41 pm, Marco Nawijn wrote: > On Feb 4, 3:43 am, Martin De Kauwe wrote: > > > > > > > Hi, > > > I am translating some c++ code to python and just wanted to ask some > > advise on structure. The original has everything declared globally and > > nothing passed via function (I assume, but

Re: code structure advise for a model

2011-02-04 Thread Peter Otten
Martin De Kauwe wrote: > I am translating some c++ code to python and just wanted to ask some > advise on structure. The original has everything declared globally and > nothing passed via function (I assume, but don't know, that this isn't > just standard c++ practice!). So given this, I have a pr

Re: code structure advise for a model

2011-02-04 Thread Marco Nawijn
On Feb 4, 3:43 am, Martin De Kauwe wrote: > Hi, > > I am translating some c++ code to python and just wanted to ask some > advise on structure. The original has everything declared globally and > nothing passed via function (I assume, but don't know, that this isn't > just standard c++ practice!).

code structure advise for a model

2011-02-03 Thread Martin De Kauwe
Hi, I am translating some c++ code to python and just wanted to ask some advise on structure. The original has everything declared globally and nothing passed via function (I assume, but don't know, that this isn't just standard c++ practice!). So given this, I have a pretty much clean slate as I