62 virtual unsigned int getLayer(
const Point & p)
const;
InputParameters validParams()
This base class computes volume integrals of a variable storing partial sums for the specified number...
virtual void threadJoin(const UserObject &y)
const std::vector< Real > & getLayerCenters() const
Get the center coordinates for the layers (along given direction)
SubProblem & _layered_base_subproblem
Subproblem for the child object.
bool _has_direction_max_min
whether the max/min coordinate in the direction is known from user input
unsigned int _num_layers
Number of layers to split the mesh into.
bool layerHasValue(unsigned int layer) const
Whether or not a layer has a value.
virtual Real getLayerValue(unsigned int layer) const
Get the value for a given layer.
std::string _layered_base_name
Name of this object.
bool _interval_based
Whether or not this object is based on equally spaced intervals or "bounds".
unsigned int direction() const
Get direction of the layers.
bool _using_displaced_mesh
true if this object operates on the displaced mesh, otherwise false
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< SubdomainID > _layer_bounding_blocks
List of SubdomainIDs, if given.
std::vector< int > & _layer_has_value
Whether or not each layer has had any value summed into it.
void computeLayerCenters()
Compute the center points for each layer.
std::vector< Real > _layer_centers
center coordinates of each layer
unsigned int _sample_type
How to sample the values.
bool _cumulative
Whether the values are cumulative over the layers.
const bool _positive_cumulative_direction
Whether the cumulative values should be summed in the positive or negative direction.
virtual Real integralValue(const Point &p) const
Given a Point return the integral value associated with the layer that point falls in.
static InputParameters validParams()
const InputParameters & _layered_base_params
Params for this object.
MooseEnum _direction_enum
The MooseEnum direction the layers are going in.
unsigned int _direction
The component direction the layers are going in. We cache this for speed (so we're not always going t...
unsigned int _average_radius
How many layers both above and below the found layer will be used in the average.
std::vector< Real > _layer_bounds
The boundaries of the layers.
virtual void initialize()
std::vector< Real > & _layer_values
Value of the integral for each layer.
void getBounds()
Compute bounds, restricted to blocks if given.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
A class for creating restricted objects.
Generic class for solving transient nonlinear problems.
Base class for user-specific data.
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...