https://mooseframework.inl.gov
Loading...
Searching...
No Matches
phase_field
include
kernels
ADPhaseFieldCoupledDoubleWellPotential.h
Go to the documentation of this file.
1
//* This file is part of the MOOSE framework
2
//* https://www.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 "
ADKernelValue.h
"
13
18
class
ADPhaseFieldCoupledDoubleWellPotential
:
public
ADKernelValue
19
{
20
public
:
21
static
InputParameters
validParams
();
22
ADPhaseFieldCoupledDoubleWellPotential
(
const
InputParameters
&
parameters
);
23
24
protected
:
25
virtual
ADReal
precomputeQpResidual
()
override
;
26
27
const
ADVariableValue
&
_c
;
28
const
Real &
_prefactor
;
29
};
ADKernelValue.h
ADReal
DualNumber< Real, DNDerivativeType, true > ADReal
ADKernelValueTempl
ADPhaseFieldCoupledDoubleWellPotential
Coupled Double well Potential with a prefactor psi * (psi^2 - 1)
Definition
ADPhaseFieldCoupledDoubleWellPotential.h:19
ADPhaseFieldCoupledDoubleWellPotential::_c
const ADVariableValue & _c
Definition
ADPhaseFieldCoupledDoubleWellPotential.h:27
ADPhaseFieldCoupledDoubleWellPotential::validParams
static InputParameters validParams()
Definition
ADPhaseFieldCoupledDoubleWellPotential.C:15
ADPhaseFieldCoupledDoubleWellPotential::precomputeQpResidual
virtual ADReal precomputeQpResidual() override
Definition
ADPhaseFieldCoupledDoubleWellPotential.C:32
ADPhaseFieldCoupledDoubleWellPotential::_prefactor
const Real & _prefactor
Definition
ADPhaseFieldCoupledDoubleWellPotential.h:28
ADKernelValueTempl::parameters
const InputParameters & parameters() const
ADVariableValue
VariableValueTempl< true > ADVariableValue
InputParameters
Generated on Fri Aug 21 2026 13:41:19 for https://mooseframework.inl.gov by
1.9.8