https://mooseframework.inl.gov
Loading...
Searching...
No Matches
NodalKernelBase.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
13#include "ResidualObject.h"
15#include "BlockRestrictable.h"
20
25 public BlockRestrictable,
29{
30public:
36
38
39 void setSubdomains(const std::set<SubdomainID> & sub_ids) { _sub_ids = &sub_ids; }
40
41protected:
43
46
48 const Node * const & _current_node;
49
51 unsigned int _qp;
52
54 const std::set<SubdomainID> * _sub_ids;
55};
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...
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
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
Base class for creating new types of nodal kernels.
const std::set< SubdomainID > * _sub_ids
The set of subdomains connected to the current node.
Moose::NodeArg nodeArg() const
unsigned int _qp
Quadrature point index.
void setSubdomains(const std::set< SubdomainID > &sub_ids)
const Node *const & _current_node
current node being processed
FEProblemBase & _fe_problem
Reference to FEProblemBase.
static InputParameters validParams()
Class constructor.
This is the common base class for objects that give residual contributions.