https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
27template <bool is_ad>
29{
30public:
32
34
35protected:
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
43private:
44 const unsigned int _v_var;
47};
48
Moose::GenericType< VariableValue, is_ad > GenericVariableValue
Moose::GenericType< Real, is_ad > GenericReal
PorousFlowHeatMassTransferTempl< false > PorousFlowHeatMassTransfer
PorousFlowHeatMassTransferTempl< true > ADPorousFlowHeatMassTransfer
const InputParameters & parameters() const
Calculate heat or mass transfer from a coupled variable to u.
const GenericVariableValue< is_ad > & _v
virtual GenericReal< is_ad > computeQpResidual() override
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
const GenericVariableValue< is_ad > & _coef_var
virtual Real jac(unsigned int jvar) const