www.mooseframework.org
ComputeNodalKernelBcsThread.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
15 #ifndef COMPUTENODALKERNELBCSTHREAD_H
16 #define COMPUTENODALKERNELBCSTHREAD_H
17 
18 #include "MooseMesh.h"
19 #include "ThreadedNodeLoop.h"
20 
21 class AuxiliarySystem;
22 class NodalKernel;
23 
25  : public ThreadedNodeLoop<ConstBndNodeRange, ConstBndNodeRange::const_iterator>
26 {
27 public:
29  const MooseObjectWarehouse<NodalKernel> & nodal_kernels);
30  // Splitting Constructor
32 
33  virtual void pre() override;
34 
35  virtual void onNode(ConstBndNodeRange::const_iterator & node_it) override;
36 
37  void join(const ComputeNodalKernelBcsThread & /*y*/);
38 
39 protected:
41 
43 
44  // Number of contributions cached up
45  unsigned int _num_cached;
46 };
47 
48 #endif // COMPUTENODALKERNELBCSTHREAD_H
virtual void pre() override
Called before the node range loop.
static PetscErrorCode Vec x
virtual void onNode(ConstBndNodeRange::const_iterator &node_it) override
Called for each node.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
ComputeNodalKernelBcsThread(FEProblemBase &fe_problem, const MooseObjectWarehouse< NodalKernel > &nodal_kernels)
const MooseObjectWarehouse< NodalKernel > & _nodal_kernels
void join(const ComputeNodalKernelBcsThread &)
Base class for creating new types of boundary conditions.
Definition: NodalKernel.h:50
A system that holds auxiliary variables.