LCOV - code coverage report
Current view: top level - src/auxkernels - BndsCalcAux.C (source / functions) Hit Total Coverage
Test: idaholab/moose phase_field: #31405 (292dce) with base fef103 Lines: 10 11 90.9 %
Date: 2025-09-04 07:55:36 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 "BndsCalcAux.h"
      11             : #include "BndsCalculator.h"
      12             : 
      13             : registerMooseObject("PhaseFieldApp", BndsCalcAux);
      14             : 
      15             : InputParameters
      16        2185 : BndsCalcAux::validParams()
      17             : {
      18        2185 :   InputParameters params = AuxKernel::validParams();
      19        2185 :   params.addClassDescription("Calculate location of grain boundaries in a polycrystalline sample");
      20        4370 :   params.addRequiredCoupledVarWithAutoBuild(
      21             :       "v", "var_name_base", "op_num", "Array of coupled variables");
      22        2185 :   return params;
      23           0 : }
      24             : 
      25        1150 : BndsCalcAux::BndsCalcAux(const InputParameters & parameters)
      26        1150 :   : AuxKernel(parameters), _op_num(coupledComponents("v")), _vals(coupledValues("v"))
      27             : {
      28        1150 : }
      29             : 
      30             : Real
      31     4672574 : BndsCalcAux::computeValue()
      32             : {
      33     4672574 :   return BndsCalculator::computeBndsVariable(_vals, _qp);
      34             : }

Generated by: LCOV version 1.14