LCOV - code coverage report
Current view: top level - include/positions - MultiAppPositions.h (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 2bf808 Lines: 5 5 100.0 %
Date: 2025-07-17 01:28:37 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             : #pragma once
      11             : 
      12             : // Moose includes
      13             : #include "Positions.h"
      14             : 
      15             : /**
      16             :  * Positions from all the MultiApps
      17             :  */
      18             : class MultiAppPositions : public Positions
      19             : {
      20             : public:
      21             :   static InputParameters validParams();
      22             :   MultiAppPositions(const InputParameters & parameters);
      23         482 :   virtual ~MultiAppPositions() = default;
      24             : 
      25             :   // MultiApp positions are not known at construction
      26             :   void initialize() override;
      27             : 
      28             :   // Since we did not initialize on construction, initialize on setup by default
      29         252 :   void initialSetup() override
      30             :   {
      31         252 :     initialize();
      32         248 :     finalize();
      33         248 :   }
      34             : 
      35             :   /// Whether to use the subapp mesh centroids to compute the positions, further translated by the positions
      36             :   const bool _use_apps_centroid;
      37             : };

Generated by: LCOV version 1.14