https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
17namespace libMesh
18{
19template <typename T>
20class NumericVector;
21}
22
28{
29public:
31
33
37 virtual bool checkNodalVar() const { return true; }
38
39protected:
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};
Base class for creating new types of boundary conditions.
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
Base class for deriving any boundary condition that works at nodes.
Definition NodalBCBase.h:28
static InputParameters validParams()
Definition NodalBCBase.C:13
virtual bool checkNodalVar() const
Whether to verify that this object is acting on a nodal variable.
Definition NodalBCBase.h:37
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
std::vector< MooseVariableFEBase * > _diag_save_in
Definition NodalBCBase.h:47
bool _has_save_in
The aux variables to save the residual contributions to.
Definition NodalBCBase.h:41
std::vector< MooseVariableFEBase * > _save_in
Definition NodalBCBase.h:42
std::vector< AuxVariableName > _save_in_strings
Definition NodalBCBase.h:43
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...