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

Generated by: LCOV version 1.14