https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MaskedExponential.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
12#include "Kernel.h"
13#include "JvarMapInterface.h"
15
21class MaskedExponential : public DerivativeMaterialInterface<JvarMapKernelInterface<Kernel>>
22{
23public:
25
26 MaskedExponential(const InputParameters & parameters);
27 virtual void initialSetup();
28
29protected:
30 virtual Real computeQpResidual();
31 virtual Real computeQpJacobian();
32 virtual Real computeQpOffDiagJacobian(unsigned int jvar);
33
35 unsigned int _w_var;
37
39 std::string _temp_name;
40 unsigned int _temp_var;
42
45 std::vector<const MaterialProperty<Real> *> _prop_dmaskdarg;
46
50 std::vector<const MaterialProperty<Real> *> _prop_dn_eqdarg;
51
53 const int _z;
54
56 const Real _kB;
57
59 const Real _e;
60};
This kernel implements a term in the variationally-derived equivalent form of Poisson's equation for ...
const Real _kB
Boltzmann constant.
const MaterialProperty< Real > & _mask
Mask.
const int _z
Species charge.
const Real _e
Electron charge.
std::string _temp_name
Temperature.
const VariableValue & _w
unsigned int _w_var
Chemical potential.
virtual Real computeQpJacobian()
virtual void initialSetup()
const MaterialProperty< Real > & _n_eq
Equilibrium defect concentration.
const MaterialProperty< Real > & _prop_dn_eqdT
virtual Real computeQpResidual()
std::vector< const MaterialProperty< Real > * > _prop_dn_eqdarg
std::vector< const MaterialProperty< Real > * > _prop_dmaskdarg
static InputParameters validParams()
const VariableValue & _temp
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
VariableValueTempl< false > VariableValue