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

Generated by: LCOV version 1.14