https://mooseframework.inl.gov
GhostingFromUOAux.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 "AuxKernel.h"
13 
14 #include "libmesh/ghosting_functor.h"
15 
16 class GhostingUserObject;
17 
22 {
23 public:
25 
27 
28 protected:
29  virtual Real computeValue() override;
30  virtual void precalculateValue() override;
31 
34 
37 
40 
43 
46 
49 };
Moose::RelationshipManagerType _rm_type
The type of ghosting functor to get.
RelationshipManagerType
Main types of Relationship Managers.
Definition: MooseTypes.h:963
const GhostingUserObject & _ghost_uo
The reference to the ghosting user object.
GhostingFromUOAux(const InputParameters &parameters)
bool _include_local
Whether or not to include local elements in the display field.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
std::map< const Elem *, const CouplingMatrix *, CompareDofObjectsByPIDAndThenID > map_type
This object loops over all of the underlying ghosting functors added by libMesh or MOOSE through Rela...
Real _value
precalculated element value
static InputParameters validParams()
processor_id_type _pid
The PID to show the ghosting for.
Outputs to an auxiliary variable the ghosting of a GhostingUserObject.
uint8_t processor_id_type
libMesh::GhostingFunctor::map_type _ghosted_elems
Ghosted elems.
virtual Real computeValue() override
Compute and return the value of the aux variable.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
Get the parameters of the object.
Base class for creating new auxiliary kernels and auxiliary boundary conditions.
Definition: AuxKernel.h:36
virtual void precalculateValue() override
This callback is used for AuxKernelTempls that need to perform a per-element calculation.