https://mooseframework.inl.gov
LinearFVDivergence.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 "LinearFVFluxKernel.h"
13 
19 {
20 public:
22 
27  LinearFVDivergence(const InputParameters & params);
28 
29  virtual Real computeElemMatrixContribution() override;
30 
31  virtual Real computeNeighborMatrixContribution() override;
32 
33  virtual Real computeElemRightHandSideContribution() override;
34 
36 
38 
40 
41 protected:
42  // Computes and caches the face flux contributions for the same face.
44 
47 
50 };
Kernel that adds contributions from an advection term discretized using the finite volume method to a...
virtual Real computeNeighborMatrixContribution() override
const Moose::Functor< Real > & _face_flux
The functor for the face flux.
virtual Real computeBoundaryMatrixContribution(const LinearFVBoundaryCondition &bc) override
static InputParameters validParams()
virtual Real computeBoundaryRHSContribution(const LinearFVBoundaryCondition &bc) override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Real _flux_rhs_contribution
The cached right hand side contribution.
LinearFVDivergence(const InputParameters &params)
Class constructor.
virtual Real computeNeighborRightHandSideContribution() override
virtual Real computeElemMatrixContribution() override
virtual Real computeElemRightHandSideContribution() override