https://mooseframework.inl.gov
AugmentSparsityBetweenElements.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "RelationshipManager.h"
13 
15 
23 {
24 public:
27 
28  virtual void operator()(const MeshBase::const_element_iterator & range_begin,
29  const MeshBase::const_element_iterator & range_end,
31  map_type & coupled_elements) override;
32  virtual std::unique_ptr<GhostingFunctor> clone() const override;
33  virtual void mesh_reinit() override;
34  virtual void redistribute() override;
35  std::string getInfo() const override;
36  virtual bool operator>=(const RelationshipManager & rhs) const override;
37 
38 protected:
39  virtual void internalInitWithMesh(const MeshBase &) override;
40 
42  const std::map<dof_id_type, std::vector<dof_id_type>> & _elem_map;
43 
44 public:
46 };
virtual bool operator>=(const RelationshipManager &rhs) const override
std::map< const Elem *, const CouplingMatrix *, CompareDofObjectsByPIDAndThenID > map_type
virtual void internalInitWithMesh(const MeshBase &) override
uint8_t processor_id_type
uint8_t processor_id_type
const std::map< dof_id_type, std::vector< dof_id_type > > & _elem_map
Map of element ghosting. Element IDs linked to list of element IDs that they are connected to...
AugmentSparsityBetweenElements(const InputParameters &)
virtual void operator()(const MeshBase::const_element_iterator &range_begin, const MeshBase::const_element_iterator &range_end, processor_id_type p, map_type &coupled_elements) override
virtual std::unique_ptr< GhostingFunctor > clone() const override
Relationship manager to add ghosting between elements.