https://mooseframework.inl.gov
Loading...
Searching...
No Matches
SideUserObject.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// MOOSE includes
13#include "UserObject.h"
17#include "TransientInterface.h"
18#include "ElementIDInterface.h"
19#include "FaceInfo.h"
20
29 public TransientInterface,
31{
32public:
34
36
37 virtual void initialSetup() override;
38
39protected:
41
43 const QBase * const & _qrule;
47
48 const Elem * const & _current_elem;
50 const unsigned int & _current_side;
51
52 const Elem * const & _current_side_elem;
54
56
58 std::vector<const FaceInfo *> _face_infos;
59
67 void getFaceInfos();
68
69private:
71};
boundary_id_type BoundaryID
A class for requiring an object to be boundary restricted.
Intermediate base class that ties together all the interfaces for getting MooseVariableFEBases with t...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
An interface for accessing Materials.
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
Base class for user objects executed one or more sidesets, which may be on the outer boundary of the ...
const Real & _current_side_volume
const unsigned int & _current_side
current side of the current element
static InputParameters validParams()
MooseMesh & _mesh
const MooseArray< Real > & _coord
void checkNoInterfaceMaterialPropertyDependencies() const
const QBase *const & _qrule
const MooseArray< Real > & _JxW
const Elem *const & _current_side_elem
virtual void initialSetup() override
Gets called at the beginning of the simulation before this object is asked to do its job.
const MooseArray< Point > & _q_point
const MooseArray< Point > & _normals
const Elem *const & _current_elem
void getFaceInfos()
Computes the local FaceInfo(s) to use in functor arguments and interpolations.
std::vector< const FaceInfo * > _face_infos
Holds the FaceInfos to loop on to consider all active neighbors of an element on a given side.
const BoundaryID & _current_boundary_id
Interface for objects that needs transient capabilities.
Base class for user-specific data.
Definition UserObject.h:20