- first_source_vecVector coeff (3D). A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a numeric vector value (enclosed in curly braces).
C++ Type:MFEMVectorCoefficientName
Controllable:No
Description:Vector coeff (3D). A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a numeric vector value (enclosed in curly braces).
- second_source_vecVector coeff (3D). A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a numeric vector value (enclosed in curly braces).
C++ Type:MFEMVectorCoefficientName
Controllable:No
Description:Vector coeff (3D). A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a numeric vector value (enclosed in curly braces).
- variableThe name of the variable that this object applies to
C++ Type:AuxVariableName
Unit:(no unit assumed)
Controllable:No
Description:The name of the variable that this object applies to
MFEMCrossProductAux
Overview
AuxKernel for calculating the cross product of two vector fields and projecting the result onto an MFEM auxiliary variable in an L2 vector finite element space.
where and are the two vector fields and is an optional scaling coefficient.
Example Input File Syntax
[AuxKernels<<<{"href": "../../../syntax/AuxKernels/index.html"}>>>]
[cross]
type = MFEMCrossProductAux<<<{"description": "Projects $s \\vec u \\times \\vec v$ onto a vector MFEM auxvariable", "href": "MFEMCrossProductAux.html"}>>>
variable<<<{"description": "The name of the variable that this object applies to"}>>> = lorentz_force
first_source_vec<<<{"description": "Vector coeff (3D). A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a numeric vector value (enclosed in curly braces)."}>>> = e_field
second_source_vec<<<{"description": "Vector coeff (3D). A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a numeric vector value (enclosed in curly braces)."}>>> = b_field
execute_on<<<{"description": "The list of flag(s) indicating when this object should be executed. For a description of each flag, see https://mooseframework.inl.gov/source/interfaces/SetupInterface.html."}>>> = TIMESTEP_END
[]
[](test/tests/mfem/auxkernels/crossproduct.i)Input Parameters
- coefficient1.Name of scalar coefficient s to scale the cross product by. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number.
Default:1.
C++ Type:MFEMScalarCoefficientName
Controllable:No
Description:Name of scalar coefficient s to scale the cross product by. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number.
- execute_onTIMESTEP_ENDThe list of flag(s) indicating when this object should be executed. For a description of each flag, see https://mooseframework.inl.gov/source/interfaces/SetupInterface.html.
Default:TIMESTEP_END
C++ Type:ExecFlagEnum
Controllable:No
Description:The list of flag(s) indicating when this object should be executed. For a description of each flag, see https://mooseframework.inl.gov/source/interfaces/SetupInterface.html.
Optional Parameters
- control_tagsAdds user-defined labels for accessing object parameters via control logic.
C++ Type:std::vector<std::string>
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
Controllable:No
Description:Set the enabled status of the MooseObject.