www.mooseframework.org
InterfaceUserObject.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 #include <set>
15 
20 {
21 public:
23 
25 
26 protected:
30  virtual void execute() override;
31 
35  virtual void initialize() override;
36 
38  const Real & getNeighborElemVolume();
39 
42 
44  const FaceInfo * _fi;
45 
47  std::unordered_set<const FaceInfo *> _face_infos_processed;
48 };
static InputParameters validParams()
const FaceInfo * _fi
A pointer to a face info, useful when working with FV.
virtual void execute() override
Execute method.
bool _has_fv_vars
Whether finite volume variables are involved in the user object.
Base class for implementing interface user objects.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
std::unordered_set< const FaceInfo * > _face_infos_processed
A set of all the face infos that have been already looked at.
This data structure is used to store geometric and variable related metadata about each cell face in ...
Definition: FaceInfo.h:35
InterfaceUserObject(const InputParameters &parameters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
Get the parameters of the object.
Base class for implementing interface user objects.
const Real & getNeighborElemVolume()
The volume (or length) of the current neighbor.
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.