diff options
| author | jacob1 <jfu614@gmail.com> | 2013-09-14 02:02:03 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-09-14 02:02:03 (GMT) |
| commit | ae8e5e5c343d033914515d72c44ad511b0aca2a3 (patch) | |
| tree | 773508fe58102f43cd2d9b83d24638487e3004c0 /src/simulation/elements/NEUT.cpp | |
| parent | 830bb3ba5e37f547f836a9c793f6084b305a4bfb (diff) | |
| download | powder-ae8e5e5c343d033914515d72c44ad511b0aca2a3.zip powder-ae8e5e5c343d033914515d72c44ad511b0aca2a3.tar.gz | |
PROT+DEUT causes DEUT implosion (same as with NEUT, just negative pressure)
Also PHOT+H2 now also make PROT+ELEC (which will not combine to make more H2)
Diffstat (limited to 'src/simulation/elements/NEUT.cpp')
| -rw-r--r-- | src/simulation/elements/NEUT.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/simulation/elements/NEUT.cpp b/src/simulation/elements/NEUT.cpp index 9e47e7e..d61466c 100644 --- a/src/simulation/elements/NEUT.cpp +++ b/src/simulation/elements/NEUT.cpp @@ -49,7 +49,7 @@ Element_NEUT::Element_NEUT() //#TPT-Directive ElementHeader Element_NEUT static int update(UPDATE_FUNC_ARGS) int Element_NEUT::update(UPDATE_FUNC_ARGS) { - int r, rx, ry, rt; + int r, rx, ry; int pressureFactor = 3 + (int)sim->pv[y/CELL][x/CELL]; for (rx=-1; rx<2; rx++) for (ry=-1; ry<2; ry++) @@ -209,5 +209,4 @@ int Element_NEUT::DeutExplosion(Simulation * sim, int n, int x, int y, float tem return 0; } - Element_NEUT::~Element_NEUT() {} |
