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