https://mooseframework.inl.gov
ADACInterface.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 "ADKernel.h"
14 
20 {
21 public:
23 
25 
26 protected:
27  virtual ADReal computeQpResidual();
28 
32  const MaterialPropertyName & _name_L;
33 
36 
38  const bool _variable_L;
39 
42 
44  const unsigned int _nvar;
45 
47  std::vector<const ADMaterialProperty<Real> *> _dLdarg;
48 
50  std::vector<const ADVariableGradient *> _gradarg;
51 };
const unsigned int _nvar
number of coupled variables
Definition: ADACInterface.h:44
const ADMaterialProperty< Real > *const _dLdop
Mobility derivative w.r.t. order parameter.
Definition: ADACInterface.h:41
std::vector< const ADVariableGradient * > _gradarg
Gradients for all coupled variables.
Definition: ADACInterface.h:50
Compute the Allen-Cahn interface term with the weak form residual .
Definition: ADACInterface.h:19
static InputParameters validParams()
Definition: ADACInterface.C:15
ADACInterface(const InputParameters &parameters)
Definition: ADACInterface.C:32
const ADMaterialProperty< Real > & _prop_L
Mobility.
Definition: ADACInterface.h:30
const bool _variable_L
flag set if L is a function of non-linear variables in args
Definition: ADACInterface.h:38
const MaterialPropertyName & _name_L
Mobility property name.
Definition: ADACInterface.h:32
const InputParameters & parameters() const
std::vector< const ADMaterialProperty< Real > * > _dLdarg
Mobility derivative w.r.t. other coupled variables.
Definition: ADACInterface.h:47
const ADMaterialProperty< Real > & _kappa
Interfacial parameter.
Definition: ADACInterface.h:35
virtual ADReal computeQpResidual()
Definition: ADACInterface.C:70