#include <MaxVarNDofsPerNode.h>
Definition at line 18 of file MaxVarNDofsPerNode.h.
◆ MaxVarNDofsPerNode() [1/2]
Definition at line 18 of file MaxVarNDofsPerNode.C.
const DofMap & _dof_map
DOF map.
SolverSystem & _system
The nonlinear system.
virtual DofMap & dofMap()
Gets writeable reference to the dof map.
size_t _max
Maximum number of dofs for any one variable on any one node.
◆ MaxVarNDofsPerNode() [2/2]
Definition at line 27 of file MaxVarNDofsPerNode.C.
const DofMap & _dof_map
DOF map.
SolverSystem & _system
The nonlinear system.
size_t _max
Maximum number of dofs for any one variable on any one node.
◆ ~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.
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()
Definition at line 49 of file MaxVarNDofsPerNode.C.
auto max(const L &left, const R &right)
size_t _max
Maximum number of dofs for any one variable on any one node.
◆ 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.
◆ max()
◆ onNode()
void MaxVarNDofsPerNode::onNode |
( |
ConstNodeRange::const_iterator & |
node_it | ) |
|
|
overridevirtual |
Called for each node.
Reimplemented from ThreadedNodeLoop< ConstNodeRange, ConstNodeRange::const_iterator >.
Definition at line 38 of file MaxVarNDofsPerNode.C.
const DofMap & _dof_map
DOF map.
SolverSystem & _system
The nonlinear system.
auto max(const L &left, const R &right)
virtual unsigned int nVariables() const
Get the number of variables in this system.
std::vector< dof_id_type > _dof_indices
Reusable storage.
size_t _max
Maximum number of dofs for any one variable on any one node.
◆ 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(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 |
◆ _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
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().
The documentation for this class was generated from the following files: