www.mooseframework.org
ElementSideNeighborLayers.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 
13 
14 namespace libMesh
15 {
16 class GhostingFunctor;
17 }
18 
24 {
25 public:
27 
29 
31 
37  virtual std::unique_ptr<GhostingFunctor> clone() const override;
38 
39  virtual std::string getInfo() const override;
40  virtual bool operator>=(const RelationshipManager & rhs) const override;
41 
42  void dofmap_reinit() override;
43 
44 protected:
45  virtual void internalInitWithMesh(const MeshBase &) override;
46 
49  unsigned short _layers;
50 
52 
53 private:
57  template <typename Functor>
58  void initFunctor(Functor & functor);
59 };
virtual std::string getInfo() const override
Method for returning relationship manager information (suitable for console output).
ElementSideNeighborLayers(const InputParameters &parameters)
unsigned short _layers
Size of the halo or stencil of elements available in each local processors partition.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
void initFunctor(Functor &functor)
Helper for initing.
virtual void internalInitWithMesh(const MeshBase &) override
Called before this RM is attached.
ElementSideNeighborLayers is used to increase the halo or stencil depth of each processor&#39;s partition...
static InputParameters validParams()
FunctorEnvelope< T > Functor
virtual bool operator>=(const RelationshipManager &rhs) const override
Whether this relationship manager provides more or the same amount and type of ghosting as the rhs...
RelationshipManagers are used for describing what kinds of non-local resources are needed for an obje...
const InputParameters & parameters() const
Get the parameters of the object.
virtual std::unique_ptr< GhostingFunctor > clone() const override
According to the base class docs, "We call mesh_reinit() whenever the relevant Mesh has changed...
Intermediate base class for RelationshipManagers that are simply built using ghosting functors...