https://mooseframework.inl.gov
Loading...
Searching...
No Matches
EigenDirichletBC.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 "EigenDirichletBC.h"
11#include "NonlinearSystemBase.h"
12
14
17{
19
20 params.set<MultiMooseEnum>("vector_tags") = "eigen";
21 params.set<MultiMooseEnum>("matrix_tags") = "eigen";
22
23 params.addClassDescription("Dirichlet BC for eigenvalue solvers");
24
25 return params;
26}
27
29
30Real
32{
33 return 0.0;
34}
35
36Real
38{
39 return 0.0;
40}
41
42Real
44{
45 return 0.0;
46}
registerMooseObject("MooseApp", EigenDirichletBC)
Set Dirichlet boundary condition for eigenvalue problems.
EigenDirichletBC(const InputParameters &parameters)
virtual Real computeQpJacobian() override
The user can override this function to compute the "on-diagonal" Jacobian contribution for this Nodal...
virtual Real computeQpResidual() override
static InputParameters validParams()
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
This is the virtual that derived classes should override for computing an off-diagonal jacobian compo...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
void addClassDescription(const std::string &doc_string)
This method adds a description of the class that will be displayed in the input file syntax dump.
T & set(const std::string &name, bool quiet_mode=false)
Returns a writable reference to the named parameters.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type.
Base class for deriving any boundary condition that works at nodes.
Definition NodalBC.h:21
static InputParameters validParams()
Definition NodalBC.C:19