https://mooseframework.inl.gov
Loading...
Searching...
No Matches
NodalUserObject.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
25 public BlockRestrictable,
28 public TransientInterface,
29 public RandomInterface
30{
31public:
33
35
36 virtual void subdomainSetup() override /*final*/;
37
39
40protected:
43
45 const unsigned int _qp;
46
48 const Node * const & _current_node;
49
50 // Flag for enable/disabling multiple execute calls on nodes that share block ids
52};
An interface that restricts an object to subdomains via the 'blocks' input parameter.
/class BoundaryRestrictable /brief Provides functionality for limiting the object to certain boundary...
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.
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
A user object that runs over all the nodes and does an aggregation step to compute a single value.
const bool & _unique_node_execute
const Node *const & _current_node
Reference to current node pointer.
virtual void subdomainSetup() override
Gets called when the subdomain changes (i.e.
const unsigned int _qp
Quadrature point index.
MooseMesh & _mesh
The mesh that is being iterated over.
static InputParameters validParams()
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