https://mooseframework.inl.gov
ADSoretCoeffTest.C
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 #include "ADSoretCoeffTest.h"
11 
13 
16 {
18  params.addRequiredCoupledVar("coupled_var", "A coupled variable");
19  params.addRequiredCoupledVar("temperature", "The coupled temperature variable");
20  return params;
21 }
22 
24  : Material(parameters),
25  _coupled_var(adCoupledValue("coupled_var")),
26  _temp(adCoupledValue("temperature")),
27  _soret_coeff(declareADProperty<Real>("soret_coefficient"))
28 {
29 }
30 
31 void
33 {
35 }
registerMooseObject("MiscTestApp", ADSoretCoeffTest)
virtual void computeQpProperties()
const ADVariableValue & _coupled_var
ADSoretCoeffTest(const InputParameters &parameters)
unsigned int _qp
static InputParameters validParams()
const ADVariableValue & _temp
static InputParameters validParams()
ADMaterialProperty< Real > & _soret_coeff
void addRequiredCoupledVar(const std::string &name, const std::string &doc_string)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real