pecos / tps

Torch Plasma Simulator
BSD 3-Clause "New" or "Revised" License
8 stars 2 forks source link

Bug updating primitives #17

Closed marc-85 closed 3 years ago

marc-85 commented 3 years ago

There was a bug in the pressure computation in updatePrimitives_gpu() in file rhs_operator.cpp.

In order to remove possible precision order uncertainties, data from the runfile is now read to double precision.

trevilo commented 3 years ago

Good catch.