https://mooseframework.inl.gov
ThreadedRadialAverageLoop.h
Go to the documentation of this file.
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 
23 {
24 public:
26 
29 
32 
34  void operator()(const QPDataRange & range);
35 
37  virtual void join(const ThreadedRadialAverageLoop & /*x*/) {}
38 
39 protected:
42 
45 
46 private:
47 };
virtual ~ThreadedRadialAverageLoop()
dummy virtual destructor
virtual void join(const ThreadedRadialAverageLoop &)
thread join method
void operator()(const QPDataRange &range)
parens operator with the code that is executed in threads
quadrature point data
Definition: RadialAverage.h:49
StoredRange< std::vector< RadialAverage::QPData >::const_iterator, RadialAverage::QPData > QPDataRange
RadialAverage & _radavg
rasterizer to manage the sample data
RadialAverage threaded loop.
tbb::split split
THREAD_ID _tid
ID number of the current thread.
Gather and communicate a full list of all quadrature points and the values of a selected material pro...
Definition: RadialAverage.h:33
unsigned int THREAD_ID
Definition: MooseTypes.h:209