# ValueThresholdMarker

The the refinement state based on a threshold value compared to the specified variable.

Description

The ValueThresholdMarker requires an estimate of error be provided from an Indicator. Using this indicator an element is marked for refinement or coarsening if the element error value above or below the coarsening and refinement thresholds.

By default elements with error greater than the threshold defined in the "refine" parameter will be marked for refinement. Element with error less than the threshold defined in the "coarsen" parameters will be marked for coarsening. This behavior can be inverted using the "invert" parameter.

Additionally, a third buffer region can be defined. 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 = ValueThresholdMarker
      coarsen = 0.3
      variable = u
      refine = 0.7
    [../]
    [./inverted_marker]
      type = ValueThresholdMarker
      invert = true
      coarsen = 0.7
      refine = 0.3
      variable = u
      third_state = DO_NOTHING
    [../]
  [../]
[]
(../moose/test/tests/markers/value_threshold_marker/value_threshold_marker_test.i)

Input Parameters

  • variableThe values of this variable will be compared to 'refine' and 'coarsen' to see what should be done with the element

    C++ Type:std::vector

    Description:The values of this variable will be compared to 'refine' and 'coarsen' to see what should be done with the element

Required Parameters

  • coarsenThe threshold value for coarsening. Elements with variable values beyond this will be marked for coarsening.

    C++ Type:double

    Description:The threshold value for coarsening. Elements with variable values beyond this will be marked for coarsening.

  • invertFalseIf this is true then values _below_ 'refine' will be refined and _above_ 'coarsen' will be coarsened.

    Default:False

    C++ Type:bool

    Description:If this is true then values _below_ 'refine' will be refined and _above_ 'coarsen' will be coarsened.

  • refineThe threshold value for refinement. Elements with variable values beyond this will be marked for refinement.

    C++ Type:double

    Description:The threshold value for refinement. Elements with variable values beyond this will be marked for refinement.

  • 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

  • third_stateDONT_MARKThe Marker state to apply to values falling in-between the coarsen and refine thresholds.

    Default:DONT_MARK

    C++ Type:MooseEnum

    Description:The Marker state to apply to values falling in-between the coarsen and refine thresholds.

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