#include <AllNodesSendListThread.h>
Definition at line 23 of file AllNodesSendListThread.h.
◆ AllNodesSendListThread() [1/2]
Definition at line 15 of file AllNodesSendListThread.C.
27{
28
29
30 std::sort(this->
_var_nums.begin(), this->_var_nums.end());
31
32 std::vector<unsigned int>::iterator new_end =
33 std::unique(this->
_var_nums.begin(), this->_var_nums.end());
34
36}
const dof_id_type _first_dof
const libMesh::System & _system
const MooseMesh & _ref_mesh
std::vector< unsigned int > _var_nums
const dof_id_type _end_dof
const unsigned int _system_number
std::vector< dof_id_type > _send_list
dof_id_type first_dof(const processor_id_type proc) const
dof_id_type end_dof(const processor_id_type proc) const
const DofMap & get_dof_map() const
unsigned int number() const
◆ AllNodesSendListThread() [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.
57 {
59
60 std::string what(e.
what());
62 };
static Threads::spin_mutex threaded_node_mutex
virtual void setException(const std::string &message)
Set an exception, which is stored at this point by toggling a member variable in this class,...
virtual const char * what() const
Get out the error message.
FEProblemBase & _fe_problem
◆ join()
◆ keepGoing()
| virtual bool ThreadedNodeLoop< ConstNodeRange , ConstNodeRange::const_iterator >::keepGoing |
( |
| ) |
|
|
inlinevirtualinherited |
Whether or not the loop should continue.
- Returns
- true to keep going, false to stop.
Definition at line 69 of file ThreadedNodeLoop.h.
virtual bool hasException()
Whether or not an exception has occurred.
◆ onNode() [1/2]
| void AllNodesSendListThread::onNode |
( |
ConstNodeRange::const_iterator & |
nd | ) |
|
|
overridevirtual |
◆ onNode() [2/2]
| void ThreadedNodeLoop< ConstNodeRange , ConstNodeRange::const_iterator >::onNode |
( |
ConstNodeRange::const_iterator & |
node_it | ) |
|
|
virtualinherited |
◆ operator()()
| void ThreadedNodeLoop< ConstNodeRange , ConstNodeRange::const_iterator >::operator() |
( |
const ConstNodeRange & |
range | ) |
|
|
inherited |
Definition at line 28 of file ThreadedNodeLoop.h.
95{
96 try
97 {
100
103
104 for (IteratorType nd = range.begin(); nd != range.end(); ++nd)
105 {
107 break;
108
110
112 }
113
115 }
117 {
119 }
120}
Provides a way for users to bail out of the current solve.
virtual void printGeneralExecutionInformation() const
Print information about the loop, mostly order of execution of objects.
virtual void postNode(ConstNodeRange::const_iterator &node_it)
Called after the node assembly is done (including surface assembling)
virtual void onNode(ConstNodeRange::const_iterator &node_it)
Called for each node.
virtual bool keepGoing()
Whether or not the loop should continue.
virtual void pre()
Called before the node range loop.
virtual void post()
Called after the node range loop.
virtual void caughtMooseException(MooseException &e)
Called if a MooseException is caught anywhere during the computation.
◆ post()
| void ThreadedNodeLoop< ConstNodeRange , ConstNodeRange::const_iterator >::post |
( |
| ) |
|
|
virtualinherited |
◆ postNode()
| void ThreadedNodeLoop< ConstNodeRange , ConstNodeRange::const_iterator >::postNode |
( |
ConstNodeRange::const_iterator & |
node_it | ) |
|
|
virtualinherited |
Called after the node assembly is done (including surface assembling)
- Parameters
-
Definition at line 50 of file ThreadedNodeLoop.h.
◆ pre()
| void ThreadedNodeLoop< ConstNodeRange , ConstNodeRange::const_iterator >::pre |
( |
| ) |
|
|
virtualinherited |
◆ printGeneralExecutionInformation()
| virtual void ThreadedNodeLoop< ConstNodeRange , ConstNodeRange::const_iterator >::printGeneralExecutionInformation |
( |
| ) |
const |
|
inlineprotectedvirtualinherited |
◆ send_list()
| const std::vector< dof_id_type > & AllNodesSendListThread::send_list |
( |
| ) |
const |
◆ unique()
| void AllNodesSendListThread::unique |
( |
| ) |
|
◆ _end_dof
| const dof_id_type AllNodesSendListThread::_end_dof |
|
private |
◆ _fe_problem
◆ _first_dof
| const dof_id_type AllNodesSendListThread::_first_dof |
|
private |
◆ _ref_mesh
| const MooseMesh& AllNodesSendListThread::_ref_mesh |
|
protected |
◆ _send_list
| std::vector<dof_id_type> AllNodesSendListThread::_send_list |
|
private |
◆ _system
◆ _system_number
| const unsigned int AllNodesSendListThread::_system_number |
|
private |
◆ _tid
◆ _var_nums
| std::vector<unsigned int> AllNodesSendListThread::_var_nums |
|
private |
The documentation for this class was generated from the following files: