ComputationalRadiationPhysics / isaac

In Situ Animation of Accelerated Computations :microscope:
http://ComputationalRadiationPhysics.github.io/isaac/
GNU Lesser General Public License v3.0
25 stars 15 forks source link

sum method in functor chain creates too large values #153

Open PrometheusPi opened 2 years ago

PrometheusPi commented 2 years ago

Using the ISAAC dev and vector field visualization of the E_y component results in extremely high numbers which can not be dealt with in the functor chain:
grafik

PrometheusPi commented 2 years ago

Please be aware that min/max values are reversed - might be an overflow issue.

sbastrakov commented 2 years ago

Likely, the numbers seem to be max finite float value

PrometheusPi commented 2 years ago

Might be a division by zero if we chose a single component of the vector fields in the functor chain. \vec{E} -> mul(0, 0.001, 0) | sum = E_y * 0.001 Since perhaps the same functor chain is used to extract the orientation of the line integral convolution (LIC).

PrometheusPi commented 2 years ago

I could create the same problem of really large numbers using the glowing gas pipeline - the error seems to originate from the sum method.