LCOV - code coverage report
Current view: top level - src/kokkos/postprocessors - KokkosSideVariablePostprocessor.K (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #32971 (54bef8) with base c6cf66 Lines: 9 10 90.0 %
Date: 2026-05-29 20:35:17 Functions: 2 2 100.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 "KokkosSideVariablePostprocessor.h"
      11             : 
      12             : #include "MooseVariable.h"
      13             : #include "SubProblem.h"
      14             : #include "MooseTypes.h"
      15             : 
      16             : InputParameters
      17        2370 : KokkosSideVariablePostprocessor::validParams()
      18             : {
      19        2370 :   InputParameters params = SidePostprocessor::validParams();
      20        7110 :   params.addRequiredCoupledVar("variable",
      21             :                                "The name of the variable that this postprocessor operates on");
      22        2370 :   return params;
      23           0 : }
      24             : 
      25         456 : KokkosSideVariablePostprocessor::KokkosSideVariablePostprocessor(const InputParameters & parameters)
      26             :   : SidePostprocessor(parameters),
      27             :     MooseVariableInterface<Real>(this,
      28             :                                  false,
      29             :                                  "variable",
      30             :                                  Moose::VarKindType::VAR_ANY,
      31             :                                  Moose::VarFieldType::VAR_FIELD_STANDARD),
      32          72 :     _u(kokkosCoupledValue("variable")),
      33         360 :     _grad_u(kokkosCoupledGradient("variable"))
      34             : {
      35         136 :   addMooseVariableDependency(&mooseVariableField());
      36         136 : }

Generated by: LCOV version 1.14