https://mooseframework.inl.gov
Loading...
Searching...
No Matches
InterfaceUserObjectBase.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 "UserObject.h"
16#include "TransientInterface.h"
17#include "ElementIDInterface.h"
18#include "FaceInfo.h"
19
24 : public UserObject,
28 public TransientInterface,
30{
31public:
33
35
36protected:
40 virtual void execute() override {}
41
45 virtual void initialize() override {}
46
48
50 const QBase * const & _qrule;
54
56 const Elem * const & _current_elem;
60 const unsigned int & _current_side;
62 const Elem * const & _current_side_elem;
65
67 const Elem * const & _neighbor_elem;
70};
A class for requiring an object to be boundary restricted.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Base class for implementing interface user objects.
const unsigned int & _current_side
current side of the current element
const Real & _current_side_volume
current side volume
const Real & _current_neighbor_volume
current neighbor volume
const MooseArray< Point > & _q_point
static InputParameters validParams()
const MooseArray< Real > & _JxW
const Real & _current_elem_volume
the volume of the current element
const MooseArray< Real > & _coord
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
const Elem *const & _neighbor_elem
The neighboring element.
const Elem *const & _current_side_elem
the side element
virtual void execute() override
Execute method.
const MooseArray< Point > & _normals
const Elem *const & _current_elem
current element
forward declarations
Definition MooseArray.h:18
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
Definition MooseMesh.h:95
Intermediate base class that ties together all the interfaces for getting MooseVariables with the Moo...
Interface for objects that needs transient capabilities.
This interface is designed for DGKernel, InternalSideUserObject, InterfaceUserObject,...
Base class for user-specific data.
Definition UserObject.h:20