https://mooseframework.inl.gov
CoupledGradientMaterial.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 "Material.h"
13 
18 template <bool is_ad>
20 {
21 public:
23 
25 
26 protected:
27  virtual void computeQpProperties() override;
28 
35 };
36 
CoupledGradientMaterialTempl< false > CoupledGradientMaterial
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
A material that creates a gradient material equal to the gradient of the coupled variable times a sca...
const GenericVariableGradient< is_ad > & _grad_u
Gradient of the variable.
Moose::GenericType< VariableGradient, is_ad > GenericVariableGradient
Definition: MooseTypes.h:666
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
virtual void computeQpProperties() override
Users must override this method.
const GenericMaterialProperty< Real, is_ad > & _scalar_property_factor
A scalar material property that acts as a factor in the computed property.
static InputParameters validParams()
Materials compute MaterialProperties.
Definition: Material.h:34
GenericMaterialProperty< RealVectorValue, is_ad > & _grad_mat_prop
Material property computed, equal to the gradient of the variable times a scalar. ...
const InputParameters & parameters() const
Get the parameters of the object.
CoupledGradientMaterialTempl< true > ADCoupledGradientMaterial
CoupledGradientMaterialTempl(const InputParameters &parameters)