https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
19class FEProblemBase;
20
28{
29public:
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
41protected:
43
45
47 unsigned int _max;
48};
unsigned int THREAD_ID
Definition MooseTypes.h:237
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
This class determines the maximum number of Quadrature Points and Shape Functions used for a given si...
unsigned int max() const
void operator()(const libMesh::ConstElemRange &range)
unsigned int _max
Maximum number of qps encountered.
FEProblemBase & _fe_problem
void join(const MaxQpsThread &y)
THREAD_ID _tid