https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ADTestDerivativeFunction.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"
14
20{
21public:
23
25
26protected:
27 virtual void computeQpProperties();
28
29 enum class FunctionEnum
30 {
31 F1,
32 F2,
33 F3
35
37 const std::vector<const ADVariableValue *> _op;
38
40 const MaterialPropertyName _f_name;
41
44
46 std::vector<ADMaterialProperty<Real> *> _prop_dFdop;
47};
Material class that creates the math free energy and its derivatives for use with ADSplitCHParsed.
enum ADTestDerivativeFunction::FunctionEnum _function
std::vector< ADMaterialProperty< Real > * > _prop_dFdop
function value derivative
const MaterialPropertyName _f_name
property name
const std::vector< const ADVariableValue * > _op
Coupled variable value for the order parameter.
ADMaterialProperty< Real > & _prop_F
function value
static InputParameters validParams()
const InputParameters & parameters() const