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"
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
51
53};
A system that holds auxiliary variables.
void printGeneralExecutionInformation() const override
Print list of object types executed and in which order.
const MooseObjectWarehouse< AuxKernelType > & _aux_kernels
Storage object containing active AuxKernel objects.
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.
A storage container for MooseObjects that inherit from SetupInterface.
Base class for assembly-like calculations.