#include <MaxVarNDofsPerNode.h>
Definition at line 18 of file MaxVarNDofsPerNode.h.
◆ MaxVarNDofsPerNode() [1/2]
Definition at line 18 of file MaxVarNDofsPerNode.C.
23{
24}
SolverSystem & _system
The nonlinear system.
size_t _max
Maximum number of dofs for any one variable on any one node.
const DofMap & _dof_map
DOF map.
virtual libMesh::DofMap & dofMap()
Gets writeable reference to the dof map.
◆ MaxVarNDofsPerNode() [2/2]
◆ ~MaxVarNDofsPerNode()
| MaxVarNDofsPerNode::~MaxVarNDofsPerNode |
( |
| ) |
|
|
virtual |
◆ 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.
◆ max()
| dof_id_type MaxVarNDofsPerNode::max |
( |
| ) |
|
|
inline |
◆ onNode() [1/2]
| void ThreadedNodeLoop< ConstNodeRange , ConstNodeRange::const_iterator >::onNode |
( |
ConstNodeRange::const_iterator & |
node_it | ) |
|
|
virtualinherited |
◆ onNode() [2/2]
| void MaxVarNDofsPerNode::onNode |
( |
ConstNodeRange::const_iterator & |
node_it | ) |
|
|
overridevirtual |
Definition at line 38 of file MaxVarNDofsPerNode.C.
39{
41 {
43
45 }
46}
std::vector< dof_id_type > _dof_indices
Reusable storage.
virtual unsigned int nVariables() const
Get the number of variables in this system.
◆ 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 |
◆ _dof_indices
| std::vector<dof_id_type> MaxVarNDofsPerNode::_dof_indices |
|
protected |
◆ _dof_map
| const DofMap& MaxVarNDofsPerNode::_dof_map |
|
protected |
◆ _fe_problem
◆ _max
| size_t MaxVarNDofsPerNode::_max |
|
protected |
◆ _system
◆ _tid
The documentation for this class was generated from the following files: