#include <ResetDisplacedMeshThread.h>
Definition at line 23 of file ResetDisplacedMeshThread.h.
◆ ResetDisplacedMeshThread() [1/2]
◆ ResetDisplacedMeshThread() [2/2]
◆ caughtMooseException()
Called if a MooseException is caught anywhere during the computation.
The single input parameter taken is a MooseException object.
Definition at line 56 of file ThreadedNodeLoop.h.
60 std::string what(e.
what());
virtual const char * what() const
Get out the error message.
virtual void setException(const std::string &message)
Set an exception, which is stored at this point by toggling a member variable in this class...
FEProblemBase & _fe_problem
static Threads::spin_mutex threaded_node_mutex
◆ join()
◆ keepGoing()
Whether or not the loop should continue.
- Returns
- true to keep going, false to stop.
Definition at line 69 of file ThreadedNodeLoop.h.
FEProblemBase & _fe_problem
virtual bool hasException()
Whether or not an exception has occurred.
◆ onNode()
void ResetDisplacedMeshThread::onNode |
( |
NodeRange::const_iterator & |
node_it | ) |
|
|
virtual |
Called for each node.
Reimplemented from ThreadedNodeLoop< NodeRange, NodeRange::const_iterator >.
Definition at line 33 of file ResetDisplacedMeshThread.C.
35 Node & displaced_node = **nd;
42 displaced_node(i) = reference_node(i);
static constexpr std::size_t dim
This is the dimension of all vector and tensor datastructures used in MOOSE.
virtual const Node & nodeRef(const dof_id_type i) const
IntRange< T > make_range(T beg, T end)
◆ operator()()
Definition at line 94 of file ThreadedNodeLoop.h.
104 for (IteratorType nd = range.begin(); nd != range.end(); ++nd)
virtual void printGeneralExecutionInformation() const
Print information about the loop, mostly order of execution of objects.
virtual void caughtMooseException(MooseException &e)
Called if a MooseException is caught anywhere during the computation.
virtual bool keepGoing()
Whether or not the loop should continue.
Provides a way for users to bail out of the current solve.
virtual void pre()
Called before the node range loop.
virtual void post()
Called after the node range loop.
virtual void postNode(NodeRange::const_iterator &node_it)
Called after the node assembly is done (including surface assembling)
virtual void onNode(NodeRange::const_iterator &node_it)
Called for each node.
◆ post()
◆ postNode()
Called after the node assembly is done (including surface assembling)
- Parameters
-
Definition at line 142 of file ThreadedNodeLoop.h.
◆ pre()
◆ printGeneralExecutionInformation()
|
inlineprotectedvirtualinherited |
Print information about the loop, mostly order of execution of objects.
Definition at line 76 of file ThreadedNodeLoop.h.
◆ _displaced_problem
◆ _fe_problem
◆ _ref_mesh
MooseMesh& ResetDisplacedMeshThread::_ref_mesh |
|
protected |
◆ _tid
The documentation for this class was generated from the following files: