moltres
Loading...
Searching...
No Matches
PrecursorDecay.h
Go to the documentation of this file.
1#pragma once
2
3#include "Kernel.h"
5
6class PrecursorDecay : public Kernel, public ScalarTransportBase
7{
8public:
9 PrecursorDecay(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>> & _decay_constant;
19 const MaterialProperty<std::vector<Real>> & _d_decay_constant_d_temp;
20 unsigned int _precursor_group;
21 unsigned int _temp_id;
22 const VariableValue & _temp;
24};
Definition PrecursorDecay.h:7
unsigned int _precursor_group
Definition PrecursorDecay.h:20
unsigned int _temp_id
Definition PrecursorDecay.h:21
static InputParameters validParams()
Definition PrecursorDecay.C:6
virtual Real computeQpJacobian() override
Definition PrecursorDecay.C:38
const VariableValue & _temp
Definition PrecursorDecay.h:22
const MaterialProperty< std::vector< Real > > & _d_decay_constant_d_temp
Definition PrecursorDecay.h:19
Real _prec_scale
Definition PrecursorDecay.h:23
virtual Real computeQpResidual() override
Definition PrecursorDecay.C:31
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
Definition PrecursorDecay.C:45
const MaterialProperty< std::vector< Real > > & _decay_constant
Definition PrecursorDecay.h:18
Definition ScalarTransportBase.h:13