#include <ThreadedNodeLoop.h>
Public Member Functions | |
| ThreadedNodeLoop (FEProblemBase &fe_problem) | |
| ThreadedNodeLoop (ThreadedNodeLoop &x, Threads::split split) | |
| virtual | ~ThreadedNodeLoop () |
| void | operator() (const RangeType &range) |
| virtual void | pre () |
| Called before the node range loop. | |
| virtual void | post () |
| Called after the node range loop. | |
| virtual void | onNode (IteratorType &node_it) |
| Called for each node. | |
| virtual void | postNode (IteratorType &node_it) |
| Called after the node assembly is done (including surface assembling) | |
| 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. | |
Protected Member Functions | |
| virtual void | printGeneralExecutionInformation () const |
| Print information about the loop, mostly order of execution of objects. | |
| template<typename T > | |
| void | printExecutionOrdering (const std::vector< T * > &objs, const bool print_header=true, const std::string &line_prefix="[DBG]") const |
| Routine to output the ordering of objects within a vector of pointers to these objects. | |
Protected Attributes | |
| FEProblemBase & | _fe_problem |
| THREAD_ID | _tid |
Definition at line 18 of file ThreadedNodeLoop.h.
| ThreadedNodeLoop< RangeType, IteratorType >::ThreadedNodeLoop | ( | FEProblemBase & | fe_problem | ) |
Definition at line 96 of file ThreadedNodeLoop.h.
| ThreadedNodeLoop< RangeType, IteratorType >::ThreadedNodeLoop | ( | ThreadedNodeLoop< RangeType, IteratorType > & | x, |
| Threads::split | split | ||
| ) |
Definition at line 102 of file ThreadedNodeLoop.h.
|
inlinevirtual |
Definition at line 26 of file ThreadedNodeLoop.h.
|
inlinevirtual |
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.
|
inlinevirtual |
Whether or not the loop should continue.
Definition at line 69 of file ThreadedNodeLoop.h.
|
virtual |
| void ThreadedNodeLoop< RangeType, IteratorType >::operator() | ( | const RangeType & | range | ) |
Definition at line 110 of file ThreadedNodeLoop.h.
|
virtual |
Called after the node range loop.
Reimplemented in ComputeNodalAuxVarsThread< AuxKernelType >.
Definition at line 146 of file ThreadedNodeLoop.h.
|
virtual |
Called after the node assembly is done (including surface assembling)
| node | - active node |
Definition at line 158 of file ThreadedNodeLoop.h.
|
virtual |
Called before the node range loop.
Reimplemented in ComputeNodalKernelBCJacobiansThread, ComputeNodalKernelBcsThread, ComputeNodalKernelJacobiansThread, and ComputeNodalKernelsThread.
Definition at line 140 of file ThreadedNodeLoop.h.
|
protected |
Routine to output the ordering of objects within a vector of pointers to these objects.
These objects must implement the name() routine, and it must return a string or compatible type.
| T | the object type |
| objs | the vector with all the objects (should be pointers) |
| print_header | whether to print a header about the timing of execution and the type of objects |
| line_prefix | prefix to prepend to each line of the console output |
Definition at line 165 of file ThreadedNodeLoop.h.
|
inlineprotectedvirtual |
Print information about the loop, mostly order of execution of objects.
Reimplemented in ComputeNodalAuxBcsThread< AuxKernelType >, ComputeNodalAuxVarsThread< AuxKernelType >, ComputeNodalDampingThread, ComputeNodalKernelBCJacobiansThread, ComputeNodalKernelBcsThread, ComputeNodalKernelJacobiansThread, ComputeNodalKernelsThread, and ComputeNodalUserObjectsThread.
Definition at line 76 of file ThreadedNodeLoop.h.
|
protected |
Definition at line 72 of file ThreadedNodeLoop.h.
Referenced by ThreadedNodeLoop< RangeType, IteratorType >::caughtMooseException(), and ThreadedNodeLoop< RangeType, IteratorType >::keepGoing().
|
protected |
Definition at line 73 of file ThreadedNodeLoop.h.