www.mooseframework.org
CoefDiffusion.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "Function.h"
14 
15 class CoefDiffusion : public Kernel
16 {
17 public:
19 
21 
22 protected:
23  virtual Real computeQpResidual();
24  virtual Real computeQpJacobian();
25 
26 private:
27  const Real _coef;
28  const Function * const _func;
29 };
CoefDiffusion(const InputParameters &parameters)
Definition: CoefDiffusion.C:27
virtual Real computeQpJacobian()
Definition: CoefDiffusion.C:46
virtual Real computeQpResidual()
Definition: CoefDiffusion.C:35
static InputParameters validParams()
Definition: CoefDiffusion.C:15
const Real _coef
Definition: CoefDiffusion.h:27
const Function *const _func
Definition: CoefDiffusion.h:28
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const