19 "Compute the area or volume of the region inside or outside of a level set contour.");
21 "threshold", 0.0,
"The level set threshold to consider for computing area/volume.");
23 MooseEnum loc(
"inside=0 outside=1",
"inside");
24 params.
addParam<
MooseEnum>(
"location", loc,
"The location of the area/volume to be computed.");
30 _threshold(getParam<
Real>(
"threshold")),
31 _inside(getParam<
MooseEnum>(
"location") ==
"inside")
virtual Real getValue() const override
Real _volume
The accumulated volume to return as a PostprocessorValue.
const std::vector< double > y
static InputParameters validParams()
const Real & _current_elem_volume
const bool _inside
Flag for triggering the internal volume calculation.
const Real & _threshold
The level set contour to consider for computing inside vs. outside of the volume. ...
static InputParameters validParams()
Postprocessor to compute the area/volume inside and outside of a level set contour.
virtual void threadJoin(const UserObject &y) override
virtual void execute() override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual void initialize() override
LevelSetVolume(const InputParameters ¶meters)
virtual void finalize() override
registerMooseObject("LevelSetApp", LevelSetVolume)