https://mooseframework.inl.gov
Public Member Functions | Protected Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
MortarInterfaceWarehouse Class Reference

#include <MortarInterfaceWarehouse.h>

Inheritance diagram for MortarInterfaceWarehouse:
[legend]

Public Member Functions

 MortarInterfaceWarehouse (const libMesh::ParallelObject &other)
 
void createMortarInterface (const std::pair< BoundaryID, BoundaryID > &boundary_key, const std::pair< SubdomainID, SubdomainID > &subdomain_key, SubProblem &subproblem, bool on_displaced, bool periodic, const bool debug, const bool correct_edge_dropping, const Real minimum_projection_angle)
 Create mortar generation object. More...
 
const AutomaticMortarGenerationgetMortarInterface (const std::pair< BoundaryID, BoundaryID > &boundary_key, const std::pair< SubdomainID, SubdomainID > &, bool on_displaced) const
 Getter to retrieve the AutomaticMortarGeneration object corresponding to the boundary and subdomain keys. More...
 
AutomaticMortarGenerationgetMortarInterface (const std::pair< BoundaryID, BoundaryID > &boundary_key, const std::pair< SubdomainID, SubdomainID > &, bool on_displaced)
 Non-const getter to retrieve the AutomaticMortarGeneration object corresponding to the boundary and subdomain keys. More...
 
const std::unordered_map< std::pair< BoundaryID, BoundaryID >, std::unique_ptr< AutomaticMortarGeneration > > & getMortarInterfaces (bool on_displaced) const
 Return all automatic mortar generation objects on either the displaced or undisplaced mesh. More...
 
const std::set< SubdomainID > & getMortarSubdomainIDs () const
 Returns the mortar covered subdomains. More...
 
const std::set< BoundaryID > & getMortarBoundaryIDs () const
 Returns the mortar covered boundaries. More...
 
void update ()
 Builds mortar segment meshes for each mortar interface. More...
 
bool hasDisplacedObjects () const
 Returns whether any of the AutomaticMortarGeneration objects are running on a displaced mesh. More...
 
bool hasObjects () const
 Returns whether we have any active AutomaticMortarGeneration objects. More...
 
const std::set< SubdomainID > & getHigherDimSubdomainIDs (SubdomainID lower_d_subdomain_id) const
 Returns the higher dimensional subdomain ids of the interior parents of the given lower-d subdomain id. More...
 
void notifyWhenMortarSetup (MortarExecutorInterface *mei)
 Adds mei to the container of objects that will have their mortarSetup method called as soon as the mortar mesh has been generated for the first time More...
 
void dontNotifyWhenMortarSetup (MortarExecutorInterface *mei)
 Removes mei from the container of objects that will have their mortarSetup method called as soon as the mortar mesh has been generated for the first time More...
 
bool initialized () const
 
const Parallel::Communicatorcomm () const
 
processor_id_type n_processors () const
 
processor_id_type processor_id () const
 

Protected Attributes

const Parallel::Communicator_communicator
 

Private Types

typedef std::pair< BoundaryID, BoundaryIDMortarKey
 

Private Member Functions

void update (AutomaticMortarGeneration &amg)
 Builds mortar segment mesh from specific AutomaticMortarGeneration object. More...
 

Private Attributes

std::unordered_map< MortarKey, std::unique_ptr< AutomaticMortarGeneration > > _mortar_interfaces
 Map from primary-secondary (in that order) boundary ID pair to the corresponding undisplaced AutomaticMortarGeneration object. More...
 
std::unordered_map< MortarKey, std::unique_ptr< AutomaticMortarGeneration > > _displaced_mortar_interfaces
 Map from primary-secondary (in that order) boundary ID pair to the corresponding displaced AutomaticMortarGeneration object. More...
 
std::set< SubdomainID_mortar_subdomain_coverage
 A set containing the subdomain ids covered by all the mortar interfaces in this MortarInterfaceWarehouse object. More...
 
std::set< BoundaryID_mortar_boundary_coverage
 A set containing the boundary ids covered by all the mortar interfaces in this MortarInterfaceWarehouse object. More...
 
