https://mooseframework.inl.gov
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
FVInterpolationMethodInterface Class Reference

Helper interface for objects that need access to FVInterpolationMethod instances. More...

#include <FVInterpolationMethodInterface.h>

Inheritance diagram for FVInterpolationMethodInterface:
[legend]

Public Member Functions

 FVInterpolationMethodInterface (const MooseObject *moose_object)
 
const FVFaceInterpolationMethodgetFVFaceInterpolationMethod (const InterpolationMethodName &name) const
 
const FVAdvectedInterpolationMethodgetFVAdvectedInterpolationMethod (const InterpolationMethodName &name) const
 
bool hasFVInterpolationMethod (const InterpolationMethodName &name) const
 

Static Public Member Functions

static InputParameters validParams ()
 

Protected Attributes

const InputParameters_fvim_params
 
FEProblemBase_fvim_feproblem
 
const THREAD_ID _fvim_tid
 

Detailed Description

Helper interface for objects that need access to FVInterpolationMethod instances.

Definition at line 23 of file FVInterpolationMethodInterface.h.

Constructor & Destructor Documentation

◆ FVInterpolationMethodInterface()

FVInterpolationMethodInterface::FVInterpolationMethodInterface ( const MooseObject moose_object)

Definition at line 22 of file FVInterpolationMethodInterface.C.

23  : _fvim_params(moose_object->parameters()),
26  : 0)
27 {
28 }
std::vector< std::pair< R1, R2 > > get(const std::string &param1, const std::string &param2) const
Combine two vector parameters into a single vector of pairs.
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseBase.h:131
T getCheckedPointerParam(const std::string &name, const std::string &error_string="") const
Verifies that the requested parameter exists and is not NULL and returns it to the caller...
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
bool have_parameter(std::string_view name) const
A wrapper around the Parameters base class method.
unsigned int THREAD_ID
Definition: MooseTypes.h:237

Member Function Documentation

◆ getFVAdvectedInterpolationMethod()

const FVAdvectedInterpolationMethod & FVInterpolationMethodInterface::getFVAdvectedInterpolationMethod ( const InterpolationMethodName &  name) const

Definition at line 38 of file FVInterpolationMethodInterface.C.

40 {
42 }
const FVAdvectedInterpolationMethod & getFVAdvectedInterpolationMethod(const InterpolationMethodName &name, const THREAD_ID tid=0) const
Retrieve an advected interpolation method.

◆ getFVFaceInterpolationMethod()

const FVFaceInterpolationMethod & FVInterpolationMethodInterface::getFVFaceInterpolationMethod ( const InterpolationMethodName &  name) const

Definition at line 31 of file FVInterpolationMethodInterface.C.

33 {
35 }
const FVFaceInterpolationMethod & getFVFaceInterpolationMethod(const InterpolationMethodName &name, const THREAD_ID tid=0) const
Retrieve a scalar face interpolation method.

◆ hasFVInterpolationMethod()

bool FVInterpolationMethodInterface::hasFVInterpolationMethod ( const InterpolationMethodName &  name) const

Definition at line 45 of file FVInterpolationMethodInterface.C.

46 {
48 }
bool hasFVInterpolationMethod(const InterpolationMethodName &name) const
Check if an FV interpolation method with a given name exists.

◆ validParams()

InputParameters FVInterpolationMethodInterface::validParams ( )
static

Definition at line 17 of file FVInterpolationMethodInterface.C.

18 {
19  return emptyInputParameters();
20 }
InputParameters emptyInputParameters()

Member Data Documentation

◆ _fvim_feproblem

FEProblemBase& FVInterpolationMethodInterface::_fvim_feproblem
protected

◆ _fvim_params

const InputParameters& FVInterpolationMethodInterface::_fvim_params
protected

Definition at line 39 of file FVInterpolationMethodInterface.h.

◆ _fvim_tid

const THREAD_ID FVInterpolationMethodInterface::_fvim_tid
protected

The documentation for this class was generated from the following files: