16#include "libmesh/enum_order.h"
45 const BoundaryName & secondary,
48 const BoundaryName & secondary,
52 const BoundaryName & secondary);
57 const BoundaryName & secondary);
125 bool reiniting =
false);
boundary_id_type BoundaryID
This is the ElementPairLocator class.
void reinit()
Completely redo all geometric search objects.
NearestNodeLocator & getNearestNodeLocator(const BoundaryName &primary, const BoundaryName &secondary)
GeometricSearchType
Used to select groups of geometric search objects to update.
void addElementPairLocator(BoundaryID interface_id, std::shared_ptr< ElementPairLocator > epl)
bool _first
Denotes whether this is the first time the geometric search objects have been updated.
void reinitQuadratureNodes(const BoundaryID secondary_id)
Completely redo quadrature nodes.
std::map< std::pair< BoundaryID, BoundaryID >, NearestNodeLocator * > _nearest_node_locators
void clearNearestNodeLocators()
Clear out the Penetration Locators so they will redo the search.
const std::map< std::pair< BoundaryID, BoundaryID >, PenetrationLocator * > & getPenetrationLocators() const
std::map< BoundaryID, std::shared_ptr< ElementPairLocator > > _element_pair_locators
std::set< BoundaryID > _quadrature_boundaries
These are real boundaries that have quadrature nodes on them.
void updateGhostedElems()
Updates the list of ghosted elements at the start of each time step for the nonlinear iteration patch...
std::map< std::pair< BoundaryID, BoundaryID >, PenetrationLocator * > _penetration_locators
bool _search_using_point_locator
Denotes whether the PenetrationLocator objects should use a point locator rather than cheaper node-to...
NearestNodeLocator & getQuadratureNearestNodeLocator(const BoundaryName &primary, const BoundaryName &secondary)
void updateQuadratureNodes(const BoundaryID secondary_id)
Update the positions of the quadrature nodes.
void update(GeometricSearchType type=ALL)
Update all of the search objects.
virtual ~GeometricSearchData()
PenetrationLocator & getPenetrationLocator(const BoundaryName &primary, const BoundaryName &secondary, libMesh::Order order=libMesh::FIRST)
std::map< BoundaryID, BoundaryID > _secondary_to_qsecondary
A mapping of the real boundary id to the secondary boundary ids.
Real maxPatchPercentage()
Maximum percentage through the search patch that any NearestNodeLocator had to look.
void generateQuadratureNodes(const BoundaryID secondary_id, const BoundaryID qsecondary_id, bool reiniting=false)
Add Quadrature Nodes to the Mesh in support of Quadrature based penetration location and nearest node...
void setSearchUsingPointLocator(bool state)
PenetrationLocator & getQuadraturePenetrationLocator(const BoundaryName &primary, const BoundaryName &secondary, libMesh::Order order=libMesh::FIRST)
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
Finds the nearest node to each node in boundary1 to each node in boundary2 and the other way around.
Generic class for solving transient nonlinear problems.