std::unordered_map< MortarKey, bool > _periodic_map
 Map from undisplaced AMG key to whether the undisplaced AMG object is enforcing periodic constraints. More...
 
std::unordered_map< MortarKey, bool > _displaced_periodic_map
 Map from displaced AMG key to whether the displaced AMG object is enforcing periodic constraints. More...
 
std::unordered_map< MortarKey, bool > _debug_flag_map
 Map from undisplaced AMG key to whether the undisplaced AMG object is to output mortar segment mesh. More...
 
std::unordered_map< MortarKey, bool > _displaced_debug_flag_map
 Map from displaced AMG key to whether the displaced AMG object is to output mortar segment mesh. More...
 
std::unordered_map< SubdomainID, std::set< SubdomainID > > _lower_d_sub_to_higher_d_subs
 Map from lower dimensional subdomain ids to corresponding higher simensional subdomain ids (e.g. More...
 
std::set< MortarExecutorInterface * > _mei_objs
 A container of objects for whom the mortarSetup method will be called after the mortar mesh has been setup for the first time. More...
 
bool _mortar_initd
 Whether we have performed any mortar mesh construction. More...
 

Detailed Description

Definition at line 24 of file MortarInterfaceWarehouse.h.

Member Typedef Documentation

◆ MortarKey

Definition at line 137 of file MortarInterfaceWarehouse.h.

Constructor & Destructor Documentation

◆ MortarInterfaceWarehouse()

MortarInterfaceWarehouse::MortarInterfaceWarehouse ( const libMesh::ParallelObject other)

Definition at line 17 of file MortarInterfaceWarehouse.C.

18  : libMesh::ParallelObject(other), _mortar_initd(false)
19 {
20 }
bool _mortar_initd
Whether we have performed any mortar mesh construction.

Member Function Documentation

◆ createMortarInterface()

void MortarInterfaceWarehouse::createMortarInterface ( const std::pair< BoundaryID, BoundaryID > &  boundary_key,
const std::pair< SubdomainID, SubdomainID > &  subdomain_key,
SubProblem subproblem,
bool  on_displaced,
bool  periodic,
const bool  debug,
const bool  correct_edge_dropping,
const Real  minimum_projection_angle 
)

Create mortar generation object.

Parameters
boundary_keyThe primary-secondary boundary pair on which the AMG objects lives
subdomain_keyThe primary-secondary subdomain pair on which the AMG objects lives
subproblemA reference to the subproblem
on_displacedWhether the AMG object lives on the displaced mesh
periodicWhether the AMG object will be used for enforcing periodic constraints. Note that this changes the direction of the projection normals so one AMG object cannot be used to enforce both periodic and non-periodic constraints
debugwhether to output mortar segment mesh exodus file for debugging purposes
correct_edge_droppingedge dropping treatment selection
minimum_projection_angleminimum projection angle allowed for building mortar segment mesh

Definition at line 23 of file MortarInterfaceWarehouse.C.

32 {
33  _mortar_subdomain_coverage.insert(subdomain_key.first);
34  _mortar_subdomain_coverage.insert(subdomain_key.second);
35 
36  _mortar_boundary_coverage.insert(boundary_key.first);
37  _mortar_boundary_coverage.insert(boundary_key.second);
38 
39  MeshBase & mesh = subproblem.mesh().getMesh();
40 
41  auto & periodic_map = on_displaced ? _displaced_periodic_map : _periodic_map;
42  auto & debug_flag_map = on_displaced ? _displaced_debug_flag_map : _debug_flag_map;
43  auto & mortar_interfaces = on_displaced ? _displaced_mortar_interfaces : _mortar_interfaces;
44 
45  // Periodic flag
46  auto periodic_map_iterator = periodic_map.find(boundary_key);
47  if (periodic_map_iterator != periodic_map.end() && periodic_map_iterator->second != periodic)
48  mooseError("We do not currently support enforcing both periodic and non-periodic constraints "
49  "on the same boundary primary-secondary pair");
50  else
51  periodic_map.insert(periodic_map_iterator, std::make_pair(boundary_key, periodic));
52 
53  // Debug mesh flag displaced
54  auto debug_flag_map_iterator = debug_flag_map.find(boundary_key);
55  if (debug_flag_map_iterator != debug_flag_map.end() && debug_flag_map_iterator->second != debug)
56  mooseError(
57  "We do not currently support generating and not generating debug output "
58  "on the same boundary primary-secondary surface pair. Please set debug_mesh = true for "
59  "all constraints sharing the same primary-secondary surface pairs");
60  else
61  debug_flag_map.insert(debug_flag_map_iterator, std::make_pair(boundary_key, debug));
62 
63  // Generate lower-d mesh
64  if (mortar_interfaces.find(boundary_key) == mortar_interfaces.end())
65  {
66  auto [it, inserted] = mortar_interfaces.emplace(
67  boundary_key,
68  std::make_unique<AutomaticMortarGeneration>(subproblem.getMooseApp(),
69  mesh,
70  boundary_key,
71  subdomain_key,
72  on_displaced,
73  periodic,
74  debug,
75  correct_edge_dropping,
76  minimum_projection_angle));
77  if (inserted)
78  it->second->initOutput();
79  }
80 
81  // See whether to query the mesh
82  SubdomainID key1 = subdomain_key.first;
83  SubdomainID key2 = subdomain_key.second;
84 
85  // it(1,2) is a a pair consisting of an iterator to the inserted element (or to the element that
86  // prevented the insertion) and a bool denoting whether the insertion took place.
87  auto it1 = _lower_d_sub_to_higher_d_subs.insert(std::make_pair(key1, std::set<SubdomainID>{}));
88  auto it2 = _lower_d_sub_to_higher_d_subs.insert(std::make_pair(key2, std::set<SubdomainID>{}));
89 
90  // Each entry in this vector will be a pair. The first member of the pair corresponds to
91  // the lower dimensional subomain ID. The second member of the pair corresponds to the higher
92  // dimensional subdomain ids of the lower dimeionsal interior parents
93  std::vector<std::pair<SubdomainID, std::set<SubdomainID> *>> subdomains_to_probe;
94 
95  if (it1.second)
96  subdomains_to_probe.push_back(std::make_pair(key1, &it1.first->second));
97  if (it2.second)
98  subdomains_to_probe.push_back(std::make_pair(key2, &it2.first->second));
99 
100  for (auto & pr : subdomains_to_probe)
101  {
102  for (const Elem * lower_d_elem : as_range(mesh.active_local_subdomain_elements_begin(pr.first),
103  mesh.active_local_subdomain_elements_end(pr.first)))
104  {
105  const Elem * ip = lower_d_elem->interior_parent();
106  mooseAssert(
107  ip,
108  "Lower dimensional elements should always have an interior parent set when using mortar");
109  pr.second->insert(ip->subdomain_id());
110  }
111 
112  // Make sure that we get this right in parallel
113  _communicator.set_union(*pr.second);
114  }
115 }
virtual MooseMesh & mesh()=0
std::unordered_map< MortarKey, std::unique_ptr< AutomaticMortarGeneration > > _displaced_mortar_interfaces
Map from primary-secondary (in that order) boundary ID pair to the corresponding displaced AutomaticM...
std::unordered_map< MortarKey, bool > _debug_flag_map
Map from undisplaced AMG key to whether the undisplaced AMG object is to output mortar segment mesh...
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application...
Definition: MooseError.h:323
MeshBase & mesh
std::unordered_map< MortarKey, bool > _displaced_periodic_map
Map from displaced AMG key to whether the displaced AMG object is enforcing periodic constraints...
std::unordered_map< MortarKey, bool > _periodic_map
Map from undisplaced AMG key to whether the undisplaced AMG object is enforcing periodic constraints...
const Parallel::Communicator & _communicator
MooseApp & getMooseApp() const
Get the MooseApp this class is associated with.
Definition: MooseBase.h:87
MeshBase & getMesh()
Accessor for the underlying libMesh Mesh object.
Definition: MooseMesh.C:3469
std::unordered_map< SubdomainID, std::set< SubdomainID > > _lower_d_sub_to_higher_d_subs
Map from lower dimensional subdomain ids to corresponding higher simensional subdomain ids (e...
SimpleRange< IndexType > as_range(const std::pair< IndexType, IndexType > &p)
std::unordered_map< MortarKey, std::unique_ptr< AutomaticMortarGeneration > > _mortar_interfaces
Map from primary-secondary (in that order) boundary ID pair to the corresponding undisplaced Automati...
std::unordered_map< MortarKey, bool > _displaced_debug_flag_map
Map from displaced AMG key to whether the displaced AMG object is to output mortar segment mesh...
std::set< SubdomainID > _mortar_subdomain_coverage
A set containing the subdomain ids covered by all the mortar interfaces in this MortarInterfaceWareho...
std::set< BoundaryID > _mortar_boundary_coverage
A set containing the boundary ids covered by all the mortar interfaces in this MortarInterfaceWarehou...
void set_union(T &data, const unsigned int root_id) const

◆ dontNotifyWhenMortarSetup()

void MortarInterfaceWarehouse::dontNotifyWhenMortarSetup ( MortarExecutorInterface mei)

Removes mei from the container of objects that will have their mortarSetup method called as soon as the mortar mesh has been generated for the first time

Definition at line 205 of file MortarInterfaceWarehouse.C.

206 {
207  _mei_objs.erase(mei_obj);
208 }
std::set< MortarExecutorInterface * > _mei_objs
A container of objects for whom the mortarSetup method will be called after the mortar mesh has been ...

◆ getHigherDimSubdomainIDs()

const std::set< SubdomainID > & MortarInterfaceWarehouse::getHigherDimSubdomainIDs ( SubdomainID  lower_d_subdomain_id) const

Returns the higher dimensional subdomain ids of the interior parents of the given lower-d subdomain id.

Definition at line 188 of file MortarInterfaceWarehouse.C.

189 {
190  if (_lower_d_sub_to_higher_d_subs.find(lower_d_subdomain_id) ==
192  mooseError("The lower dimensional ID ",
193  lower_d_subdomain_id,
194  " has not been added to MortarInterfaceWarehouse yet");
195  return _lower_d_sub_to_higher_d_subs.at(lower_d_subdomain_id);
196 }
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application...
Definition: MooseError.h:323
std::unordered_map< SubdomainID, std::set< SubdomainID > > _lower_d_sub_to_higher_d_subs
Map from lower dimensional subdomain ids to corresponding higher simensional subdomain ids (e...

◆ getMortarBoundaryIDs()

const std::set<BoundaryID>& MortarInterfaceWarehouse::getMortarBoundaryIDs ( ) const
inline

Returns the mortar covered boundaries.

Definition at line 91 of file MortarInterfaceWarehouse.h.

91 { return _mortar_boundary_coverage; }
std::set< BoundaryID > _mortar_boundary_coverage
A set containing the boundary ids covered by all the mortar interfaces in this MortarInterfaceWarehou...

◆ getMortarInterface() [1/2]

const AutomaticMortarGeneration & MortarInterfaceWarehouse::getMortarInterface ( const std::pair< BoundaryID, BoundaryID > &  boundary_key,
const std::pair< SubdomainID, SubdomainID > &  ,
bool  on_displaced 
) const

Getter to retrieve the AutomaticMortarGeneration object corresponding to the boundary and subdomain keys.

If the AutomaticMortarGeneration object does not yet exist, then we error

Definition at line 118 of file MortarInterfaceWarehouse.C.

Referenced by getMortarInterface().

122 {
123  auto & mortar_interfaces = on_displaced ? _displaced_mortar_interfaces : _mortar_interfaces;
124  auto it = mortar_interfaces.find(boundary_key);
125  if (it == mortar_interfaces.end())
126  mooseError(
127  "The requested mortar interface AutomaticMortarGeneration object does not yet exist!");
128  return *it->second;
129 }
std::unordered_map< MortarKey, std::unique_ptr< AutomaticMortarGeneration > > _displaced_mortar_interfaces
Map from primary-secondary (in that order) boundary ID pair to the corresponding displaced AutomaticM...
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application...
Definition: MooseError.h:323
std::unordered_map< MortarKey, std::unique_ptr< AutomaticMortarGeneration > > _mortar_interfaces
Map from primary-secondary (in that order) boundary ID pair to the corresponding undisplaced Automati...

◆ getMortarInterface() [2/2]

AutomaticMortarGeneration & MortarInterfaceWarehouse::getMortarInterface ( const std::pair< BoundaryID, BoundaryID > &  boundary_key,
const std::pair< SubdomainID, SubdomainID > &  subdomain_key,
bool  on_displaced 
)

Non-const getter to retrieve the AutomaticMortarGeneration object corresponding to the boundary and subdomain keys.

If the AutomaticMortarGeneration object does not yet exist, then we error

Definition at line 132 of file MortarInterfaceWarehouse.C.

136 {
137  return const_cast<AutomaticMortarGeneration &>(
138  const_cast<const MortarInterfaceWarehouse *>(this)->getMortarInterface(
139  boundary_key, subdomain_key, on_displaced));
140 }
This class is a container/interface for the objects involved in automatic generation of mortar spaces...
const AutomaticMortarGeneration & getMortarInterface(const std::pair< BoundaryID, BoundaryID > &boundary_key, const std::pair< SubdomainID, SubdomainID > &, bool on_displaced) const
Getter to retrieve the AutomaticMortarGeneration object corresponding to the boundary and subdomain k...

◆ getMortarInterfaces()

const std::unordered_map<std::pair<BoundaryID, BoundaryID>, std::unique_ptr<AutomaticMortarGeneration> >& MortarInterfaceWarehouse::getMortarInterfaces ( bool  on_displaced) const
inline

Return all automatic mortar generation objects on either the displaced or undisplaced mesh.

Definition at line 75 of file MortarInterfaceWarehouse.h.

76  {
77  if (on_displaced)
79  else
80  return _mortar_interfaces;
81  }
std::unordered_map< MortarKey, std::unique_ptr< AutomaticMortarGeneration > > _displaced_mortar_interfaces
Map from primary-secondary (in that order) boundary ID pair to the corresponding displaced AutomaticM...
std::unordered_map< MortarKey, std::unique_ptr< AutomaticMortarGeneration > > _mortar_interfaces
Map from primary-secondary (in that order) boundary ID pair to the corresponding undisplaced Automati...

◆ getMortarSubdomainIDs()

const std::set<SubdomainID>& MortarInterfaceWarehouse::getMortarSubdomainIDs ( ) const
inline

Returns the mortar covered subdomains.

Definition at line 86 of file MortarInterfaceWarehouse.h.

std::set< SubdomainID > _mortar_subdomain_coverage
A set containing the subdomain ids covered by all the mortar interfaces in this MortarInterfaceWareho...

◆ hasDisplacedObjects()

bool MortarInterfaceWarehouse::hasDisplacedObjects ( ) const
inline

Returns whether any of the AutomaticMortarGeneration objects are running on a displaced mesh.

Definition at line 101 of file MortarInterfaceWarehouse.h.

101 { return _displaced_mortar_interfaces.size(); }
std::unordered_map< MortarKey, std::unique_ptr< AutomaticMortarGeneration > > _displaced_mortar_interfaces
Map from primary-secondary (in that order) boundary ID pair to the corresponding displaced AutomaticM...

◆ hasObjects()

bool MortarInterfaceWarehouse::hasObjects ( ) const
inline

Returns whether we have any active AutomaticMortarGeneration objects.

Definition at line 106 of file MortarInterfaceWarehouse.h.

106 { return _mortar_interfaces.size(); }
std::unordered_map< MortarKey, std::unique_ptr< AutomaticMortarGeneration > > _mortar_interfaces
Map from primary-secondary (in that order) boundary ID pair to the corresponding undisplaced Automati...

◆ initialized()

bool MortarInterfaceWarehouse::initialized ( ) const
inline
Returns
whether we have performed an initial mortar mesh construction

Definition at line 129 of file MortarInterfaceWarehouse.h.

129 { return _mortar_initd; }
bool _mortar_initd
Whether we have performed any mortar mesh construction.

◆ notifyWhenMortarSetup()

void MortarInterfaceWarehouse::notifyWhenMortarSetup ( MortarExecutorInterface mei)

Adds mei to the container of objects that will have their mortarSetup method called as soon as the mortar mesh has been generated for the first time

Definition at line 199 of file MortarInterfaceWarehouse.C.

200 {
201  _mei_objs.insert(mei_obj);
202 }
std::set< MortarExecutorInterface * > _mei_objs
A container of objects for whom the mortarSetup method will be called after the mortar mesh has been ...

◆ update() [1/2]

void MortarInterfaceWarehouse::update ( )

Builds mortar segment meshes for each mortar interface.

Definition at line 143 of file MortarInterfaceWarehouse.C.

144 {
145  for (auto & mortar_pair : _mortar_interfaces)
146  update(*mortar_pair.second);
147  for (auto & mortar_pair : _displaced_mortar_interfaces)
148  update(*mortar_pair.second);
149 
150  _mortar_initd = true;
151 }
std::unordered_map< MortarKey, std::unique_ptr< AutomaticMortarGeneration > > _displaced_mortar_interfaces
Map from primary-secondary (in that order) boundary ID pair to the corresponding displaced AutomaticM...
bool _mortar_initd
Whether we have performed any mortar mesh construction.
std::unordered_map< MortarKey, std::unique_ptr< AutomaticMortarGeneration > > _mortar_interfaces
Map from primary-secondary (in that order) boundary ID pair to the corresponding undisplaced Automati...
void update()
Builds mortar segment meshes for each mortar interface.

◆ update() [2/2]

void MortarInterfaceWarehouse::update ( AutomaticMortarGeneration amg)
private

Builds mortar segment mesh from specific AutomaticMortarGeneration object.

Definition at line 154 of file MortarInterfaceWarehouse.C.

155 {
156  // Clear exiting data
157  amg.clear();
158 
159  // Construct maps from nodes -> lower dimensional elements on the primary and secondary
160  // boundaries.
161  amg.buildNodeToElemMaps();
162 
163  // Compute nodal geometry (normals and tangents).
164  amg.computeNodalGeometry();
165 
166  const auto dim = amg.dim();
167  if (dim == 2)
168  {
169  // Project secondary nodes (find xi^(2) values).
170  amg.projectSecondaryNodes();
171 
172  // Project primary nodes (find xi^(1) values).
173  amg.projectPrimaryNodes();
174 
175  // Build the mortar segment mesh on the secondary boundary.
177  }
178  else if (dim == 3)
180  else
181  mooseError("Invalid mesh dimension for mortar constraint");
182 
185 }
void computeInactiveLMNodes()
Get list of secondary nodes that don&#39;t contribute to interaction with any primary element...
void clear()
Clears the mortar segment mesh and accompanying data structures.
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application...
Definition: MooseError.h:323
void buildMortarSegmentMesh()
Builds the mortar segment mesh once the secondary and primary node projections have been completed...
static constexpr std::size_t dim
This is the dimension of all vector and tensor datastructures used in MOOSE.
Definition: Moose.h:162
void projectSecondaryNodes()
Project secondary nodes (find xi^(2) values) to the closest points on the primary surface...
void projectPrimaryNodes()
(Inverse) project primary nodes to the points on the secondary surface where they would have come fro...
void buildNodeToElemMaps()
Once the secondary_requested_boundary_ids and primary_requested_boundary_ids containers have been fil...
void computeNodalGeometry()
Computes and stores the nodal normal/tangent vectors in a local data structure instead of using the E...
void buildMortarSegmentMesh3d()
Builds the mortar segment mesh once the secondary and primary node projections have been completed...
void computeInactiveLMElems()
Get list of secondary elems without any corresponding primary elements.

Member Data Documentation

◆ _debug_flag_map

std::unordered_map<MortarKey, bool> MortarInterfaceWarehouse::_debug_flag_map
private

Map from undisplaced AMG key to whether the undisplaced AMG object is to output mortar segment mesh.

Definition at line 163 of file MortarInterfaceWarehouse.h.

Referenced by createMortarInterface().

◆ _displaced_debug_flag_map

std::unordered_map<MortarKey, bool> MortarInterfaceWarehouse::_displaced_debug_flag_map
private

Map from displaced AMG key to whether the displaced AMG object is to output mortar segment mesh.

Definition at line 166 of file MortarInterfaceWarehouse.h.

Referenced by createMortarInterface().

◆ _displaced_mortar_interfaces

std::unordered_map<MortarKey, std::unique_ptr<AutomaticMortarGeneration> > MortarInterfaceWarehouse::_displaced_mortar_interfaces
private

Map from primary-secondary (in that order) boundary ID pair to the corresponding displaced AutomaticMortarGeneration object.

Definition at line 146 of file MortarInterfaceWarehouse.h.

Referenced by createMortarInterface(), getMortarInterface(), getMortarInterfaces(), hasDisplacedObjects(), and update().

◆ _displaced_periodic_map

std::unordered_map<MortarKey, bool> MortarInterfaceWarehouse::_displaced_periodic_map
private

Map from displaced AMG key to whether the displaced AMG object is enforcing periodic constraints.

Definition at line 160 of file MortarInterfaceWarehouse.h.

Referenced by createMortarInterface().

◆ _lower_d_sub_to_higher_d_subs

std::unordered_map<SubdomainID, std::set<SubdomainID> > MortarInterfaceWarehouse::_lower_d_sub_to_higher_d_subs
private

Map from lower dimensional subdomain ids to corresponding higher simensional subdomain ids (e.g.

the ids of the interior parents)

Definition at line 170 of file MortarInterfaceWarehouse.h.

Referenced by createMortarInterface(), and getHigherDimSubdomainIDs().

◆ _mei_objs

std::set<MortarExecutorInterface *> MortarInterfaceWarehouse::_mei_objs
private

A container of objects for whom the mortarSetup method will be called after the mortar mesh has been setup for the first time.

Definition at line 174 of file MortarInterfaceWarehouse.h.

Referenced by dontNotifyWhenMortarSetup(), and notifyWhenMortarSetup().

◆ _mortar_boundary_coverage

std::set<BoundaryID> MortarInterfaceWarehouse::_mortar_boundary_coverage
private

A set containing the boundary ids covered by all the mortar interfaces in this MortarInterfaceWarehouse object.

Definition at line 154 of file MortarInterfaceWarehouse.h.

Referenced by createMortarInterface(), and getMortarBoundaryIDs().

◆ _mortar_initd

bool MortarInterfaceWarehouse::_mortar_initd
private

Whether we have performed any mortar mesh construction.

Definition at line 177 of file MortarInterfaceWarehouse.h.

Referenced by initialized(), and update().

◆ _mortar_interfaces

std::unordered_map<MortarKey, std::unique_ptr<AutomaticMortarGeneration> > MortarInterfaceWarehouse::_mortar_interfaces
private

Map from primary-secondary (in that order) boundary ID pair to the corresponding undisplaced AutomaticMortarGeneration object.

Definition at line 141 of file MortarInterfaceWarehouse.h.

Referenced by createMortarInterface(), getMortarInterface(), getMortarInterfaces(), hasObjects(), and update().

◆ _mortar_subdomain_coverage

std::set<SubdomainID> MortarInterfaceWarehouse::_mortar_subdomain_coverage
private

A set containing the subdomain ids covered by all the mortar interfaces in this MortarInterfaceWarehouse object.

Definition at line 150 of file MortarInterfaceWarehouse.h.

Referenced by createMortarInterface(), and getMortarSubdomainIDs().

◆ _periodic_map

std::unordered_map<MortarKey, bool> MortarInterfaceWarehouse::_periodic_map
private

Map from undisplaced AMG key to whether the undisplaced AMG object is enforcing periodic constraints.

Definition at line 157 of file MortarInterfaceWarehouse.h.

Referenced by createMortarInterface().


The documentation for this class was generated from the following files: