https://mooseframework.inl.gov
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 
21 class MaskedExponential : public DerivativeMaterialInterface<JvarMapKernelInterface<Kernel>>
22 {
23 public:
25 
27  virtual void initialSetup();
28 
29 protected:
30  virtual Real computeQpResidual();
31  virtual Real computeQpJacobian();
32  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
33 
35  unsigned int _w_var;
36  const VariableValue & _w;
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 };
std::vector< const MaterialProperty< Real > * > _prop_dn_eqdarg
unsigned int _w_var
Chemical potential.
const MaterialProperty< Real > & _n_eq
Equilibrium defect concentration.
const int _z
Species charge.
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
std::string _temp_name
Temperature.
virtual void initialSetup()
MaskedExponential(const InputParameters &parameters)
This kernel implements a term in the variationally-derived equivalent form of Poisson&#39;s equation for ...
const VariableValue & _temp
static InputParameters validParams()
const MaterialProperty< Real > & _prop_dn_eqdT
const VariableValue & _w
virtual Real computeQpResidual()
OutputTools< Real >::VariableValue VariableValue
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MaterialProperty< Real > & _mask
Mask.
const Real _e
Electron charge.
virtual Real computeQpJacobian()
const Real _kB
Boltzmann constant.
unsigned int _temp_var
std::vector< const MaterialProperty< Real > * > _prop_dmaskdarg