www.mooseframework.org
INSADMass.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "ADKernelValue.h"
13 
14 // Forward Declarations
15 template <ComputeStage>
16 class INSADMass;
17 
19 
25 template <ComputeStage compute_stage>
26 class INSADMass : public ADKernelValue<compute_stage>
27 {
28 public:
29  INSADMass(const InputParameters & parameters);
30 
31 protected:
32  ADReal precomputeQpResidual() override;
33 
35  const ADMaterialProperty(Real) & _mass_strong_residual;
36 
38 };
39 
declareADValidParams
declareADValidParams(INSADMass)
INSADMass
This class computes the mass equation residual and Jacobian contributions (the latter using automatic...
Definition: INSADMass.h:16
INSADMass::ADMaterialProperty
const ADMaterialProperty(Real) &_mass_strong_residual
The strong residual of the mass equation, computed using INSADMaterial.
INSADMass::precomputeQpResidual
ADReal precomputeQpResidual() override
Definition: INSADMass.C:31
INSADMass::INSADMass
INSADMass(const InputParameters &parameters)
Definition: INSADMass.C:23
INSADMass::usingKernelValueMembers
usingKernelValueMembers
Definition: INSADMass.h:37