https://mooseframework.inl.gov
Loading...
Searching...
No Matches
CoupledVariableValueMaterial.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
17template <bool is_ad>
19{
20public:
22
23protected:
24 virtual void computeQpProperties() override;
25
27 const MaterialPropertyName & _prop_name;
33
34public:
36};
37
CoupledVariableValueMaterialTempl< true > ADCoupledVariableValueMaterial
CoupledVariableValueMaterialTempl< false > CoupledVariableValueMaterial
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
Stores values of a variable into material properties.
const MaterialPropertyName & _prop_name
The name of the material property where the values will be stored.
GenericMaterialProperty< Real, is_ad > & _prop
Storage for the variable values.
const VariableValue & _value
The coupled variable values.
const InputParameters & parameters() const
VariableValueTempl< true > ADVariableValue
VariableValueTempl< false > VariableValue