Errorfractionmarker

Marks elements for refinement or coarsening based on the fraction of the min/max error from the supplied indicator.

Description

The ErrorFractionMarker utilizes the value from an Indicator as a measure of "error" on each element. Using this error approximation the following algorithm is applied:

ErrorFractionMarker example calculation.

  1. The elements are sorted by increasing error.

  2. The elements comprising the "refine" fraction, from highest error to lowest, of the total error are marked for refinement.

  3. The elements comprising the "coarsen" fraction, from lowest error to highest, of the total error are marked for refinement.

Example Input Syntax

[Adaptivity]
  [./Indicators]
    [./error]
      type = AnalyticalIndicator
      variable = u
      function = solution
    [../]
  [../]
  [./Markers]
    [./marker]
      type = ErrorFractionMarker
      coarsen = 0.1
      indicator = error
      refine = 0.3
    [../]
  [../]
[]
(test/tests/markers/error_fraction_marker/error_fraction_marker_test.i)

Input Parameters

  • indicatorThe name of the Indicator that this Marker uses.

    C++ Type:IndicatorName

    Options:

    Description:The name of the Indicator that this Marker uses.

Required Parameters

  • coarsen0Elements within this percentage of the min error will be coarsened. Must be between 0 and 1!

    Default:0

    C++ Type:double

    Options:

    Description:Elements within this percentage of the min error will be coarsened. Must be between 0 and 1!

  • clear_extremesTrueWhether or not to clear the extremes during each error calculation. Changing this to `false` will result in the global extremes ever encountered during the run to be used as the min and max error.

    Default:True

    C++ Type:bool

    Options:

    Description:Whether or not to clear the extremes during each error calculation. Changing this to `false` will result in the global extremes ever encountered during the run to be used as the min and max error.

  • refine0Elements within this percentage of the max error will be refined. Must be between 0 and 1!

    Default:0

    C++ Type:double

    Options:

    Description:Elements within this percentage of the max error will be refined. Must be between 0 and 1!

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

    C++ Type:std::vector

    Options:

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

Optional Parameters

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

    C++ Type:std::vector

    Options:

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

  • enableTrueSet the enabled status of the MooseObject.

    Default:True

    C++ Type:bool

    Options:

    Description:Set the enabled status of the MooseObject.

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

    C++ Type:std::vector

    Options:

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

Advanced Parameters

Input Files