https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
31void
registerMooseObject("MiscTestApp", ADSoretCoeffTest)
const ADVariableValue & _coupled_var
static InputParameters validParams()
ADSoretCoeffTest(const InputParameters &parameters)
virtual void computeQpProperties()
ADMaterialProperty< Real > & _soret_coeff
const ADVariableValue & _temp
void addRequiredCoupledVar(const std::string &name, const std::string &doc_string)
unsigned int _qp
static InputParameters validParams()