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