diff options
author | Anthony LaTorre <tlatorre9@gmail.com> | 2011-09-12 16:41:17 -0400 |
---|---|---|
committer | Anthony LaTorre <tlatorre9@gmail.com> | 2011-09-12 16:41:17 -0400 |
commit | 6f0703602270d03f4025221f13fee21aa842a863 (patch) | |
tree | 2d227fbc236e647e3d6c96113f1d6b93a4113793 /event.py | |
parent | 4b5d9c633bd01ce8b2819d92eaf3e01d881fb996 (diff) | |
download | chroma-6f0703602270d03f4025221f13fee21aa842a863.tar.gz chroma-6f0703602270d03f4025221f13fee21aa842a863.tar.bz2 chroma-6f0703602270d03f4025221f13fee21aa842a863.zip |
add chroma-sim script. get rid of GPU class; contexts should now be created with create_cuda_context().
Diffstat (limited to 'event.py')
-rw-r--r-- | event.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,7 +1,7 @@ import numpy as np class Vertex(object): - def __init__(self, particle_name, pos, dir, pol, ke, t0=0.0): + def __init__(self, particle_name, pos, dir, ke, t0=0.0, pol=None): self.particle_name = particle_name self.pos = pos self.dir = dir |