diff options
| author | jacob1 <jfu614@gmail.com> | 2013-09-12 00:41:43 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-09-12 00:41:43 (GMT) |
| commit | 332aa25bf6aa938fe3217a7a6622bf5f4c2f3201 (patch) | |
| tree | 910075200d0eb324641f6df3e46b9a7cdd594756 /src/simulation/elements/PHOT.cpp | |
| parent | 09c54b596bfaa13ae5009bbe4d5e6a0131ba50d2 (diff) | |
| download | powder-332aa25bf6aa938fe3217a7a6622bf5f4c2f3201.zip powder-332aa25bf6aa938fe3217a7a6622bf5f4c2f3201.tar.gz | |
save pavg[] in saves, for VIRS, PIPE, and STOR
Diffstat (limited to 'src/simulation/elements/PHOT.cpp')
| -rw-r--r-- | src/simulation/elements/PHOT.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/simulation/elements/PHOT.cpp b/src/simulation/elements/PHOT.cpp index 4fe5bbe..3c94351 100644 --- a/src/simulation/elements/PHOT.cpp +++ b/src/simulation/elements/PHOT.cpp @@ -49,10 +49,8 @@ Element_PHOT::Element_PHOT() //#TPT-Directive ElementHeader Element_PHOT static int update(UPDATE_FUNC_ARGS) int Element_PHOT::update(UPDATE_FUNC_ARGS) { - int r, rt, rx, ry; + int r, rx, ry; float rr, rrr; - parts[i].pavg[0] = x; - parts[i].pavg[1] = y; if (!(parts[i].ctype&0x3FFFFFFF)) { sim->kill_part(i); return 1; |
