moltres
Loading...
Searching...
No Matches
GroupDiffusion.h
Go to the documentation of this file.
1#pragma once
2
3#include "Kernel.h"
5
6class GroupDiffusion : public Kernel, public ScalarTransportBase
7{
8public:
9 GroupDiffusion(const InputParameters & parameters);
10
11 static InputParameters validParams();
12
13protected:
14 virtual Real computeQpResidual() override;
15 virtual Real computeQpJacobian() override;
16 virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
17
18 const MaterialProperty<std::vector<Real>> & _diffcoef;
19 const MaterialProperty<std::vector<Real>> & _d_diffcoef_d_temp;
20 unsigned int _group;
21 unsigned int _temp_id;
22};
Definition GroupDiffusion.h:7
unsigned int _group
Definition GroupDiffusion.h:20
const MaterialProperty< std::vector< Real > > & _diffcoef
Definition GroupDiffusion.h:18
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
Definition GroupDiffusion.C:42
virtual Real computeQpJacobian() override
Definition GroupDiffusion.C:35
static InputParameters validParams()
Definition GroupDiffusion.C:6
const MaterialProperty< std::vector< Real > > & _d_diffcoef_d_temp
Definition GroupDiffusion.h:19
virtual Real computeQpResidual() override
Definition GroupDiffusion.C:28
unsigned int _temp_id
Definition GroupDiffusion.h:21
Definition ScalarTransportBase.h:13