I'm new in mathematica and I'm stucked on how I can get the volume of a solid created by the inequation:
(radFld[Grp, "Bx", {x, y, z}] - Btotal)/Btotal <= Value
where radFld is a function from the plug-in Radia and it does calculs given an x and z to find a magnetic field of the configuration of magnetics given by Grp. In other words: radFld[Grp, "Bx", {x, y, z}] - Btotal)/Btotal = f(x,y,z)
Also, "vmax" is a constant.
To get the volume, I tried this:
Integrate[Boole[(radFld[Grp, "Bx", {x, y, z}] - Btotal)/Btotal <= vmax], {x, -3, 3}, {y, -3, 3}, {z, -10, 10}]
but my results seems not to be correct, as it goes from 0 to 540 and does not assume any other value between this range, whatever is "vmax".
Also, I tried this to make sure the region has been modified with "vmax":
RegionPlot3D[(radFld[Grp, "Bx", {x, y, z}] - Btotal)/Btotal] <= vmax , {x, -3, 3}, {y, -3, 3}, {z, -10, 10}]
and I got different regions for different "vmax".
Is there any other suggestion to get the volume or of what I am doing wrong?
Thanks in advance

(radFld[Grp, "Bx", {x, y, z}] - Btotal)/Btotal <= Value) should be helpful for others to understand what happens here. – Silvia Jan 30 at 11:18NIntegrate? – Michael E2 Jan 30 at 13:47radFld, it would be good to provide at least a minimal example function that shows the problem. – Jens Mar 23 at 16:41