https://mooseframework.inl.gov
Loading...
Searching...
No Matches
NodalEqualValueConstraint.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 "NodalScalarKernel.h"
13
23{
24public:
26
28
29 virtual void computeResidual() override;
30 virtual void computeJacobian() override;
31
32protected:
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};
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application.
Definition MooseError.h:311
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
Constraint to enforce equal values (in 1D)
const std::vector< unsigned int > _val_number
const std::vector< const VariableValue * > _value
static InputParameters validParams()
virtual Real computeQpResidual() override
virtual void computeResidual() override
Compute this object's contribution to the residual.
virtual void computeJacobian() override
Compute this object's contribution to the diagonal Jacobian entries.
virtual Real computeQpJacobian() override