https://mooseframework.inl.gov
GatherRCDataElementThread.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 "ThreadedElementLoop.h"
13 
14 #include "libmesh/elem_range.h"
15 
17 
23 class GatherRCDataElementThread : public ThreadedElementLoop<ConstElemRange>
24 {
25 public:
27  const unsigned int _nl_sys_number,
28  const std::vector<unsigned int> & vars);
29 
30  // Splitting Constructor
32 
34 
35 protected:
36  void subdomainChanged() override final;
37  void onElement(const Elem * elem) override final;
38 
39  const unsigned int _nl_system_num;
40 
41 private:
43  const std::vector<unsigned int> & _vars;
44 
47 };
A class that gathers body force data from elemental kernels contributing to the Navier-Stokes momentu...
void subdomainChanged() override final
void onElement(const Elem *elem) override final
GatherRCDataElementThread(FEProblemBase &fe_problem, const unsigned int _nl_sys_number, const std::vector< unsigned int > &vars)
char ** vars
std::vector< INSFVMomentumResidualObject * > _insfv_elemental_kernels
The collection of elemental kernels that contributive to the momentum equation residuals.
void join(const GatherRCDataElementThread &)
const std::vector< unsigned int > & _vars
The velocity variable numbers.
const std::vector< double > x
All objects that contribute to pressure-based (e.g.
tbb::split split