LCOV - code coverage report
Current view: top level - src/base - GeochemistryApp.C (source / functions) Hit Total Coverage
Test: idaholab/moose geochemistry: 602416 Lines: 21 32 65.6 %
Date: 2025-07-18 11:37:48 Functions: 3 8 37.5 %
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 "GeochemistryApp.h"
      11             : #include "Moose.h"
      12             : #include "AppFactory.h"
      13             : #include "MooseSyntax.h"
      14             : 
      15             : InputParameters
      16         792 : GeochemistryApp::validParams()
      17             : {
      18         792 :   InputParameters params = MooseApp::validParams();
      19             : 
      20         792 :   params.set<bool>("use_legacy_material_output") = false;
      21         792 :   params.set<bool>("use_legacy_initial_residual_evaluation_behavior") = false;
      22             : 
      23         792 :   return params;
      24           0 : }
      25             : 
      26             : registerKnownLabel("GeochemistryApp");
      27             : 
      28           0 : GeochemistryApp::GeochemistryApp(const InputParameters & parameters) : MooseApp(parameters)
      29             : {
      30           0 :   GeochemistryApp::registerAll(_factory, _action_factory, _syntax);
      31           0 : }
      32             : 
      33           0 : GeochemistryApp::~GeochemistryApp() {}
      34             : 
      35             : void
      36         792 : GeochemistryApp::registerAll(Factory & f, ActionFactory & af, Syntax & syntax)
      37             : {
      38        2376 :   Registry::registerObjectsTo(f, {"GeochemistryApp"});
      39        2376 :   Registry::registerActionsTo(af, {"GeochemistryApp"});
      40             : 
      41        1584 :   registerSyntax("AddGeochemicalModelInterrogatorAction", "GeochemicalModelInterrogator");
      42             : 
      43        1584 :   registerSyntax("AddTimeIndependentReactionSolverAction", "TimeIndependentReactionSolver");
      44        1584 :   registerSyntax("AddTimeDependentReactionSolverAction", "TimeDependentReactionSolver");
      45        1584 :   registerSyntax("AddSpatialReactionSolverAction", "SpatialReactionSolver");
      46             : 
      47        1584 :   registerMooseObjectTask("add_geochemistry_reactor", AddGeochemistrySolverAction, false);
      48        1584 :   addTaskDependency("add_geochemistry_reactor",
      49             :                     "add_user_object"); // depends on the GeochemicalModelDefinition
      50             : 
      51        1584 :   registerMooseObjectTask("add_geochemistry_molality_aux", AddGeochemistrySolverAction, false);
      52        1584 :   addTaskDependency("add_geochemistry_molality_aux",
      53             :                     "add_geochemistry_reactor"); // depends on the GeochemistryReactor
      54        1584 :   addTaskDependency("add_distribution", "add_geochemistry_molality_aux");
      55        3168 : }
      56             : 
      57             : void
      58         792 : GeochemistryApp::registerApps()
      59             : {
      60         792 :   registerApp(GeochemistryApp);
      61         792 : }
      62             : 
      63             : /***************************************************************************************************
      64             :  *********************** Dynamic Library Entry Points - DO NOT MODIFY ******************************
      65             :  **************************************************************************************************/
      66             : extern "C" void
      67           0 : GeochemistryApp__registerAll(Factory & f, ActionFactory & af, Syntax & s)
      68             : {
      69           0 :   GeochemistryApp::registerAll(f, af, s);
      70           0 : }
      71             : extern "C" void
      72           0 : GeochemistryApp__registerApps()
      73             : {
      74           0 :   GeochemistryApp::registerApps();
      75           0 : }

Generated by: LCOV version 1.14