www.mooseframework.org
ComputeNodalKernelBCJacobiansThread.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "MooseMesh.h"
13 #include "ThreadedNodeLoop.h"
15 
17 class AuxiliarySystem;
18 class NodalKernelBase;
19 
21  : public ThreadedNodeLoop<ConstBndNodeRange, ConstBndNodeRange::const_iterator>
22 {
23 public:
27  const std::set<TagID> & tags);
28 
29  // Splitting Constructor
31  Threads::split split);
32 
33  virtual void pre() override;
34 
35  virtual void onNode(ConstBndNodeRange::const_iterator & node_it) override;
36 
37  void join(const ComputeNodalKernelBCJacobiansThread & /*y*/);
38 
39 protected:
41  void printGeneralExecutionInformation() const override;
42 
46 
47  const std::set<TagID> & _tags;
48 
50 
52 
54  unsigned int _num_cached;
55 };
virtual void pre() override
Called before the node range loop.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
Nonlinear system to be solved.
virtual void onNode(ConstBndNodeRange::const_iterator &node_it) override
Called for each node.
void join(const ComputeNodalKernelBCJacobiansThread &)
unsigned int _num_cached
Number of contributions cached up.
MooseObjectWarehouse< NodalKernelBase > * _nkernel_warehouse
tbb::split split
void printGeneralExecutionInformation() const override
Print information about the loop, mostly order of execution of objects.
Base class for creating new types of nodal kernels.
ComputeNodalKernelBCJacobiansThread(FEProblemBase &fe_problem, NonlinearSystemBase &nl, MooseObjectTagWarehouse< NodalKernelBase > &nodal_kernels, const std::set< TagID > &tags)
A system that holds auxiliary variables.
MooseObjectTagWarehouse< NodalKernelBase > & _nodal_kernels