LCOV - code coverage report
Current view: top level - src/base - XFEMApp.C (source / functions) Hit Total Coverage
Test: idaholab/moose xfem: #31405 (292dce) with base fef103 Lines: 18 30 60.0 %
Date: 2025-09-04 07:58:55 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 "XFEMApp.h"
      11             : #include "XFEMAppTypes.h"
      12             : #include "SolidMechanicsApp.h"
      13             : #include "Moose.h"
      14             : #include "AppFactory.h"
      15             : #include "MooseSyntax.h"
      16             : 
      17             : InputParameters
      18         424 : XFEMApp::validParams()
      19             : {
      20         424 :   InputParameters params = MooseApp::validParams();
      21             : 
      22         424 :   params.set<bool>("automatic_automatic_scaling") = false;
      23         424 :   params.set<bool>("use_legacy_material_output") = false;
      24         424 :   params.set<bool>("use_legacy_initial_residual_evaluation_behavior") = false;
      25             : 
      26         424 :   return params;
      27           0 : }
      28             : registerKnownLabel("XFEMApp");
      29             : 
      30           0 : XFEMApp::XFEMApp(const InputParameters & parameters) : MooseApp(parameters)
      31             : {
      32           0 :   srand(processor_id());
      33           0 :   XFEMApp::registerAll(_factory, _action_factory, _syntax);
      34           0 : }
      35             : 
      36           0 : XFEMApp::~XFEMApp() {}
      37             : 
      38             : void
      39         424 : XFEMApp::registerAll(Factory & f, ActionFactory & af, Syntax & syntax)
      40             : {
      41         424 :   Registry::registerObjectsTo(f, {"XFEMApp"});
      42         424 :   Registry::registerActionsTo(af, {"XFEMApp"});
      43             : 
      44         424 :   registerTask("setup_xfem", false);
      45         848 :   syntax.addDependency("setup_xfem", "setup_adaptivity");
      46         848 :   registerSyntax("XFEMAction", "XFEM");
      47             : 
      48         424 :   SolidMechanicsApp::registerAll(f, af, syntax);
      49         424 : }
      50             : 
      51             : void
      52         424 : XFEMApp::registerApps()
      53             : {
      54         424 :   registerApp(XFEMApp);
      55             : 
      56         424 :   SolidMechanicsApp::registerApps();
      57         424 : }
      58             : 
      59             : extern "C" void
      60           0 : XFEMApp__registerAll(Factory & f, ActionFactory & af, Syntax & s)
      61             : {
      62           0 :   XFEMApp::registerAll(f, af, s);
      63           0 : }
      64             : extern "C" void
      65           0 : XFEMApp__registerApps()
      66             : {
      67           0 :   XFEMApp::registerApps();
      68           0 : }

Generated by: LCOV version 1.14