https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
24public:
27
28 virtual void operator()(const MeshBase::const_element_iterator & range_begin,
29 const MeshBase::const_element_iterator & range_end,
30 processor_id_type p,
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
38protected:
39 virtual void internalInitWithMesh(const MeshBase &) override;
40
42 const std::map<dof_id_type, std::vector<dof_id_type>> & _elem_map;
43
44public:
46};
const Real p
Relationship manager to add ghosting between elements.
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
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.
virtual void internalInitWithMesh(const MeshBase &) override
virtual bool operator>=(const RelationshipManager &rhs) const override
virtual std::unique_ptr< GhostingFunctor > clone() const override
std::map< const Elem *, const CouplingMatrix *, CompareDofObjectsByPIDAndThenID > map_type
uint8_t processor_id_type