www.mooseframework.org
NodalEqualValueConstraint.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "NodalScalarKernel.h"
13 
23 {
24 public:
26 
28 
29  virtual void computeResidual() override;
30  virtual void computeJacobian() override;
31 
32 protected:
33  virtual Real computeQpResidual() override { mooseError("Unused"); }
34  virtual Real computeQpJacobian() override { mooseError("Unused"); }
35  const std::vector<unsigned int> _val_number;
36  const std::vector<const VariableValue *> _value;
37 };
virtual Real computeQpResidual() override
virtual void computeJacobian() override
Compute this object&#39;s contribution to the diagonal Jacobian entries.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
const std::vector< unsigned int > _val_number
static InputParameters validParams()
NodalEqualValueConstraint(const InputParameters &parameters)
virtual void computeResidual() override
Compute this object&#39;s contribution to the residual.
Constraint to enforce equal values (in 1D)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type.
const InputParameters & parameters() const
Get the parameters of the object.
virtual Real computeQpJacobian() override
const std::vector< const VariableValue * > _value