https://mooseframework.inl.gov
FVHarmonicAverage.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 #include "FVInterpolationMethod.h"
14 
19 {
20 public:
22 
23  FVHarmonicAverage(const InputParameters & params);
24 
26 
27  Real interpolate(const FaceInfo & face, Real elem_value, Real neighbor_value) const override;
28 };
static InputParameters validParams()
virtual Real interpolate(const FaceInfo &face, Real elem_value, Real neighbor_value) const =0
Face interpolation operation for this method.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Registered base class for linear FV interpolation objects.
FVHarmonicAverage(const InputParameters &params)
This data structure is used to store geometric and variable related metadata about each cell face in ...
Definition: FaceInfo.h:37
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Real interpolate(const FaceInfo &face, Real elem_value, Real neighbor_value) const override
Face interpolation operation for this method.
Abstract base class for interpolation methods that produce a scalar face value from adjacent cell val...
Harmonic-mean interpolation using the geometric weighting stored on FaceInfo.