www.mooseframework.org
ComputeNodalAuxVarsThread.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 COMPUTENODALAUXVARSTHREAD_H
16 #define COMPUTENODALAUXVARSTHREAD_H
17 
18 // MOOSE includes
19 #include "ThreadedNodeLoop.h"
20 
21 #include "libmesh/node_range.h"
22 
23 // Forward declarations
24 class AuxiliarySystem;
25 class AuxKernel;
26 class FEProblemBase;
27 template <typename T>
29 
31  : public ThreadedNodeLoop<ConstNodeRange, ConstNodeRange::const_iterator>
32 {
33 public:
35  const MooseObjectWarehouse<AuxKernel> & storage);
36  // Splitting Constructor
37  ComputeNodalAuxVarsThread(ComputeNodalAuxVarsThread & x, Threads::split split);
38 
39  void onNode(ConstNodeRange::const_iterator & nd);
40 
41  void join(const ComputeNodalAuxVarsThread & /*y*/);
42 
43 protected:
45 
48 };
49 
50 #endif // COMPUTENODALAUXVARSTHREAD_H
void join(const ComputeNodalAuxVarsThread &)
A storage container for MooseObjects that inherit from SetupInterface.
static PetscErrorCode Vec x
void onNode(ConstNodeRange::const_iterator &nd)
Called for each node.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
ComputeNodalAuxVarsThread(FEProblemBase &fe_problem, const MooseObjectWarehouse< AuxKernel > &storage)
Base class for creating new auxiliary kernels and auxiliary boundary conditions.
Definition: AuxKernel.h:51
const MooseObjectWarehouse< AuxKernel > & _storage
Storage object containing active AuxKernel objects.
A system that holds auxiliary variables.