https://mooseframework.inl.gov
MaxQpsThread.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 "MooseTypes.h"
13 
14 #include "libmesh/elem_range.h"
15 #include "libmesh/enum_order.h"
16 #include "libmesh/enum_quadrature_type.h"
17 
18 // Forward declarations
19 class FEProblemBase;
20 
28 {
29 public:
30  MaxQpsThread(FEProblemBase & fe_problem);
31 
32  // Splitting Constructor
34 
35  void operator()(const libMesh::ConstElemRange & range);
36 
37  void join(const MaxQpsThread & y);
38 
39  unsigned int max() const { return _max; }
40 
41 protected:
43 
45 
47  unsigned int _max;
48 };
This class determines the maximum number of Quadrature Points and Shape Functions used for a given si...
Definition: MaxQpsThread.h:27
unsigned int _max
Maximum number of qps encountered.
Definition: MaxQpsThread.h:47
void join(const MaxQpsThread &y)
Definition: MaxQpsThread.C:82
unsigned int max() const
Definition: MaxQpsThread.h:39
void operator()(const libMesh::ConstElemRange &range)
Definition: MaxQpsThread.C:29
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
FEProblemBase & _fe_problem
Definition: MaxQpsThread.h:42
tbb::split split
MaxQpsThread(FEProblemBase &fe_problem)
Definition: MaxQpsThread.C:20
THREAD_ID _tid
Definition: MaxQpsThread.h:44
unsigned int THREAD_ID
Definition: MooseTypes.h:209