https://mooseframework.inl.gov
FVInterpolationMethodInterface.C
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 
11 
14 #include "FEProblemBase.h"
15 
18 {
19  return emptyInputParameters();
20 }
21 
23  : _fvim_params(moose_object->parameters()),
24  _fvim_feproblem(*_fvim_params.getCheckedPointerParam<FEProblemBase *>("_fe_problem_base")),
25  _fvim_tid(_fvim_params.have_parameter<THREAD_ID>("_tid") ? _fvim_params.get<THREAD_ID>("_tid")
26  : 0)
27 {
28 }
29 
32  const InterpolationMethodName & name) const
33 {
35 }
36 
39  const InterpolationMethodName & name) const
40 {
42 }
43 
44 bool
45 FVInterpolationMethodInterface::hasFVInterpolationMethod(const InterpolationMethodName & name) const
46 {
48 }
std::string name(const ElemQuality q)
const FVFaceInterpolationMethod & getFVFaceInterpolationMethod(const InterpolationMethodName &name) const
Interface for interpolation methods that provide matrix and RHS contributions for advected face value...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
bool hasFVInterpolationMethod(const InterpolationMethodName &name) const
const FVAdvectedInterpolationMethod & getFVAdvectedInterpolationMethod(const InterpolationMethodName &name) const
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
InputParameters emptyInputParameters()
bool hasFVInterpolationMethod(const InterpolationMethodName &name) const
Check if an FV interpolation method with a given name exists.
Every object that can be built by the factory should be derived from this class.
Definition: MooseObject.h:28
FVInterpolationMethodInterface(const MooseObject *moose_object)
const FVAdvectedInterpolationMethod & getFVAdvectedInterpolationMethod(const InterpolationMethodName &name, const THREAD_ID tid=0) const
Retrieve an advected interpolation method.
const FVFaceInterpolationMethod & getFVFaceInterpolationMethod(const InterpolationMethodName &name, const THREAD_ID tid=0) const
Retrieve a scalar face interpolation method.
Abstract base class for interpolation methods that produce a scalar face value from adjacent cell val...
const Elem & get(const ElemType type_in)
unsigned int THREAD_ID
Definition: MooseTypes.h:237