https://mooseframework.inl.gov
HomogenizationConstraintScalarKernel.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 "ScalarKernel.h"
13 
15 
37 {
38 public:
40 
42 
43  virtual void reinit();
45  virtual void computeResidual();
47  virtual void computeJacobian();
48 
49 protected:
50  virtual Real computeQpResidual() { mooseError("not used"); }
52  virtual Real computeQpJacobian() { mooseError("not used"); }
53 
56 
63 };
const RankFourTensor & _jacobian
The actual tensor jacobian, from the user object.
const RankTwoTensor & _residual
The actual tensor residual, from the user object.
std::map< std::pair< unsigned int, unsigned int >, std::pair< ConstraintType, const Function * > > ConstraintMap
const Homogenization::ConstraintMap & _cmap
The constraint map.
const HomogenizationConstraint & _constraint
The user object that does the actual volume integral.
Computes ${V}(X_{ij}-{X}_{ij})dV$.
virtual void computeJacobian()
Copies the on-diagonal Jacobian from the user object.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
HomogenizationConstraintScalarKernel(const InputParameters &parameters)
void mooseError(Args &&... args) const
const InputParameters & parameters() const
virtual Real computeQpJacobian()
Copies the on-diagonal Jacobian from the user object.
virtual void computeResidual()
Copies the residual from the user object.