LCOV - code coverage report
Current view: top level - src/parser - SubChannelSyntax.C (source / functions) Hit Total Coverage
Test: idaholab/moose subchannel: #31405 (292dce) with base fef103 Lines: 14 17 82.4 %
Date: 2025-09-04 07:58:06 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        1432 : associateSyntax(Syntax & syntax, ActionFactory & /*action_factory*/)
      19             : {
      20        2864 :   registerSyntax("SubChannelAddVariablesAction", "SubChannel");
      21        2864 :   registerSyntax("SubChannelCreateProblemAction", "SubChannel");
      22             : 
      23        1432 :   registerTask("sch:build_subchannel_mesh", false);
      24             : 
      25             :   try
      26             :   {
      27        2864 :     syntax.addDependency("sch:build_subchannel_mesh", "check_copy_nodal_vars");
      28             :   }
      29           0 :   catch (CyclicDependencyException<std::string> & e)
      30             :   {
      31           0 :     mooseError("Cyclic Dependency Detected during addDependency() calls");
      32           0 :   }
      33             : 
      34        2864 :   registerSyntax("QuadSubChannelBuildMeshAction", "QuadSubChannelMesh");
      35        2864 :   registerSyntax("AddMeshGeneratorAction", "QuadSubChannelMesh/*");
      36             : 
      37        2864 :   registerSyntax("QuadInterWrapperBuildMeshAction", "QuadInterWrapperMesh");
      38        2864 :   registerSyntax("AddMeshGeneratorAction", "QuadInterWrapperMesh/*");
      39             : 
      40        2864 :   registerSyntax("TriSubChannelBuildMeshAction", "TriSubChannelMesh");
      41        2864 :   registerSyntax("AddMeshGeneratorAction", "TriSubChannelMesh/*");
      42             : 
      43        2864 :   registerSyntax("TriInterWrapperBuildMeshAction", "TriInterWrapperMesh");
      44        2864 :   registerSyntax("AddMeshGeneratorAction", "TriInterWrapperMesh/*");
      45        1432 : }
      46             : 
      47             : }

Generated by: LCOV version 1.14