https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ComputeNodalAuxVarsThread.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// MOOSE includes
13#include "ThreadedNodeLoop.h"
14#include "TheWarehouse.h"
15
16#include "libmesh/node_range.h"
17
18// Forward declarations
19class AuxiliarySystem;
20class FEProblemBase;
21
22template <typename AuxKernelType>
24 : public ThreadedNodeLoop<ConstNodeRange, ConstNodeRange::const_iterator>
25{
26public:
28
29 // Splitting Constructor
31
32 void onNode(ConstNodeRange::const_iterator & nd) override;
33
34 void join(const ComputeNodalAuxVarsThread & /*y*/);
35
36 void subdomainChanged();
37
38 void post() override;
39
40protected:
42 void printGeneralExecutionInformation() const override;
43
45
50
51 std::set<SubdomainID> _block_ids;
52
54};
A system that holds auxiliary variables.
std::set< SubdomainID > _block_ids
void printGeneralExecutionInformation() const override
Print information about the loop, mostly order of execution of objects.
void join(const ComputeNodalAuxVarsThread &)
const TheWarehouse::Query _all_kernels_query
Query for every kernel this loop may run, before restricting to a block or boundary.
static Threads::spin_mutex writable_variable_mutex
void onNode(ConstNodeRange::const_iterator &nd) override
TheWarehouse::QueryCache< AttribThread, AttribSubdomains > _query_subdomain
void post() override
Called after the node range loop.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
QueryCache is a convenient way to construct and pass around (possible partially constructed) warehous...
query_obj query