www.mooseframework.org
ResetDisplacedMeshThread.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 RESETDISPLACEDMESHTHREAD_H
16 #define RESETDISPLACEDMESHTHREAD_H
17 
18 // MOOSE includes
19 #include "ThreadedNodeLoop.h"
20 
21 #include "libmesh/node_range.h"
22 #include "libmesh/numeric_vector.h"
23 
24 // Forward declarations
25 class DisplacedProblem;
26 class FEProblemBase;
27 class MooseMesh;
28 
29 class ResetDisplacedMeshThread : public ThreadedNodeLoop<NodeRange, NodeRange::const_iterator>
30 {
31 public:
32  ResetDisplacedMeshThread(FEProblemBase & fe_problem, DisplacedProblem & displaced_problem);
33 
34  ResetDisplacedMeshThread(ResetDisplacedMeshThread & x, Threads::split split);
35 
36  void onNode(NodeRange::const_iterator & nd);
37 
38  void join(const ResetDisplacedMeshThread & /*y*/);
39 
40 protected:
43 };
44 
45 #endif /* RESETDISPLACEDMESHTHREAD_H */
void onNode(NodeRange::const_iterator &nd)
Called for each node.
static PetscErrorCode Vec x
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
Definition: MooseMesh.h:74
void join(const ResetDisplacedMeshThread &)
ResetDisplacedMeshThread(FEProblemBase &fe_problem, DisplacedProblem &displaced_problem)
DisplacedProblem & _displaced_problem