#include <ComputeBoundaryInitialConditionThread.h>
◆ ComputeBoundaryInitialConditionThread() [1/2]
ComputeBoundaryInitialConditionThread::ComputeBoundaryInitialConditionThread |
( |
FEProblemBase & |
fe_problem | ) |
|
◆ ComputeBoundaryInitialConditionThread() [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.
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()
Called for each node.
Reimplemented from ThreadedNodeLoop< ConstBndNodeRange, ConstBndNodeRange::const_iterator >.
Definition at line 31 of file ComputeBoundaryInitialConditionThread.C.
35 Node * node = bnode->
_node;
46 for (
const auto & ic : ics)
48 ic->computeNodal(*node);
virtual std::size_t numNonlinearSystems() const override
Warehouse for storing initial conditions.
const InitialConditionWarehouse & getInitialConditionWarehouse() const
Return InitialCondition storage.
BoundaryID _bnd_id
boundary id for the node
void reinit(const Elem *elem)
Reinitialize objects (JxW, q_points, ...) for an elements.
FEProblemBase & _fe_problem
virtual Assembly & assembly(const THREAD_ID tid, const unsigned int sys_num) override
bool hasActiveBoundaryObjects(THREAD_ID tid=0) const
boundary_id_type BoundaryID
libMesh::Node * _node
pointer to the node
const std::map< BoundaryID, std::vector< std::shared_ptr< T > > > & getActiveBoundaryObjects(THREAD_ID tid=0) const
IntRange< T > make_range(T beg, T end)
processor_id_type processor_id() const
◆ 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(ConstBndNodeRange::const_iterator &node_it)
Called after the node assembly is done (including surface assembling)
virtual void onNode(ConstBndNodeRange::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 |
◆ _fe_problem
◆ _tid
The documentation for this class was generated from the following files: