https://mooseframework.inl.gov
CoupledTiedValueConstraint.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 // MOOSE includes
13 #include "NodeFaceConstraint.h"
14 
20 {
21 public:
23 
25 
26 protected:
27  virtual Real computeQpSecondaryValue() override;
28 
30 
32 
34  unsigned int jvar) override;
35  const Real _scaling;
37 };
ConstraintType
Definition: MooseTypes.h:757
A CoupledTiedValueConstraint forces the value of a variable to be the same on both sides of an interf...
CoupledTiedValueConstraint(const InputParameters &parameters)
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
virtual Real computeQpResidual(Moose::ConstraintType type) override
This is the virtual that derived classes should override for computing the residual on neighboring el...
A NodeFaceConstraint is used when you need to create constraints between two surfaces in a mesh...
NumericVector< Number > & _residual_copy
const std::string & type() const
Get the type of this class.
Definition: MooseBase.h:51
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
ConstraintJacobianType
Definition: MooseTypes.h:796
virtual Real computeQpJacobian(Moose::ConstraintJacobianType type) override
This is the virtual that derived classes should override for computing the Jacobian on neighboring el...
const InputParameters & parameters() const
Get the parameters of the object.
virtual Real computeQpSecondaryValue() override
Compute the value the secondary node should have at the beginning of a timestep.
virtual Real computeQpOffDiagJacobian(Moose::ConstraintJacobianType type, unsigned int jvar) override
This is the virtual that derived classes should override for computing the off-diag Jacobian...
static InputParameters validParams()