www.mooseframework.org
DiffusionFluxAux.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 #include "AuxKernel.h"
13 
19 {
20 public:
22 
24 
25 protected:
26  virtual Real computeValue();
27 
29  const bool _use_normal;
30 
32  const int _component;
33 
36 
41 
44 };
OutputTools< Real >::VariableGradient VariableGradient
Definition: MooseTypes.h:303
const ADMaterialProperty< Real > *const _ad_diffusion_coef
Holds the diffusivity from the material system if AD.
const bool _use_normal
Whether the normal component has been selected.
const int _component
Will hold 0, 1, or 2 corresponding to x, y, or z.
const MaterialProperty< Real > *const _diffusion_coef
Holds the diffusivity from the material system if non-AD.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
DiffusionFluxAux(const InputParameters &parameters)
const MooseArray< Point > & _normals
normals at quadrature points
virtual Real computeValue()
Compute and return the value of the aux variable.
Auxiliary kernel responsible for computing the components of the flux vector in diffusion problems...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
Get the parameters of the object.
Base class for creating new auxiliary kernels and auxiliary boundary conditions.
Definition: AuxKernel.h:36
static InputParameters validParams()
const VariableGradient & _grad_u
Holds the solution gradient at the current quadrature points.