LCOV - code coverage report
Current view: top level - src/auxkernels - TagVectorArrayVariableValueAux.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 9a5f1f Lines: 11 12 91.7 %
Date: 2026-06-21 21:23:42 Functions: 3 3 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 "TagVectorArrayVariableValueAux.h"
      11             : 
      12             : registerMooseObject("MooseApp", TagVectorArrayVariableValueAux);
      13             : 
      14             : InputParameters
      15        3092 : TagVectorArrayVariableValueAux::validParams()
      16             : {
      17        3092 :   InputParameters params = TagAuxBase<ArrayAuxKernel>::validParams();
      18             : 
      19       12368 :   params.addRequiredParam<TagName>("vector_tag", "Tag Name this Aux works on");
      20        3092 :   params.addClassDescription("Couple a tagged vector, and return its array value.");
      21        3092 :   return params;
      22           0 : }
      23             : 
      24          19 : TagVectorArrayVariableValueAux::TagVectorArrayVariableValueAux(const InputParameters & parameters)
      25          76 :   : TagAuxBase<ArrayAuxKernel>(parameters), _v(coupledVectorTagArrayValue("v", "vector_tag"))
      26             : {
      27          38 :   checkCoupledVariable(getArrayVar("v", 0), &_var);
      28          13 : }
      29             : 
      30             : RealEigenVector
      31         225 : TagVectorArrayVariableValueAux::computeValue()
      32             : {
      33         225 :   return _v[_qp];
      34             : }

Generated by: LCOV version 1.14