# ValueRangeMarker

Mark elements for adaptivity based on the supplied upper and lower bounds and the specified variable.

Description

The ValueRangeMarker utilizes an Indicator as en estimate of error. Elements with error estimates inside and outside of an allowable range can then be marked for coarsening or refinement.

By default values inside the range are marked for refinement, but this may be reversed using the "invert" parameter.

Additionally, a third state buffer region exists outside of the define range bounds. Elements in this region may be marked to a different state. Typically, this buffer region is used to define a region of elements that are marked with "DO_NOTHING" to avoid having elements marked for refinement directly adjacent to elements marked for refinement.

Example Input Syntax


[Adaptivity]
  [./Markers]
    [./marker]
      type = ValueRangeMarker
      lower_bound = 0.3
      upper_bound = 0.6
      buffer_size = 0.1
      variable = u
      third_state = DO_NOTHING
    [../]
    [./inverted_marker]
      type = ValueRangeMarker
      invert = true
      lower_bound = 0.3
      upper_bound = 0.6
      buffer_size = 0.1
      variable = u
      third_state = DO_NOTHING
    [../]
  [../]
[]
(../moose/test/tests/markers/value_range_marker/value_range_marker_test.i)

Input Parameters

  • variableThe variable whose values are used in this marker.

    C++ Type:std::vector

    Description:The variable whose values are used in this marker.

  • lower_boundThe lower bound value for the range.

    C++ Type:double

    Description:The lower bound value for the range.

  • upper_boundThe upper bound value for the range.

    C++ Type:double

    Description:The upper bound value for the range.

Required Parameters

  • buffer_size0A buffer zone value added to both ends of the range where a third_state marker can be returned.

    Default:0

    C++ Type:double

    Description:A buffer zone value added to both ends of the range where a third_state marker can be returned.

  • invertFalseIf this is true then values inside the range will be coarsened, and values outside the range will be refined.

    Default:False

    C++ Type:bool

    Description:If this is true then values inside the range will be coarsened, and values outside the range will be refined.

  • third_stateDONT_MARKThe Marker state to apply to values in the buffer zone (both ends of the range).

    Default:DONT_MARK

    C++ Type:MooseEnum

    Description:The Marker state to apply to values in the buffer zone (both ends of the range).

  • 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

  • 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.

  • enableTrueSet the enabled status of the MooseObject.

    Default:True

    C++ Type:bool

    Description:Set the enabled status of the MooseObject.

  • outputsVector of output names were you would like to restrict the output of variables(s) associated with this object

    C++ Type:std::vector

    Description:Vector of output names were you would like to restrict the output of variables(s) associated with this object

Advanced Parameters