LCOV - code coverage report
Current view: top level - src/actions - AddDGKernelAction.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 2bf808 Lines: 9 10 90.0 %
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 "AddDGKernelAction.h"
      11             : #include "FEProblem.h"
      12             : #include "NonlinearSystem.h"
      13             : 
      14             : registerMooseAction("MooseApp", AddDGKernelAction, "add_dg_kernel");
      15             : 
      16             : InputParameters
      17        1463 : AddDGKernelAction::validParams()
      18             : {
      19        1463 :   InputParameters params = MooseObjectAction::validParams();
      20        1463 :   params.addClassDescription("Add a DGKernel object to the simulation.");
      21        1463 :   return params;
      22           0 : }
      23             : 
      24        1260 : AddDGKernelAction::AddDGKernelAction(const InputParameters & params) : MooseObjectAction(params) {}
      25             : 
      26             : void
      27        1252 : AddDGKernelAction::act()
      28             : {
      29        1252 :   if (_current_task == "add_dg_kernel")
      30        1252 :     _problem->addDGKernel(_type, _name, _moose_object_pars);
      31        1248 : }

Generated by: LCOV version 1.14