https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
20public:
22
27 LinearFVReaction(const InputParameters & params);
28
29 virtual Real computeMatrixContribution() override;
30
31 virtual Real computeRightHandSideContribution() override;
32
33protected:
36};
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Finite volume kernel that contributes approximations of volumetric integral terms to the matrix and r...
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.
static InputParameters validParams()
const Moose::Functor< Real > & _coefficient
The functor for the reaction coefficient.
virtual Real computeMatrixContribution() override
Computes the system matrix contribution for the given variable on the current element.
This is a wrapper that forwards calls to the implementation, which can be switched out at any time wi...