moltres
Loading...
Searching...
No Matches
PrecursorSource.h
Go to the documentation of this file.
1#pragma once
2
3#include "Kernel.h"
5
6class PrecursorSource : public Kernel, public ScalarTransportBase
7{
8public:
9 PrecursorSource(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>> & _nsf;
19 const MaterialProperty<std::vector<Real>> & _d_nsf_d_temp;
20 unsigned int _num_groups;
21 const MaterialProperty<std::vector<Real>> & _beta_eff;
22 const MaterialProperty<std::vector<Real>> & _d_beta_eff_d_temp;
23 unsigned int _precursor_group;
24 const VariableValue & _temp;
25 unsigned int _temp_id;
26 std::vector<const VariableValue *> _group_fluxes;
27 std::vector<unsigned int> _flux_ids;
30};
Definition PrecursorSource.h:7
static InputParameters validParams()
Definition PrecursorSource.C:6
Real _prec_scale
Definition PrecursorSource.h:28
const MaterialProperty< std::vector< Real > > & _d_beta_eff_d_temp
Definition PrecursorSource.h:22
std::vector< unsigned int > _flux_ids
Definition PrecursorSource.h:27
const MaterialProperty< std::vector< Real > > & _nsf
Definition PrecursorSource.h:18
unsigned int _precursor_group
Definition PrecursorSource.h:23
unsigned int _num_groups
Definition PrecursorSource.h:20
virtual Real computeQpResidual() override
Definition PrecursorSource.C:51
const MaterialProperty< std::vector< Real > > & _beta_eff
Definition PrecursorSource.h:21
std::vector< const VariableValue * > _group_fluxes
Definition PrecursorSource.h:26
virtual Real computeQpJacobian() override
Definition PrecursorSource.C:67
Real _eigenvalue_scaling
Definition PrecursorSource.h:29
unsigned int _temp_id
Definition PrecursorSource.h:25
const VariableValue & _temp
Definition PrecursorSource.h:24
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
Definition PrecursorSource.C:73
const MaterialProperty< std::vector< Real > > & _d_nsf_d_temp
Definition PrecursorSource.h:19
Definition ScalarTransportBase.h:13