https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ElementUserObject.C
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#include "ElementUserObject.h"
11#include "MooseVariableFE.h"
12#include "SubProblem.h"
13#include "Assembly.h"
14
15#include "libmesh/elem.h"
16
27
29 : UserObject(parameters),
31 MaterialPropertyInterface(this, blockIDs(), Moose::EMPTY_BOUNDARY_IDS),
34 RandomInterface(parameters, _fe_problem, _tid, false),
36 _mesh(_subproblem.mesh()),
37 _current_elem(_assembly.elem()),
38 _current_elem_volume(_assembly.elemVolume()),
39 _q_point(_assembly.qPoints()),
40 _qrule(_assembly.qRule()),
41 _JxW(_assembly.JxW()),
42 _coord(_assembly.coordTransformation())
43{
44}
An interface that restricts an object to subdomains via the 'blocks' input parameter.
static InputParameters validParams()
Intermediate base class that ties together all the interfaces for getting MooseVariableFEBases with t...
static InputParameters validParams()
ElementUserObject(const InputParameters &parameters)
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
An interface for accessing Materials.
static InputParameters validParams()
Interface for objects that need parallel consistent random numbers without patterns over the course o...
static InputParameters validParams()
Interface for objects that needs transient capabilities.
static InputParameters validParams()
Base class for user-specific data.
Definition UserObject.h:20
static InputParameters validParams()
Definition UserObject.C:14
MeshBase & mesh
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...