https://mooseframework.inl.gov
PorousFlowHeatMassTransfer.h
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 #pragma once
11 
12 #include "GenericKernel.h"
13 
14 // Forward Declaration
15 
27 template <bool is_ad>
29 {
30 public:
32 
34 
35 protected:
36  virtual GenericReal<is_ad> computeQpResidual() override;
37  virtual Real computeQpJacobian() override;
38  virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
39  virtual Real jac(unsigned int jvar) const;
40 
42 
43 private:
44  const unsigned int _v_var;
47 };
48 
Moose::GenericType< Real, is_ad > GenericReal
PorousFlowHeatMassTransferTempl< true > ADPorousFlowHeatMassTransfer
const GenericVariableValue< is_ad > & _v
const InputParameters & parameters() const
Calculate heat or mass transfer from a coupled variable to u.
PorousFlowHeatMassTransferTempl< false > PorousFlowHeatMassTransfer
Moose::GenericType< VariableValue, is_ad > GenericVariableValue
virtual Real jac(unsigned int jvar) const
PorousFlowHeatMassTransferTempl(const InputParameters &parameters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const GenericVariableValue< is_ad > & _coef_var
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
virtual GenericReal< is_ad > computeQpResidual() override