ReporterPointMarker

Marks the region inside or empty if it contains a reporter defined point for refinement or coarsening.

Description

The ReporterPointMarker is a stand-alone marker that marks all elements as either "inside" or "outside" based on whether or not the element contains a point defined by a vector of coordinates given in a Reporter.

Example Input Syntax

The mesh domain in the following input file is a 2D square with and . The marker labeled "box" gets valid coordinates from the vector coords in the ConstantReporter. For this 2D domain, only points with coord/z=0 vector entries will be found inside the domain. The final reporter vector entry with coord/z=1 will produce a point outside the domain and will be ignored. Elements containing a point them are marked with the "REFINE" flag and empty elements are marked "DO_NOTHING". Alternatively, empty elements could be marked with the "COARSEN" flag to coarsen the mesh if points move out of an element.

In the ReporterPointMarker labeled bad_coord, the reporter vectors containing coordinates are a different size, triggering an error.

[Adaptivity]
  [Markers]
    active = 'box'
    [box]
      type = ReporterPointMarker
      x_coord_name = coords/x
      y_coord_name = coords/y
      z_coord_name = coords/z
      inside = refine
      empty = do_nothing
    []
    [bad_coord]
      type = ReporterPointMarker
      x_coord_name = bad_coords/x
      y_coord_name = bad_coords/y
      z_coord_name = bad_coords/z
      inside = refine
      empty = do_nothing
    []
  []
[]
(moose/test/tests/markers/reporter_point_marker/point_marker_test.i)

Input Parameters

  • emptyHow to mark elements not containing a point

    C++ Type:MooseEnum

    Unit:(no unit assumed)

    Options:DONT_MARK, COARSEN, DO_NOTHING, REFINE

    Controllable:No

    Description:How to mark elements not containing a point

  • insideHow to mark elements containing a point

    C++ Type:MooseEnum

    Unit:(no unit assumed)

    Options:DONT_MARK, COARSEN, DO_NOTHING, REFINE

    Controllable:No

    Description:How to mark elements containing a point

  • x_coord_namereporter x-coordinate name

    C++ Type:ReporterName

    Unit:(no unit assumed)

    Controllable:No

    Description:reporter x-coordinate name

  • y_coord_namereporter y-coordinate name

    C++ Type:ReporterName

    Unit:(no unit assumed)

    Controllable:No

    Description:reporter y-coordinate name

  • z_coord_namereporter z-coordinate name

    C++ Type:ReporterName

    Unit:(no unit assumed)

    Controllable:No

    Description:reporter z-coordinate name

Required Parameters

  • blockThe list of blocks (ids or names) that this object will be applied

    C++ Type:std::vector<SubdomainName>

    Unit:(no unit assumed)

    Controllable:No

    Description:The list of blocks (ids or names) that this object will be applied

Optional Parameters

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

    C++ Type:std::vector<std::string>

    Unit:(no unit assumed)

    Controllable:No

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

  • enableTrueSet the enabled status of the MooseObject.

    Default:True

    C++ Type:bool

    Unit:(no unit assumed)

    Controllable:No

    Description:Set the enabled status of the MooseObject.

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

    C++ Type:std::vector<OutputName>

    Unit:(no unit assumed)

    Controllable:No

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

Advanced Parameters