#include <AllNodesSendListThread.h>
Definition at line 23 of file AllNodesSendListThread.h.
◆ AllNodesSendListThread() [1/2]
Definition at line 15 of file AllNodesSendListThread.C.
32 std::vector<unsigned int>::iterator new_end =
dof_id_type end_dof(const processor_id_type proc) const
void swap(std::vector< T > &data, const std::size_t idx0, const std::size_t idx1, const libMesh::Parallel::Communicator &comm)
Swap function for serial or distributed vector of data.
const MooseMesh & _ref_mesh
unsigned int number() const
std::vector< unsigned int > _var_nums
const dof_id_type _first_dof
const unsigned int _system_number
const dof_id_type _end_dof
std::vector< dof_id_type > _send_list
dof_id_type first_dof(const processor_id_type proc) const
const DofMap & get_dof_map() const
const libMesh::System & _system
◆ AllNodesSendListThread() [2/2]
Definition at line 38 of file AllNodesSendListThread.C.
dof_id_type end_dof(const processor_id_type proc) const
const MooseMesh & _ref_mesh
unsigned int number() const
std::vector< unsigned int > _var_nums
const dof_id_type _first_dof
const unsigned int _system_number
const dof_id_type _end_dof
std::vector< dof_id_type > _send_list
dof_id_type first_dof(const processor_id_type proc) const
const DofMap & get_dof_map() const
const libMesh::System & _system
◆ 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() [1/2]
Definition at line 51 of file AllNodesSendListThread.C.
53 const Node & node = *(*nd);
55 for (
unsigned int i = 0; i <
_var_nums.size(); i++)
60 if (id < _first_dof || id >=
_end_dof)
std::vector< unsigned int > _var_nums
const unsigned int _system_number
const dof_id_type _end_dof
std::vector< dof_id_type > _send_list
◆ onNode() [2/2]
◆ 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.
const_iterator end() const
Provides a way for users to bail out of the current solve.
virtual void pre()
Called before the node range loop.
const_iterator begin() const
virtual void post()
Called after the node range loop.
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.
◆ post()
◆ postNode()
Called after the node assembly is done (including surface assembling)
- Parameters
-
Definition at line 142 of file ThreadedNodeLoop.h.
◆ pre()
◆ printGeneralExecutionInformation()
|
inlineprotectedvirtualinherited |
◆ send_list()
const std::vector< dof_id_type > & AllNodesSendListThread::send_list |
( |
| ) |
const |
◆ unique()
void AllNodesSendListThread::unique |
( |
| ) |
|
◆ _end_dof
◆ _fe_problem
◆ _first_dof
◆ _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
Definition at line 73 of file ThreadedNodeLoop.h.
Referenced by ComputeNodalUserObjectsThread::onNode(), ComputeNodalDampingThread::onNode(), ComputeNodalKernelsThread::onNode(), ComputeNodalKernelJacobiansThread::onNode(), ComputeNodalKernelsThread::pre(), ComputeNodalKernelJacobiansThread::pre(), ComputeNodalUserObjectsThread::printGeneralExecutionInformation(), ComputeNodalKernelsThread::printGeneralExecutionInformation(), ComputeNodalDampingThread::printGeneralExecutionInformation(), ComputeNodalKernelJacobiansThread::printGeneralExecutionInformation(), and ComputeNodalUserObjectsThread::subdomainChanged().
◆ _var_nums
std::vector<unsigned int> AllNodesSendListThread::_var_nums |
|
private |
The documentation for this class was generated from the following files: