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