18#include "libmesh/numeric_vector.h"
28 "corner_boundary",
"Node set ID which contains the nodes that are in 'corners'.");
34 _aux(_fe_problem.getAuxiliarySystem()),
35 _corner_boundary_id(_mesh.getBoundaryID(getParam<BoundaryName>(
"corner_boundary")))
46 BoundaryInfo & boundary_info =
_mesh.
getMesh().get_boundary_info();
60 dof_id_type dof_x = node->dof_number(
_aux.
number(),
68 dof_id_type dof_y = node->dof_number(
_aux.
number(),
76 dof_id_type dof_z = node->dof_number(
_aux.
number(),
registerMooseObject("MooseApp", NodalNormalsCorner)
virtual const MooseVariableFieldBase & getVariable(const THREAD_ID tid, const std::string &var_name, Moose::VarKindType expected_var_type=Moose::VarKindType::VAR_ANY, Moose::VarFieldType expected_var_field_type=Moose::VarFieldType::VAR_FIELD_ANY) const override
Returns the variable reference for requested variable which must be of the expected_var_type (Nonline...
MeshBase & getMesh()
Accessor for the underlying libMesh Mesh object.
unsigned int number() const
Get variable number coming from libMesh.
static InputParameters validParams()
virtual void finalize() override
Finalize.
BoundaryID _corner_boundary_id
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
virtual void execute() override
Execute method.
NodalNormalsCorner(const InputParameters ¶meters)
static std::mutex _nodal_normals_mutex
Base class for user objects executed one or more sidesets, which may be on the outer boundary of the ...
static InputParameters validParams()
const Elem *const & _current_side_elem
const MooseArray< Point > & _normals
unsigned int number() const
Gets the number of this system.
NumericVector< Number > & solution()
FEProblemBase & _fe_problem
Reference to the FEProblemBase for this user object.
const THREAD_ID _tid
Thread ID of this postprocessor.