https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PeriodicSegmentalConstraint.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 "MortarScalarBase.h"
14#include "MooseVariableScalar.h"
15#include "Assembly.h"
16
31{
32public:
35
36protected:
40 virtual Real computeQpResidual(Moose::MortarType mortar_type) override;
41
46 unsigned int /*jvar*/) override
47 {
48 return 0;
49 };
50
54 virtual Real computeScalarQpResidual() override;
55
56 // using MortarScalarBase::computeOffDiagJacobianScalar;
57
62 const unsigned int jvar) override;
63
68 const unsigned int jvar) override;
69
70protected:
73
75 const unsigned int _ka_order;
76
79};
OutputTools< Real >::VariableValue VariableValue
Definition MooseTypes.h:348
Interface class ("Veneer") to provide generator methods for derivative material property names.
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
Class for scalar variables (they are different).
This class enforces a periodic boundary condition between a microscale and macroscale field.
virtual Real computeScalarQpOffDiagJacobian(Moose::MortarType mortar_type, const unsigned int jvar) override
Method for computing d-_kappa-residual / d-_var at quadrature points.
Real computeQpJacobian(Moose::ConstraintJacobianType, unsigned int) override
No on-diagonal Jacobian terms for field variables on this object.
const MooseVariableScalar *const _kappa_aux_ptr
(Pointer to) the controlled scalar variable
virtual Real computeQpOffDiagJacobianScalar(Moose::MortarType mortar_type, const unsigned int jvar) override
Method for computing d-_var-residual / d-_kappa at quadrature points.
const VariableValue & _kappa_aux
The controlled scalar variable.
virtual Real computeQpResidual(Moose::MortarType mortar_type) override
Method for computing the residual at quadrature points.
const unsigned int _ka_order
Order of the homogenization variable, used in several places.
virtual Real computeScalarQpResidual() override
Method for computing the scalar part of residual at quadrature points.
ConstraintJacobianType
Definition MooseTypes.h:851