LCOV - code coverage report
Current view: top level - src/interfaces - FVInterpolationMethodInterface.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #32971 (54bef8) with base c6cf66 Lines: 7 13 53.8 %
Date: 2026-05-29 20:35:17 Functions: 2 5 40.0 %
Legend: Lines: hit not hit

          Line data    Source code
       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             : #include "FVInterpolationMethodInterface.h"
      11             : 
      12             : #include "FVAdvectedInterpolationMethod.h"
      13             : #include "FVFaceInterpolationMethod.h"
      14             : #include "FEProblemBase.h"
      15             : 
      16             : InputParameters
      17           0 : FVInterpolationMethodInterface::validParams()
      18             : {
      19           0 :   return emptyInputParameters();
      20             : }
      21             : 
      22        1116 : FVInterpolationMethodInterface::FVInterpolationMethodInterface(const MooseObject * moose_object)
      23        1116 :   : _fvim_params(moose_object->parameters()),
      24        4464 :     _fvim_feproblem(*_fvim_params.getCheckedPointerParam<FEProblemBase *>("_fe_problem_base")),
      25        1116 :     _fvim_tid(_fvim_params.have_parameter<THREAD_ID>("_tid") ? _fvim_params.get<THREAD_ID>("_tid")
      26             :                                                              : 0)
      27             : {
      28        1116 : }
      29             : 
      30             : const FVFaceInterpolationMethod &
      31           0 : FVInterpolationMethodInterface::getFVFaceInterpolationMethod(
      32             :     const InterpolationMethodName & name) const
      33             : {
      34           0 :   return _fvim_feproblem.getFVFaceInterpolationMethod(name, _fvim_tid);
      35             : }
      36             : 
      37             : const FVAdvectedInterpolationMethod &
      38         571 : FVInterpolationMethodInterface::getFVAdvectedInterpolationMethod(
      39             :     const InterpolationMethodName & name) const
      40             : {
      41         571 :   return _fvim_feproblem.getFVAdvectedInterpolationMethod(name, _fvim_tid);
      42             : }
      43             : 
      44             : bool
      45           0 : FVInterpolationMethodInterface::hasFVInterpolationMethod(const InterpolationMethodName & name) const
      46             : {
      47           0 :   return _fvim_feproblem.hasFVInterpolationMethod(name);
      48             : }

Generated by: LCOV version 1.14