https://mooseframework.inl.gov
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
};
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
ADKernelValueTempl
ADPhaseFieldCoupledDoubleWellPotential::_c
const ADVariableValue & _c
Definition:
ADPhaseFieldCoupledDoubleWellPotential.h:27
InputParameters
ADKernelValue.h
ADPhaseFieldCoupledDoubleWellPotential::ADPhaseFieldCoupledDoubleWellPotential
ADPhaseFieldCoupledDoubleWellPotential(const InputParameters ¶meters)
Definition:
ADPhaseFieldCoupledDoubleWellPotential.C:24
MooseArray< ADReal >
Real
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
ADPhaseFieldCoupledDoubleWellPotential
Coupled Double well Potential with a prefactor psi * (psi^2 - 1)
Definition:
ADPhaseFieldCoupledDoubleWellPotential.h:18
ADPhaseFieldCoupledDoubleWellPotential::validParams
static InputParameters validParams()
Definition:
ADPhaseFieldCoupledDoubleWellPotential.C:15
MetaPhysicL::DualNumber
Generated on Sat Sep 20 2025 20:20:58 for https://mooseframework.inl.gov by
1.8.14