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 : }