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
21{
22public:
25
26 virtual void operator()(const MeshBase::const_element_iterator & range_begin,
27 const MeshBase::const_element_iterator & range_end,
28 processor_id_type p,
29 map_type & coupled_elements) override;
30 virtual std::unique_ptr<GhostingFunctor> clone() const override;
31 virtual void mesh_reinit() override;
32 virtual void redistribute() override;
33 std::string getInfo() const override;
34 virtual bool operator>=(const RelationshipManager & rhs) const override;
35
36protected:
37 virtual void internalInitWithMesh(const MeshBase &) override;
38
40 const std::map<dof_id_type, std::vector<dof_id_type>> & _elem_map;
41
42public:
44};
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 std::unique_ptr< GhostingFunctor > clone() const override
virtual bool operator>=(const RelationshipManager &rhs) const override
std::map< const Elem *, const CouplingMatrix *, CompareDofObjectsByPIDAndThenID > map_type