https://mooseframework.inl.gov
InternalSideIndicator.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 // local includes
15 
16 // forward declarations
17 template <typename ComputeValueType>
19 
22 
28 template <typename ComputeValueType>
30  public NeighborMooseVariableInterface<ComputeValueType>
31 {
32 public:
38 
40 
41 protected:
42  virtual bool isVarFV() const override { return _var.isFV(); }
43 
45 
48 
51 
54 
57 };
58 
59 // Prevent implicit instantiation in other translation units where these classes are used
60 extern template class InternalSideIndicatorTempl<Real>;
const OutputTools< ComputeValueType >::VariableValue & _u_neighbor
Holds the current solution at the current quadrature point.
virtual bool isVarFV() const override
Whether or not the derived classes are acting on a finite volume variable or not. ...
const OutputTools< ComputeValueType >::VariableGradient & _grad_u_neighbor
Holds the current solution gradient at the current quadrature point.
InternalSideIndicatorTempl< Real > InternalSideIndicator
InternalSideIndicatorTempl< RealVectorValue > VectorInternalSideIndicator
virtual bool isFV() const
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
static InputParameters validParams()
Factory constructor initializes all internal references needed for indicator computation.
Enhances MooseVariableInterface interface provide values from neighbor elements.
const OutputTools< ComputeValueType >::VariableValue & _u
Holds the current solution at the current quadrature point on the face.
The InternalSideIndicator class is responsible for calculating the residuals for various physics on i...
InternalSideIndicatorTempl(const InputParameters &parameters)
MooseVariableField< ComputeValueType > & _var
const OutputTools< ComputeValueType >::VariableGradient & _grad_u
Holds the current solution gradient at the current quadrature point on the face.
const InputParameters & parameters() const
Get the parameters of the object.