# Layered Integral Layered 1D

Computes the volume integral of the layers in a layered 1D mesh.

## Description

LayeredIntegralLayered1D calculates the volumetric integral for the layers in a layered 1D mesh. The volume integral uses the constant slice_height, defined for each layer in the layered 1D mesh, in the calculation of the volume integral.

## Example Input Syntax


[./temperature_sum]
type = LayeredIntegralLayered1D
variable = temp
execute_on = timestep_end
direction = y
num_layers = 2
fuel_pin_geometry = pin_geometry
[../]
(test/tests/layered_1D/layered_integral.i)

## Input Parameters

• variableThe name of the variable that this object operates on

C++ Type:std::vector

Description:The name of the variable that this object operates on

• directionThe direction of the layers.

C++ Type:MooseEnum

Description:The direction of the layers.

• fuel_pin_geometryName of Layered1DFuelPinGeometry UserObject

C++ Type:UserObjectName

Description:Name of Layered1DFuelPinGeometry UserObject

### Required Parameters

• cumulativeFalseWhen true the value in each layer is the sum of the values up to and including that layer

Default:False

C++ Type:bool

Description:When true the value in each layer is the sum of the values up to and including that layer

• boundsThe 'bounding' positions of the layers i.e.: '0, 1.2, 3.7, 4.2' will mean 3 layers between those positions.

C++ Type:std::vector

Description:The 'bounding' positions of the layers i.e.: '0, 1.2, 3.7, 4.2' will mean 3 layers between those positions.

• sample_typedirectHow to sample the layers. 'direct' means get the value of the layer the point falls in directly (or average if that layer has no value). 'interpolate' does a linear interpolation between the two closest layers. 'average' averages the two closest layers.

Default:direct

C++ Type:MooseEnum

Description:How to sample the layers. 'direct' means get the value of the layer the point falls in directly (or average if that layer has no value). 'interpolate' does a linear interpolation between the two closest layers. 'average' averages the two closest layers.

• average_radius1When using 'average' sampling this is how the number of values both above and below the layer that will be averaged.

Default:1

C++ Type:unsigned int

Description:When using 'average' sampling this is how the number of values both above and below the layer that will be averaged.

• num_layersThe number of layers.

C++ Type:unsigned int

Description:The number of layers.

• execute_onTIMESTEP_ENDThe list of flag(s) indicating when this object should be executed, the available options include NONE, INITIAL, LINEAR, NONLINEAR, TIMESTEP_END, TIMESTEP_BEGIN, FINAL, CUSTOM.

Default:TIMESTEP_END

C++ Type:ExecFlagEnum

Description:The list of flag(s) indicating when this object should be executed, the available options include NONE, INITIAL, LINEAR, NONLINEAR, TIMESTEP_END, TIMESTEP_BEGIN, FINAL, CUSTOM.

• blockThe list of block ids (SubdomainID) that this object will be applied

C++ Type:std::vector

Description:The list of block ids (SubdomainID) that this object will be applied

### Optional Parameters

• enableTrueSet the enabled status of the MooseObject.

Default:True

C++ Type:bool

Description:Set the enabled status of the MooseObject.

• use_displaced_meshFalseWhether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.

Default:False

C++ Type:bool

Description:Whether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.

• control_tagsAdds user-defined labels for accessing object parameters via control logic.

C++ Type:std::vector

Description:Adds user-defined labels for accessing object parameters via control logic.

• allow_duplicate_execution_on_initialFalseIn the case where this UserObject is depended upon by an initial condition, allow it to be executed twice during the initial setup (once before the IC and again after mesh adaptivity (if applicable).

Default:False

C++ Type:bool

Description:In the case where this UserObject is depended upon by an initial condition, allow it to be executed twice during the initial setup (once before the IC and again after mesh adaptivity (if applicable).

• seed0The seed for the master random number generator

Default:0

C++ Type:unsigned int

Description:The seed for the master random number generator

• implicitTrueDetermines whether this object is calculated using an implicit or explicit form

Default:True

C++ Type:bool

Description:Determines whether this object is calculated using an implicit or explicit form