# RectangleCutUserObject

Creates a UserObject for planar cuts on 3D meshes for XFEM

The RectangleCutUserObject defines the boundary of a rectangular cut for XFEM to make on a 3 dimensional mesh. The cut_data parameter is a vector of length twelve that defines the x, y , and z Real values of the four vertices that form the rectangular cut. The object calculates the midpoint of the rectangular cut and normal, and includes logic to determine if a given point is located within the cut plane.

## Example Input Syntax

[UserObjects]
[./square_cut_uo]
type = RectangleCutUserObject
cut_data = ' -0.001 0.5 -0.001
0.401 0.5 -0.001
0.401 0.5  0.201
-0.001 0.5  0.201'
[../]
[]

(modules/xfem/test/tests/solid_mechanics_basic/edge_crack_3d.i)

## Input Parameters

• cut_dataVector of Real values providing cut information

C++ Type:std::vector

Options:

Description:Vector of Real values providing cut information

### Required Parameters

• heal_alwaysFalseHeal previous cuts at every time step

Default:False

C++ Type:bool

Options:

Description:Heal previous cuts at every time step

• 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

• enableTrueSet the enabled status of the MooseObject.

Default:True

C++ Type:bool

Options:

Description:Set the enabled status of the MooseObject.

• 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

Options:

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

• 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

Options:

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

Options:

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

• seed0The seed for the master random number generator

Default:0

C++ Type:unsigned int

Options:

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

Options:

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