20#include "libmesh/threads.h"
21#include "libmesh/node.h"
22#include "libmesh/mesh_base.h"
44 const BndNode *
const bnode = *node_it;
45 const auto boundary_id = bnode->
_bnd_id;
46 const Node *
const node = bnode->
_node;
55 std::vector<NodalUserObject *> objs;
61 for (
const auto & uo : objs)
62 if (uo->checkVariableBoundaryIntegrity())
70 std::vector<AuxKernelBase *> auxkernels;
74 .condition<AttribThread>(
_tid)
76 .condition<AttribBoundaries>(boundary_id,
true)
77 .queryInto(auxkernels);
78 for (
const auto & aux : auxkernels)
81 if (!aux->requiresGeometricSearch() && aux->checkVariableBoundaryIntegrity())
@ Nodal
Execution categories.
void boundaryIntegrityCheckError(const MooseObject &object, const std::set< MooseVariableFieldBase * > &variables, const BoundaryName &boundary_name)
Compose boundary restricted error message for the provided object, variables, and boundary_name if th...
Tracks the AuxKernelType of an AuxKernel: its value type (Real/Vector/Array) and its execution catego...
AttribBoundaries tracks all boundary IDs associated with an object.
virtual void onNode(ConstBndNodeRange::const_iterator &node_it) override
void join(const BoundaryNodeIntegrityCheckThread &)
const TheWarehouse::Query & _query
A warehouse query that we will use to obtain user objects for boundary variable dependency integrity ...
BoundaryNodeIntegrityCheckThread(FEProblemBase &fe_problem, const TheWarehouse::Query &query)
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
virtual MooseMesh & mesh() override
TheWarehouse & theWarehouse() const
const std::string & getBoundaryName(const BoundaryID boundary_id) const
Return the name of the boundary given the id.
QueryCache is a convenient way to construct and pass around (possible partially constructed) warehous...
QueryCache & condition(Args &&... args)
Adds a new condition to the query.
QueryCache clone() const
clone creates and returns an independent copy of the query in its current state.
Query query()
query creates and returns an initialized a query object for querying objects from the warehouse.
FEProblemBase & _fe_problem
processor_id_type processor_id() const
const object_type * const_iterator
BoundaryID _bnd_id
boundary id for the node
libMesh::Node * _node
pointer to the node