https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ComputeElemAuxVarsThread.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 "libmesh/elem_range.h"
13
14// MOOSE includes
15#include "ThreadedElementLoop.h"
16#include "TheWarehouse.h"
17
18// Forward declarations
19class FEProblemBase;
20class AuxiliarySystem;
21
22template <typename AuxKernelType>
23class ComputeElemAuxVarsThread : public ThreadedElementLoop<ConstElemRange>
24{
25public:
28 bool need_materials);
29 // Splitting Constructor
31
33
34 virtual void subdomainChanged() override;
35 virtual void onElement(const Elem * elem) override;
36 virtual void post() override;
37
38 void join(const ComputeElemAuxVarsThread & /*y*/);
39
40protected:
42 void printGeneralExecutionInformation() const override;
43
45 void printBlockExecutionInformation() const override;
46
48
54
56};
A system that holds auxiliary variables.
TheWarehouse::QueryCache< AttribThread, AttribSubdomains > _query_subdomain
mutable since printBlockExecutionInformation() is const but the query cache still mutates
void printGeneralExecutionInformation() const override
Print list of object types executed and in which order.
const TheWarehouse::Query _all_kernels_query
Query for every kernel this loop may run, before restricting to a block or boundary.
virtual void post() override
Called after the element range loop.
virtual void onElement(const Elem *elem) override
Assembly of the element (not including surface assembly)
void join(const ComputeElemAuxVarsThread &)
virtual void subdomainChanged() override
Called every time the current subdomain changes (i.e.
void printBlockExecutionInformation() const override
Print list of specific objects executed and in which order.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
QueryCache is a convenient way to construct and pass around (possible partially constructed) warehous...
Base class for assembly-like calculations.
query_obj query