moltres
Loading...
Searching...
No Matches
DecayHeatSource.h
Go to the documentation of this file.
1#pragma once
2
3#include "Kernel.h"
5
6class DecayHeatSource : public Kernel, public ScalarTransportBase
7{
8public:
9 DecayHeatSource(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 unsigned int _num_heat_groups;
19 std::vector<Real> _decay_heat_const;
20 std::vector<const VariableValue *> _heat_concs;
21 std::vector<unsigned int> _heat_ids;
22};
Definition DecayHeatSource.h:7
virtual Real computeQpJacobian() override
Definition DecayHeatSource.C:48
std::vector< const VariableValue * > _heat_concs
Definition DecayHeatSource.h:20
std::vector< Real > _decay_heat_const
Definition DecayHeatSource.h:19
virtual Real computeQpResidual() override
Definition DecayHeatSource.C:38
static InputParameters validParams()
Definition DecayHeatSource.C:6
unsigned int _num_heat_groups
Definition DecayHeatSource.h:18
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
Definition DecayHeatSource.C:54
std::vector< unsigned int > _heat_ids
Definition DecayHeatSource.h:21
Definition ScalarTransportBase.h:13