www.mooseframework.org
ResetDisplacedMeshThread.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 // MOOSE includes
13 #include "ThreadedNodeLoop.h"
14 
15 #include "libmesh/node_range.h"
16 #include "libmesh/numeric_vector.h"
17 
18 // Forward declarations
19 class DisplacedProblem;
20 class FEProblemBase;
21 class MooseMesh;
22 
23 class ResetDisplacedMeshThread : public ThreadedNodeLoop<NodeRange, NodeRange::const_iterator>
24 {
25 public:
26  ResetDisplacedMeshThread(FEProblemBase & fe_problem, DisplacedProblem & displaced_problem);
27 
29 
30  void onNode(NodeRange::const_iterator & nd);
31 
32  void join(const ResetDisplacedMeshThread & /*y*/);
33 
34 protected:
37 };
38 
void onNode(NodeRange::const_iterator &nd)
Called for each node.
static PetscErrorCode Vec x
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
std::vector< std::string > split(const std::string &str, const std::string &delimiter)
Python like split function for strings.
Definition: MooseUtils.C:784
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