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