https://mooseframework.inl.gov
LinearFVReaction.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 
13 
19 {
20 public:
22 
27  LinearFVReaction(const InputParameters & params);
28 
29  virtual Real computeMatrixContribution() override;
30 
31  virtual Real computeRightHandSideContribution() override;
32 
33 protected:
36 };
This is a wrapper that forwards calls to the implementation, which can be switched out at any time wi...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
LinearFVReaction(const InputParameters &params)
Class constructor.
Finite volume kernel that contributes approximations of volumetric integral terms to the matrix and r...
virtual Real computeMatrixContribution() override
Computes the system matrix contribution for the given variable on the current element.
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Moose::Functor< Real > & _coefficient
The functor for the reaction coefficient.
Kernel that adds contributions from a reaction term discretized using the finite volume method to a l...
virtual Real computeRightHandSideContribution() override
Computes the right hand side contribution for the given variable on the current element.