LCOV - code coverage report
Current view: top level - src/actions - AddLinearFVBCAction.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 2bf808 Lines: 10 11 90.9 %
Date: 2025-07-17 01:28:37 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 "AddLinearFVBCAction.h"
      11             : #include "FEProblem.h"
      12             : #include "NonlinearSystem.h"
      13             : 
      14             : registerMooseAction("MooseApp", AddLinearFVBCAction, "add_linear_fv_bc");
      15             : 
      16             : InputParameters
      17        1971 : AddLinearFVBCAction::validParams()
      18             : {
      19        1971 :   InputParameters params = MooseObjectAction::validParams();
      20        1971 :   params.addClassDescription("Add a LinearFVBoundaryCondition object to the simulation.");
      21        1971 :   return params;
      22           0 : }
      23             : 
      24        1768 : AddLinearFVBCAction::AddLinearFVBCAction(const InputParameters & params) : MooseObjectAction(params)
      25             : {
      26        1768 : }
      27             : 
      28             : void
      29        1768 : AddLinearFVBCAction::act()
      30             : {
      31        1768 :   if (_current_task == "add_linear_fv_bc")
      32        1768 :     _problem->addLinearFVBC(_type, _name, _moose_object_pars);
      33        1768 : }

Generated by: LCOV version 1.14