LCOV - code coverage report
Current view: top level - src/parser - SubChannelSyntax.C (source / functions) Hit Total Coverage
Test: idaholab/moose subchannel: #32971 (54bef8) with base c6cf66 Lines: 16 19 84.2 %
Date: 2026-05-29 20:40:47 Functions: 1 1 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 "SubChannelSyntax.h"
      11             : #include "ActionFactory.h"
      12             : #include "Syntax.h"
      13             : 
      14             : namespace SubChannel
      15             : {
      16             : 
      17             : void
      18        1178 : associateSyntax(Syntax & syntax, ActionFactory & /*action_factory*/)
      19             : {
      20        2356 :   registerSyntax("SubChannelAddInitialConditionsAction", "SubChannel");
      21        2356 :   registerSyntax("SubChannelAddVariablesAction", "SubChannel");
      22        2356 :   registerSyntax("SubChannelCreateProblemAction", "SubChannel");
      23             : 
      24        1178 :   registerTask("sch:add_default_ic", false);
      25        1178 :   registerTask("sch:build_subchannel_mesh", false);
      26             : 
      27             :   try
      28             :   {
      29        2356 :     syntax.addDependency("sch:add_default_ic", "add_ics_physics");
      30        2356 :     syntax.addDependency("add_constraint", "sch:add_default_ic");
      31        2356 :     syntax.addDependency("sch:build_subchannel_mesh", "check_copy_nodal_vars");
      32             :   }
      33           0 :   catch (CyclicDependencyException<std::string> & e)
      34             :   {
      35           0 :     mooseError("Cyclic Dependency Detected during addDependency() calls");
      36           0 :   }
      37             : 
      38        2356 :   registerSyntax("QuadSubChannelBuildMeshAction", "QuadSubChannelMesh");
      39        2356 :   registerSyntax("AddMeshGeneratorAction", "QuadSubChannelMesh/*");
      40        2356 :   registerSyntax("AddDefaultSubchannelPartitioner", "QuadSubChannelMesh");
      41             : 
      42        2356 :   registerSyntax("TriSubChannelBuildMeshAction", "TriSubChannelMesh");
      43        2356 :   registerSyntax("AddMeshGeneratorAction", "TriSubChannelMesh/*");
      44        2356 :   registerSyntax("AddDefaultSubchannelPartitioner", "TriSubChannelMesh");
      45        1178 : }
      46             : 
      47             : }

Generated by: LCOV version 1.14