LCOV - code coverage report
Current view: top level - include/userobjects - ThreadedRadialAverageLoop.h (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 2bf808 Lines: 2 2 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             : #include "RadialAverage.h"
      13             : 
      14             : #include "libmesh/nanoflann.hpp"
      15             : 
      16             : using QPDataRange =
      17             :     StoredRange<std::vector<RadialAverage::QPData>::const_iterator, RadialAverage::QPData>;
      18             : 
      19             : /**
      20             :  * RadialAverage threaded loop
      21             :  */
      22             : class ThreadedRadialAverageLoop
      23             : {
      24             : public:
      25             :   ThreadedRadialAverageLoop(RadialAverage &);
      26             : 
      27             :   /// Splitting constructor
      28             :   ThreadedRadialAverageLoop(const ThreadedRadialAverageLoop & x, Threads::split split);
      29             : 
      30             :   /// dummy virtual destructor
      31         144 :   virtual ~ThreadedRadialAverageLoop() {}
      32             : 
      33             :   /// parens operator with the code that is executed in threads
      34             :   void operator()(const QPDataRange & range);
      35             : 
      36             :   /// thread join method
      37          12 :   virtual void join(const ThreadedRadialAverageLoop & /*x*/) {}
      38             : 
      39             : protected:
      40             :   /// rasterizer to manage the sample data
      41             :   RadialAverage & _radavg;
      42             : 
      43             :   /// ID number of the current thread
      44             :   THREAD_ID _tid;
      45             : 
      46             : private:
      47             : };

Generated by: LCOV version 1.14