https://mooseframework.inl.gov
Loading...
Searching...
No Matches
CoefDiffusion.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 "Function.h"
14
15class CoefDiffusion : public Kernel
16{
17public:
19
21
22protected:
23 virtual Real computeQpResidual();
24 virtual Real computeQpJacobian();
25
26private:
27 const Real _coef;
28 const Function * const _func;
29};
static InputParameters validParams()
virtual Real computeQpResidual()
const Function *const _func
const Real _coef
virtual Real computeQpJacobian()
const InputParameters & parameters() const