59 const std::vector<Point>
62 std::vector<Point> points;
66 Point pt(0.0, 0.0, 0.0);
FunctionLayeredIntegral(const InputParameters ¶meters)
virtual void threadJoin(const UserObject &y) override
virtual Real computeIntegral()
static InputParameters validParams()
std::vector< Real > _layer_centers
center coordinates of each layer
virtual void initialize() override
virtual void threadJoin(const UserObject &y)
unsigned int _direction
The component direction the layers are going in. We cache this for speed (so we're not always going t...
virtual const std::vector< Point > spatialPoints() const override
Optional interface function for providing the points at which a UserObject attains spatial values...
virtual void finalize() override
virtual Real getLayerValue(unsigned int layer) const
Get the value for a given layer.
void setLayerValue(unsigned int layer, Real value)
Set the value for a particular layer.
virtual unsigned int getLayer(const Point &p) const
Helper function to return the layer the point lies in.
virtual void initialize()
This user object computes a volume integral of a specified function.
registerMooseObject("MooseApp", FunctionLayeredIntegral)
This UserObject computes volume integrals of a function storing partial sums for the specified number...
virtual void execute() override
Execute method.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Elem *const & _current_elem
The current element pointer (available during execute())
This base class computes volume integrals of a variable storing partial sums for the specified number...
Base class for creating a user object with the SpatialUserObject and Moose::Functor APIs...
static InputParameters validParams()
static InputParameters validParams()
Base class for user-specific data.