LynxHeatFluxAux.h 1.47 KB
Newer Older
1
/******************************************************************************/
Antoine Jacquey's avatar
Antoine Jacquey committed
2
/*                            This file is part of                            */
3
/*                       LYNX, a MOOSE-based application                      */
Antoine Jacquey's avatar
Antoine Jacquey committed
4
/*                    Lithosphere dYnamic Numerical toolboX                   */
5 6 7 8
/*                                                                            */
/*          Copyright (C) 2017 by Antoine B. Jacquey and Mauro Cacace         */
/*             GFZ Potsdam, German Research Centre for Geosciences            */
/*                                                                            */
Antoine Jacquey's avatar
Antoine Jacquey committed
9 10 11
/*                Licensed under GNU General Public License 3,                */
/*                       please see LICENSE for details                       */
/*                  or http://www.gnu.org/licenses/gpl.html                   */
12 13
/******************************************************************************/

Antoine Jacquey's avatar
Antoine Jacquey committed
14
#pragma once
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36

#include "AuxKernel.h"
#include "DerivativeMaterialInterface.h"

class LynxHeatFluxAux;

template <>
InputParameters validParams<LynxHeatFluxAux>();

class LynxHeatFluxAux : public DerivativeMaterialInterface<AuxKernel>
{
public:
  LynxHeatFluxAux(const InputParameters & parameters);

protected:
  virtual Real computeValue() override;

  const unsigned int _component;
  const VariableGradient & _grad_T;
  const MaterialProperty<Real> & _rhoC_b;
  const MaterialProperty<Real> & _thermal_diff;
  Real _cond_bulk;
Antoine Jacquey's avatar
Antoine Jacquey committed
37
};