On 14.06.2005, at 18:58, harold fellermann wrote:
> Am I stupid or what?
Yes I was ...
> // PhysicsDPD instance structure
> typedef struct {
>PyObject_HEAD
>double cutoff;
>double friction;
>double noise;
>double dt;
> } hyper_PhysicsDPD;
>
>
> //
Am I stupid or what?
I want to implement a very simple extension class in C (as I did
it many times before...) The python equivalent of my class whould
look like:
class physics_DPD :
def __init__(self,cutoff,friction,noise,dt) :
self.cutoff = cutoff
self.fr