https://mooseframework.inl.gov
Loading...
Searching...
No Matches
TiedValueConstraint.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{
21public:
23
25
26protected:
27 virtual Real computeQpSecondaryValue() override;
28
29 virtual Real computeQpResidual(Moose::ConstraintType type) override;
30
32 const Real _scaling;
33 NumericVector<Number> & _residual_copy;
34};
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
const std::string & type() const
Get the type of this class.
Definition MooseBase.h:93
A NodeFaceConstraint is used when you need to create constraints between two surfaces in a mesh.
A TiedValueConstraint forces the value of a variable to be the same on both sides of an interface.
static InputParameters validParams()
virtual Real computeQpSecondaryValue() override
Compute the value the secondary node should have at the beginning of a timestep.
NumericVector< Number > & _residual_copy
virtual Real computeQpJacobian(Moose::ConstraintJacobianType type) override
This is the virtual that derived classes should override for computing the Jacobian on neighboring el...
virtual Real computeQpResidual(Moose::ConstraintType type) override
This is the virtual that derived classes should override for computing the residual on neighboring el...
ConstraintType
Definition MooseTypes.h:812
ConstraintJacobianType
Definition MooseTypes.h:851