www.mooseframework.org
ADCHSplitChemicalPotential.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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"
13 
14 // Forward Declaration
15 template <ComputeStage>
17 
19 
26 template <ComputeStage compute_stage>
27 class ADCHSplitChemicalPotential : public ADKernel<compute_stage>
28 {
29 public:
30  ADCHSplitChemicalPotential(const InputParameters & parameters);
31 
32 protected:
33  virtual ADReal computeQpResidual();
34 
35  // Chemical potential property evaluated at material points
36  const ADMaterialProperty(Real) & _chemical_potential;
37 
39 };
ADCHSplitChemicalPotential::usingKernelMembers
usingKernelMembers
Definition: ADCHSplitChemicalPotential.h:38
ADCHSplitChemicalPotential::computeQpResidual
virtual ADReal computeQpResidual()
Definition: ADCHSplitChemicalPotential.C:32
declareADValidParams
declareADValidParams(ADCHSplitChemicalPotential)
ADCHSplitChemicalPotential::ADMaterialProperty
const ADMaterialProperty(Real) &_chemical_potential
ADCHSplitChemicalPotential
Solves chemical potential in a weak sense (mu-mu_prop=0).
Definition: ADCHSplitChemicalPotential.h:16
ADCHSplitChemicalPotential::ADCHSplitChemicalPotential
ADCHSplitChemicalPotential(const InputParameters &parameters)
Definition: ADCHSplitChemicalPotential.C:23