https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ElementUserObject.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"
14#include "BlockRestrictable.h"
17#include "TransientInterface.h"
18#include "RandomInterface.h"
19#include "ElementIDInterface.h"
20
21namespace libMesh
22{
23class Elem;
24class QBase;
25}
26
28 public BlockRestrictable,
31 public TransientInterface,
32 public RandomInterface,
34{
35public:
37
39
40protected:
42
44 const Elem * const & _current_elem;
45
48
50 const QBase * const & _qrule;
53};
An interface that restricts an object to subdomains via the 'blocks' input parameter.
Intermediate base class that ties together all the interfaces for getting MooseVariableFEBases with t...
static InputParameters validParams()
const QBase *const & _qrule
const Elem *const & _current_elem
The current element pointer (available during execute())
const MooseArray< Real > & _coord
const MooseArray< Real > & _JxW
const MooseArray< Point > & _q_point
const Real & _current_elem_volume
The current element volume (available during execute())
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
Interface for objects that need parallel consistent random numbers without patterns over the course o...
Interface for objects that needs transient capabilities.
Base class for user-specific data.
Definition UserObject.h:20
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...