LCOV - code coverage report
Current view: top level - src/executioners - SIMPLE.C (source / functions) Hit Total Coverage
Test: idaholab/moose navier_stokes: #30147 (60ebe6) with base a7b98a Lines: 15 16 93.8 %
Date: 2025-04-01 16:38:24 Functions: 3 3 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             : // MOOSE includes
      11             : #include "SIMPLE.h"
      12             : #include "FEProblem.h"
      13             : 
      14             : using namespace libMesh;
      15             : 
      16             : registerMooseObject("NavierStokesApp", SIMPLE);
      17             : 
      18             : InputParameters
      19         628 : SIMPLE::validParams()
      20             : {
      21         628 :   InputParameters params = SteadyBase::validParams();
      22         628 :   params.addClassDescription("Solves the Navier-Stokes equations using the SIMPLE algorithm and "
      23             :                              "linear finite volume variables.");
      24         628 :   params += SIMPLESolve::validParams();
      25             : 
      26         628 :   return params;
      27           0 : }
      28             : 
      29         314 : SIMPLE::SIMPLE(const InputParameters & parameters) : SteadyBase(parameters), _simple_solve(*this)
      30             : {
      31         314 :   _fixed_point_solve->setInnerSolve(_simple_solve);
      32         314 : }
      33             : 
      34             : void
      35         314 : SIMPLE::init()
      36             : {
      37         314 :   _problem.execute(EXEC_PRE_MULTIAPP_SETUP);
      38         314 :   _problem.initialSetup();
      39         314 :   _simple_solve.checkIntegrity();
      40         314 :   _simple_solve.linkRhieChowUserObject();
      41         314 :   _simple_solve.setupPressurePin();
      42         314 : }

Generated by: LCOV version 1.14