Loading [MathJax]/extensions/tex2jax.js
https://mooseframework.inl.gov
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
NodalBCBase.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 #include "BoundaryCondition.h"
13 #include "RandomInterface.h"
15 
16 // libMesh forward declarations
17 namespace libMesh
18 {
19 template <typename T>
20 class NumericVector;
21 }
22 
28 {
29 public:
31 
33 
37  virtual bool checkNodalVar() const { return true; }
38 
39 protected:
42  std::vector<MooseVariableFEBase *> _save_in;
43  std::vector<AuxVariableName> _save_in_strings;
44 
47  std::vector<MooseVariableFEBase *> _diag_save_in;
48  std::vector<AuxVariableName> _diag_save_in_strings;
49 };
bool _has_save_in
The aux variables to save the residual contributions to.
Definition: NodalBCBase.h:41
std::vector< AuxVariableName > _save_in_strings
Definition: NodalBCBase.h:43
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
virtual bool checkNodalVar() const
Whether to verify that this object is acting on a nodal variable.
Definition: NodalBCBase.h:37
std::vector< MooseVariableFEBase * > _save_in
Definition: NodalBCBase.h:42
Base class for deriving any boundary condition that works at nodes.
Definition: NodalBCBase.h:26
NodalBCBase(const InputParameters &parameters)
Definition: NodalBCBase.C:36
Base class for creating new types of boundary conditions.
std::vector< AuxVariableName > _diag_save_in_strings
Definition: NodalBCBase.h:48
bool _has_diag_save_in
The aux variables to save the diagonal Jacobian contributions to.
Definition: NodalBCBase.h:46
Intermediate base class that ties together all the interfaces for getting MooseVariableFEBases with t...
std::vector< MooseVariableFEBase * > _diag_save_in
Definition: NodalBCBase.h:47
const InputParameters & parameters() const
Get the parameters of the object.
static InputParameters validParams()
Definition: NodalBCBase.C:13