moltres
Loading...
Searching...
No Matches
HeatPrecursorSource.h
Go to the documentation of this file.
1#pragma once
2
3#include "Kernel.h"
5
11class HeatPrecursorSource : public Kernel, public ScalarTransportBase
12{
13public:
14 HeatPrecursorSource(const InputParameters & parameters);
15
16 static InputParameters validParams();
17
18protected:
19 virtual Real computeQpResidual() override;
20 virtual Real computeQpJacobian() override;
21 virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
22
23 // Material properties
24 const MaterialProperty<std::vector<Real>> & _fisse;
25 const MaterialProperty<std::vector<Real>> & _d_fisse_d_temp;
26 const MaterialProperty<std::vector<Real>> & _fissxs;
27 const MaterialProperty<std::vector<Real>> & _d_fissxs_d_temp;
28
29 unsigned int _num_groups;
30 unsigned int _heat_group;
32 std::vector<Real> _decay_heat_frac;
33 std::vector<Real> _decay_heat_const;
34 const VariableValue & _temp;
35 unsigned int _temp_id;
36 std::vector<const VariableValue *> _group_fluxes;
37 std::vector<unsigned int> _flux_ids;
38};
Definition HeatPrecursorSource.h:12
const MaterialProperty< std::vector< Real > > & _d_fisse_d_temp
Definition HeatPrecursorSource.h:25
virtual Real computeQpJacobian() override
Definition HeatPrecursorSource.C:63
unsigned int _num_groups
Definition HeatPrecursorSource.h:29
Real _nt_scale
Definition HeatPrecursorSource.h:31
std::vector< unsigned int > _flux_ids
Definition HeatPrecursorSource.h:37
virtual Real computeQpResidual() override
Definition HeatPrecursorSource.C:49
unsigned int _temp_id
Definition HeatPrecursorSource.h:35
static InputParameters validParams()
Definition HeatPrecursorSource.C:6
const MaterialProperty< std::vector< Real > > & _fisse
Definition HeatPrecursorSource.h:24
const MaterialProperty< std::vector< Real > > & _fissxs
Definition HeatPrecursorSource.h:26
const VariableValue & _temp
Definition HeatPrecursorSource.h:34
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
Definition HeatPrecursorSource.C:69
std::vector< Real > _decay_heat_frac
Definition HeatPrecursorSource.h:32
unsigned int _heat_group
Definition HeatPrecursorSource.h:30
std::vector< Real > _decay_heat_const
Definition HeatPrecursorSource.h:33
std::vector< const VariableValue * > _group_fluxes
Definition HeatPrecursorSource.h:36
const MaterialProperty< std::vector< Real > > & _d_fissxs_d_temp
Definition HeatPrecursorSource.h:27
Definition ScalarTransportBase.h:13