https://mooseframework.inl.gov
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
CacheChangedListsThread Class Reference

#include <CacheChangedListsThread.h>

Inheritance diagram for CacheChangedListsThread:
[legend]

Public Member Functions

 CacheChangedListsThread (MooseMesh &mesh)
 
 CacheChangedListsThread (CacheChangedListsThread &x, Threads::split split)
 
virtual ~CacheChangedListsThread ()
 
virtual void onElement (const Elem *elem) override
 Assembly of the element (not including surface assembly) More...
 
void join (const CacheChangedListsThread &y)
 
virtual void operator() (const ConstElemRange &range, bool bypass_threading=false)
 
virtual void pre ()
 Called before the element range loop. More...
 
virtual void post ()
 Called after the element range loop. More...
 
virtual void preElement (const Elem *elem)
 Called before the element assembly. More...
 
virtual void postElement (const Elem *elem)
 Called after the element assembly is done (including surface assembling) More...
 
virtual void preBoundary (const Elem *elem, unsigned int side, BoundaryID bnd_id, const Elem *lower_d_elem=nullptr)
 Called before the boundary assembly. More...
 
virtual void onBoundary (const Elem *elem, unsigned int side, BoundaryID bnd_id, const Elem *lower_d_elem=nullptr)
 Called when doing boundary assembling. More...
 
virtual void preInternalSide (const Elem *elem, unsigned int side)
 Called before evaluations on an element internal side. More...
 
virtual void postInternalSide (const Elem *elem, unsigned int side)
 Called after evaluations on an element internal side. More...
 
virtual void onInternalSide (const Elem *elem, unsigned int side)
 Called when doing internal edge assembling. More...
 
virtual void onExternalSide (const Elem *elem, unsigned int side)
 Called when iterating over external sides (no side neighbor) More...
 
virtual void onInterface (const Elem *elem, unsigned int side, BoundaryID bnd_id)
 Called when doing interface assembling. More...
 
virtual void subdomainChanged ()
 Called every time the current subdomain changes (i.e. More...
 
virtual void neighborSubdomainChanged ()
 Called every time the neighbor subdomain changes (i.e. More...
 
virtual void caughtMooseException (MooseException &)
 Called if a MooseException is caught anywhere during the computation. More...
 
virtual bool keepGoing ()
 Whether or not the loop should continue. More...
 

Public Attributes

std::vector< const Elem * > _refined_elements
 The elements that were just refined. More...
 
std::vector< const Elem * > _coarsened_elements
 The elements that were just coarsened. More...
 
std::map< const Elem *, std::vector< const Elem * > > _coarsened_element_children
 Map of Parent elements to children elements for elements that were just coarsened. More...
 

Protected Member Functions

virtual void printGeneralExecutionInformation () const
 Print information about the loop ordering. More...
 
virtual void printBlockExecutionInformation () const
 Print information about the particular ordering of objects on each block. More...
 
virtual void printBoundaryExecutionInformation (const unsigned int) const
 Print information about the particular ordering of objects on each boundary. More...
 
void resetExecPrintedSets () const
 Resets the set of blocks and boundaries visited. More...
 
virtual bool shouldComputeInternalSide (const Elem &elem, const Elem &neighbor) const
 Whether to compute the internal side for the provided element-neighbor pair. More...
 

Protected Attributes

MooseMesh_mesh
 
THREAD_ID _tid
 
SubdomainID _subdomain
 The subdomain for the current element. More...
 
SubdomainID _old_subdomain
 The subdomain for the last element. More...
 
SubdomainID _neighbor_subdomain
 The subdomain for the current neighbor. More...
 
SubdomainID _old_neighbor_subdomain
 The subdomain for the last neighbor. More...
 
std::set< SubdomainID_blocks_exec_printed
 Keep track of which blocks were visited. More...
 
std::set< BoundaryID_boundaries_exec_printed
 Keep track of which boundaries were visited. More...
 

Detailed Description

Definition at line 16 of file CacheChangedListsThread.h.

Constructor & Destructor Documentation

◆ CacheChangedListsThread() [1/2]

CacheChangedListsThread::CacheChangedListsThread ( MooseMesh mesh)

◆ CacheChangedListsThread() [2/2]

CacheChangedListsThread::CacheChangedListsThread ( CacheChangedListsThread x,
Threads::split  split 
)

◆ ~CacheChangedListsThread()

CacheChangedListsThread::~CacheChangedListsThread ( )
virtual

Definition at line 25 of file CacheChangedListsThread.C.

25 {}

Member Function Documentation

◆ caughtMooseException()

virtual void ThreadedElementLoopBase< ConstElemRange >::caughtMooseException ( MooseException )
inlinevirtualinherited

Called if a MooseException is caught anywhere during the computation.

The single input parameter taken is a MooseException object.

Reimplemented in ThreadedElementLoop< ConstElemRange >.

Definition at line 155 of file ThreadedElementLoopBase.h.

155 {};

◆ join()

void CacheChangedListsThread::join ( const CacheChangedListsThread y)

Definition at line 80 of file CacheChangedListsThread.C.

81 {
82  _refined_elements.insert(
83  _refined_elements.end(), y._refined_elements.begin(), y._refined_elements.end());
84  _coarsened_elements.insert(
88 }
std::map< const Elem *, std::vector< const Elem * > > _coarsened_element_children
Map of Parent elements to children elements for elements that were just coarsened.
std::vector< const Elem * > _refined_elements
The elements that were just refined.
std::vector< const Elem * > _coarsened_elements
The elements that were just coarsened.

◆ keepGoing()

virtual bool ThreadedElementLoopBase< ConstElemRange >::keepGoing ( )
inlinevirtualinherited

Whether or not the loop should continue.

Returns
true to keep going, false to stop.

Reimplemented in ThreadedElementLoop< ConstElemRange >.

Definition at line 162 of file ThreadedElementLoopBase.h.

162 { return true; }

◆ neighborSubdomainChanged()

void ThreadedElementLoopBase< ConstElemRange >::neighborSubdomainChanged ( )
virtualinherited

Called every time the neighbor subdomain changes (i.e.

the subdomain of this neighbor is not the same as the subdomain of the last neighbor). Beware of over-using this! You might think that you can do some expensive stuff in here and get away with it... but there are applications that have TONS of subdomains....

Reimplemented in ThreadedElementLoop< ConstElemRange >.

Definition at line 423 of file ThreadedElementLoopBase.h.

424 {
425 }

◆ onBoundary()

void ThreadedElementLoopBase< ConstElemRange >::onBoundary ( const Elem *  elem,
unsigned int  side,
BoundaryID  bnd_id,
const Elem *  lower_d_elem = nullptr 
)
virtualinherited

Called when doing boundary assembling.

Parameters
elem- The element we are checking is on the boundary.
side- The side of the element in question.
bnd_id- ID of the boundary we are at
lower_d_elem- Lower dimensional element (e.g. Mortar)

Reimplemented in ComputeUserObjectsThread, NonlinearThread, ComputeIndicatorThread, ComputeMaterialsObjectThread, and ComputeMarkerThread.

Definition at line 376 of file ThreadedElementLoopBase.h.

380 {
381 }

◆ onElement()

void CacheChangedListsThread::onElement ( const Elem *  elem)
overridevirtual

Assembly of the element (not including surface assembly)

Parameters
elem- active element

Reimplemented from ThreadedElementLoopBase< ConstElemRange >.

Definition at line 28 of file CacheChangedListsThread.C.

29 {
30  if (_mesh.doingPRefinement())
31  {
32  // When we p-refine an active child element this can lead to p-refinement of the parent as well.
33  // We don't care about inactive parents
34  if (elem->active())
35  {
36  if (elem->p_refinement_flag() == Elem::JUST_REFINED)
37  _refined_elements.push_back(elem);
38  else if (elem->p_refinement_flag() == Elem::JUST_COARSENED)
39  _coarsened_elements.push_back(elem);
40  }
41  }
42  else
43  {
44  // Cache any parents of local elements that have just been refined
45  // away.
46  //
47  // The parent itself might *not* be local, because only some of its
48  // new children are. Make sure to cache every such case exactly once.
49  if (elem->refinement_flag() == Elem::JUST_REFINED)
50  {
51  const Elem * const parent = elem->parent();
52  const unsigned int child_num = parent->which_child_am_i(elem);
53 
54  bool im_the_lowest_local_child = true;
55  for (const auto c : make_range(child_num))
56  if (parent->child_ptr(c) && parent->child_ptr(c) != remote_elem &&
57  parent->child_ptr(c)->processor_id() == elem->processor_id())
58  im_the_lowest_local_child = false;
59 
60  if (im_the_lowest_local_child)
61  _refined_elements.push_back(parent);
62  }
63 
64  else if (elem->refinement_flag() == Elem::JUST_COARSENED)
65  {
66  if (elem->has_children())
67  {
68  _coarsened_elements.push_back(elem);
69 
70  std::vector<const Elem *> & children = _coarsened_element_children[elem];
71 
72  for (unsigned int child = 0; child < elem->n_children(); child++)
73  children.push_back(elem->child_ptr(child));
74  }
75  }
76  }
77 }
std::map< const Elem *, std::vector< const Elem * > > _coarsened_element_children
Map of Parent elements to children elements for elements that were just coarsened.
std::vector< const Elem * > _refined_elements
The elements that were just refined.
IntRange< T > make_range(T beg, T end)
void doingPRefinement(bool doing_p_refinement)
Indicate whether the kind of adaptivity we&#39;re doing is p-refinement.
Definition: MooseMesh.h:1365
std::vector< const Elem * > _coarsened_elements
The elements that were just coarsened.
const RemoteElem * remote_elem

◆ onExternalSide()

void ThreadedElementLoopBase< ConstElemRange >::onExternalSide ( const Elem *  elem,
unsigned int  side 
)
virtualinherited

Called when iterating over external sides (no side neighbor)

Parameters
elem- Element we are on
side- local side number of the element 'elem'

Reimplemented in ComputeUserObjectsThread.

Definition at line 403 of file ThreadedElementLoopBase.h.

404 {
405 }

◆ onInterface()

void ThreadedElementLoopBase< ConstElemRange >::onInterface ( const Elem *  elem,
unsigned int  side,
BoundaryID  bnd_id 
)
virtualinherited

Called when doing interface assembling.

Parameters
elem- Element we are on
side- local side number of the element 'elem'
bnd_id- ID of the interface we are at

Reimplemented in ComputeUserObjectsThread, NonlinearThread, and ComputeMaterialsObjectThread.

Definition at line 409 of file ThreadedElementLoopBase.h.

412 {
413 }

◆ onInternalSide()

void ThreadedElementLoopBase< ConstElemRange >::onInternalSide ( const Elem *  elem,
unsigned int  side 
)
virtualinherited

Called when doing internal edge assembling.

Parameters
elem- Element we are on
side- local side number of the element 'elem'

Reimplemented in ComputeUserObjectsThread, NonlinearThread, ComputeIndicatorThread, ComputeMaterialsObjectThread, and ComputeMarkerThread.

Definition at line 397 of file ThreadedElementLoopBase.h.

398 {
399 }

◆ operator()()

void ThreadedElementLoopBase< ConstElemRange >::operator() ( const ConstElemRange range,
bool  bypass_threading = false 
)
virtualinherited

Reimplemented in NonlinearThread, and ComputeJacobianForScalingThread.

Definition at line 226 of file ThreadedElementLoopBase.h.

227 {
228  try
229  {
230  try
231  {
232  ParallelUniqueId puid;
233  _tid = bypass_threading ? 0 : puid.id;
234 
235  pre();
237 
240  typename RangeType::const_iterator el = range.begin();
241  for (el = range.begin(); el != range.end(); ++el)
242  {
243  if (!keepGoing())
244  break;
245 
246  const Elem * elem = *el;
247 
248  preElement(elem);
249 
251  _subdomain = elem->subdomain_id();
252  if (_subdomain != _old_subdomain)
253  {
256  }
257 
258  onElement(elem);
259 
260  if (_mesh.interiorLowerDBlocks().count(elem->subdomain_id()) > 0 ||
261  _mesh.boundaryLowerDBlocks().count(elem->subdomain_id()) > 0)
262  {
263  postElement(elem);
264  continue;
265  }
266 
267  for (unsigned int side = 0; side < elem->n_sides(); side++)
268  {
269  std::vector<BoundaryID> boundary_ids = _mesh.getBoundaryIDs(elem, side);
270  const Elem * lower_d_elem = _mesh.getLowerDElem(elem, side);
271 
272  if (boundary_ids.size() > 0)
273  for (std::vector<BoundaryID>::iterator it = boundary_ids.begin();
274  it != boundary_ids.end();
275  ++it)
276  {
277  preBoundary(elem, side, *it, lower_d_elem);
279  onBoundary(elem, side, *it, lower_d_elem);
280  }
281 
282  const Elem * neighbor = elem->neighbor_ptr(side);
283  if (neighbor)
284  {
285  preInternalSide(elem, side);
286 
288  _neighbor_subdomain = neighbor->subdomain_id();
291 
292  if (shouldComputeInternalSide(*elem, *neighbor))
293  onInternalSide(elem, side);
294 
295  if (boundary_ids.size() > 0)
296  for (std::vector<BoundaryID>::iterator it = boundary_ids.begin();
297  it != boundary_ids.end();
298  ++it)
299  onInterface(elem, side, *it);
300 
301  postInternalSide(elem, side);
302  }
303  else
304  onExternalSide(elem, side);
305  } // sides
306 
307  postElement(elem);
308  } // range
309 
310  post();
312  }
313  catch (MetaPhysicL::LogicError & e)
314  {
316  }
317  catch (std::exception & e)
318  {
319  // Continue if we find a libMesh degenerate map exception, but
320  // just re-throw for any real error
321  if (!strstr(e.what(), "Jacobian") && !strstr(e.what(), "singular") &&
322  !strstr(e.what(), "det != 0"))
323  throw; // not "throw e;" - that destroys type info!
324 
325  mooseException("We caught a libMesh degeneracy exception in ThreadedElementLoopBase:\n",
326  e.what());
327  }
328  }
329  catch (MooseException & e)
330  {
332  }
333 }
virtual void onExternalSide(const Elem *elem, unsigned int side)
Called when iterating over external sides (no side neighbor)
virtual bool keepGoing()
Whether or not the loop should continue.
void resetExecPrintedSets() const
Resets the set of blocks and boundaries visited.
virtual bool shouldComputeInternalSide(const Elem &elem, const Elem &neighbor) const
Whether to compute the internal side for the provided element-neighbor pair.
virtual void onElement(const Elem *elem)
Assembly of the element (not including surface assembly)
const std::set< SubdomainID > & interiorLowerDBlocks() const
Definition: MooseMesh.h:1421
void translateMetaPhysicLError(const MetaPhysicL::LogicError &)
emit a relatively clear error message when we catch a MetaPhysicL logic error
Definition: MooseError.C:141
virtual void printBoundaryExecutionInformation(const unsigned int) const
Print information about the particular ordering of objects on each boundary.
virtual void pre()
Called before the element range loop.
const Elem * getLowerDElem(const Elem *, unsigned short int) const
Returns a const pointer to a lower dimensional element that corresponds to a side of a higher dimensi...
Definition: MooseMesh.C:1751
virtual void subdomainChanged()
Called every time the current subdomain changes (i.e.
virtual void neighborSubdomainChanged()
Called every time the neighbor subdomain changes (i.e.
virtual void preInternalSide(const Elem *elem, unsigned int side)
Called before evaluations on an element internal side.
virtual void postInternalSide(const Elem *elem, unsigned int side)
Called after evaluations on an element internal side.
const SubdomainID INVALID_BLOCK_ID
Definition: MooseTypes.C:20
virtual void onBoundary(const Elem *elem, unsigned int side, BoundaryID bnd_id, const Elem *lower_d_elem=nullptr)
Called when doing boundary assembling.
virtual void postElement(const Elem *elem)
Called after the element assembly is done (including surface assembling)
virtual void printGeneralExecutionInformation() const
Print information about the loop ordering.
virtual void onInterface(const Elem *elem, unsigned int side, BoundaryID bnd_id)
Called when doing interface assembling.
SubdomainID _old_neighbor_subdomain
The subdomain for the last neighbor.
const std::set< SubdomainID > & boundaryLowerDBlocks() const
Definition: MooseMesh.h:1425
virtual void onInternalSide(const Elem *elem, unsigned int side)
Called when doing internal edge assembling.
const_iterator end() const
Provides a way for users to bail out of the current solve.
virtual void caughtMooseException(MooseException &)
Called if a MooseException is caught anywhere during the computation.
const_iterator begin() const
SubdomainID _subdomain
The subdomain for the current element.
std::vector< BoundaryID > getBoundaryIDs(const Elem *const elem, const unsigned short int side) const
Returns a vector of boundary IDs for the requested element on the requested side. ...
SubdomainID _old_subdomain
The subdomain for the last element.
virtual void post()
Called after the element range loop.
virtual void printBlockExecutionInformation() const
Print information about the particular ordering of objects on each block.
virtual void preElement(const Elem *elem)
Called before the element assembly.
virtual void preBoundary(const Elem *elem, unsigned int side, BoundaryID bnd_id, const Elem *lower_d_elem=nullptr)
Called before the boundary assembly.
SubdomainID _neighbor_subdomain
The subdomain for the current neighbor.

◆ post()

void ThreadedElementLoopBase< ConstElemRange >::post ( )
virtualinherited

◆ postElement()

void ThreadedElementLoopBase< ConstElemRange >::postElement ( const Elem *  elem)
virtualinherited

Called after the element assembly is done (including surface assembling)

Parameters
elem- active element

Reimplemented in ComputeJacobianBlocksThread, NonlinearThread, ComputeIndicatorThread, ComputeJacobianThread, and ComputeMarkerThread.

Definition at line 361 of file ThreadedElementLoopBase.h.

362 {
363 }

◆ postInternalSide()

void ThreadedElementLoopBase< ConstElemRange >::postInternalSide ( const Elem *  elem,
unsigned int  side 
)
virtualinherited

Called after evaluations on an element internal side.

Parameters
elem- Element we are on
side- local side number of the element 'elem'

Reimplemented in ComputeJacobianBlocksThread.

Definition at line 391 of file ThreadedElementLoopBase.h.

392 {
393 }

◆ pre()

void ThreadedElementLoopBase< ConstElemRange >::pre ( )
virtualinherited

Called before the element range loop.

Definition at line 337 of file ThreadedElementLoopBase.h.

Referenced by ComputeJacobianForScalingThread::operator()().

338 {
339 }

◆ preBoundary()

void ThreadedElementLoopBase< ConstElemRange >::preBoundary ( const Elem *  elem,
unsigned int  side,
BoundaryID  bnd_id,
const Elem *  lower_d_elem = nullptr 
)
virtualinherited

Called before the boundary assembly.

Parameters
elem- The element we are checking is on the boundary.
side- The side of the element in question.
bnd_id- ID of the boundary we are at
lower_d_elem- Lower dimensional element (e.g. Mortar)

Reimplemented in ThreadedElementLoop< ConstElemRange >.

Definition at line 367 of file ThreadedElementLoopBase.h.

371 {
372 }

◆ preElement()

void ThreadedElementLoopBase< ConstElemRange >::preElement ( const Elem *  elem)
virtualinherited

Called before the element assembly.

Parameters
elem- active element

Reimplemented in ThreadedElementLoop< ConstElemRange >.

Definition at line 355 of file ThreadedElementLoopBase.h.

356 {
357 }

◆ preInternalSide()

void ThreadedElementLoopBase< ConstElemRange >::preInternalSide ( const Elem *  elem,
unsigned int  side 
)
virtualinherited

Called before evaluations on an element internal side.

Parameters
elem- Element we are on
side- local side number of the element 'elem'

Reimplemented in ThreadedElementLoop< ConstElemRange >.

Definition at line 385 of file ThreadedElementLoopBase.h.

386 {
387 }

◆ printBlockExecutionInformation()

virtual void ThreadedElementLoopBase< ConstElemRange >::printBlockExecutionInformation ( ) const
inlineprotectedvirtualinherited

Print information about the particular ordering of objects on each block.

Reimplemented in NonlinearThread, ComputeUserObjectsThread, ComputeIndicatorThread, ComputeElemAuxVarsThread< AuxKernelType >, and ComputeMarkerThread.

Definition at line 184 of file ThreadedElementLoopBase.h.

184 {}

◆ printBoundaryExecutionInformation()

virtual void ThreadedElementLoopBase< ConstElemRange >::printBoundaryExecutionInformation ( const unsigned int  ) const
inlineprotectedvirtualinherited

Print information about the particular ordering of objects on each boundary.

Reimplemented in NonlinearThread.

Definition at line 187 of file ThreadedElementLoopBase.h.

187 {}

◆ printGeneralExecutionInformation()

virtual void ThreadedElementLoopBase< ConstElemRange >::printGeneralExecutionInformation ( ) const
inlineprotectedvirtualinherited

◆ resetExecPrintedSets()

void ThreadedElementLoopBase< ConstElemRange >::resetExecPrintedSets ( ) const
protectedinherited

Resets the set of blocks and boundaries visited.

Definition at line 454 of file ThreadedElementLoopBase.h.

455 {
456  _blocks_exec_printed.clear();
457  _boundaries_exec_printed.clear();
458 }
std::set< SubdomainID > _blocks_exec_printed
Keep track of which blocks were visited.
std::set< BoundaryID > _boundaries_exec_printed
Keep track of which boundaries were visited.

◆ shouldComputeInternalSide()

bool ThreadedElementLoopBase< ConstElemRange >::shouldComputeInternalSide ( const Elem &  elem,
const Elem &  neighbor 
) const
protectedvirtualinherited

Whether to compute the internal side for the provided element-neighbor pair.

Typically this will return true if the element id is less than the neighbor id when the elements are equal level, or when the element is more refined than the neighbor, and then false otherwise. One type of loop where the logic will be different is when projecting stateful material properties

Reimplemented in NonlinearThread, and FlagElementsThread.

Definition at line 429 of file ThreadedElementLoopBase.h.

431 {
432  auto level = [this](const auto & elem_arg)
433  {
434  if (_mesh.doingPRefinement())
435  return elem_arg.p_level();
436  else
437  return elem_arg.level();
438  };
439  const auto elem_id = elem.id(), neighbor_id = neighbor.id();
440  const auto elem_level = level(elem), neighbor_level = level(neighbor);
441 
442  // When looping over elements and then sides, we need to make sure that we do not duplicate
443  // effort, e.g. if a face is shared by element 1 and element 2, then we do not want to do compute
444  // work both when we are visiting element 1 *and* then later when visiting element 2. Our rule is
445  // to only compute when we are visiting the element that has the lower element id when element and
446  // neighbor are of the same adaptivity level, and then if they are not of the same level, then
447  // we only compute when we are visiting the finer element
448  return (neighbor.active() && (neighbor_level == elem_level) && (elem_id < neighbor_id)) ||
449  (neighbor_level < elem_level);
450 }
void doingPRefinement(bool doing_p_refinement)
Indicate whether the kind of adaptivity we&#39;re doing is p-refinement.
Definition: MooseMesh.h:1365

◆ subdomainChanged()

void ThreadedElementLoopBase< ConstElemRange >::subdomainChanged ( )
virtualinherited

Called every time the current subdomain changes (i.e.

the subdomain of this element is not the same as the subdomain of the last element). Beware of over-using this! You might think that you can do some expensive stuff in here and get away with it... but there are applications that have TONS of subdomains....

Reimplemented in ComputeUserObjectsThread, NonlinearThread, ComputeIndicatorThread, ComputeMaterialsObjectThread, ComputeElemAuxVarsThread< AuxKernelType >, and ComputeMarkerThread.

Definition at line 417 of file ThreadedElementLoopBase.h.

418 {
419 }

Member Data Documentation

◆ _blocks_exec_printed

std::set<SubdomainID> ThreadedElementLoopBase< ConstElemRange >::_blocks_exec_printed
mutableprotectedinherited

◆ _boundaries_exec_printed

std::set<BoundaryID> ThreadedElementLoopBase< ConstElemRange >::_boundaries_exec_printed
mutableprotectedinherited

Keep track of which boundaries were visited.

Definition at line 193 of file ThreadedElementLoopBase.h.

Referenced by NonlinearThread::printBoundaryExecutionInformation().

◆ _coarsened_element_children

std::map<const Elem *, std::vector<const Elem *> > CacheChangedListsThread::_coarsened_element_children

Map of Parent elements to children elements for elements that were just coarsened.

Definition at line 34 of file CacheChangedListsThread.h.

Referenced by MooseMesh::cacheChangedLists(), join(), and onElement().

◆ _coarsened_elements

std::vector<const Elem *> CacheChangedListsThread::_coarsened_elements

The elements that were just coarsened.

Definition at line 31 of file CacheChangedListsThread.h.

Referenced by MooseMesh::cacheChangedLists(), join(), and onElement().

◆ _mesh

MooseMesh& ThreadedElementLoopBase< ConstElemRange >::_mesh
protectedinherited

◆ _neighbor_subdomain

SubdomainID ThreadedElementLoopBase< ConstElemRange >::_neighbor_subdomain
protectedinherited

◆ _old_neighbor_subdomain

SubdomainID ThreadedElementLoopBase< ConstElemRange >::_old_neighbor_subdomain
protectedinherited

The subdomain for the last neighbor.

Definition at line 178 of file ThreadedElementLoopBase.h.

◆ _old_subdomain

SubdomainID ThreadedElementLoopBase< ConstElemRange >::_old_subdomain
protectedinherited

The subdomain for the last element.

Definition at line 172 of file ThreadedElementLoopBase.h.

Referenced by ComputeJacobianForScalingThread::operator()().

◆ _refined_elements

std::vector<const Elem *> CacheChangedListsThread::_refined_elements

The elements that were just refined.

Definition at line 28 of file CacheChangedListsThread.h.

Referenced by MooseMesh::cacheChangedLists(), join(), and onElement().

◆ _subdomain

SubdomainID ThreadedElementLoopBase< ConstElemRange >::_subdomain
protectedinherited

◆ _tid

THREAD_ID ThreadedElementLoopBase< ConstElemRange >::_tid
protectedinherited

Definition at line 166 of file ThreadedElementLoopBase.h.

Referenced by ComputeResidualThread::accumulate(), ComputeResidualAndJacobianThread::accumulate(), ComputeResidualThread::accumulateLower(), ComputeResidualAndJacobianThread::accumulateLower(), ComputeJacobianThread::accumulateLower(), ComputeResidualThread::accumulateNeighbor(), ComputeResidualAndJacobianThread::accumulateNeighbor(), ComputeJacobianThread::accumulateNeighbor(), ComputeResidualThread::accumulateNeighborLower(), ComputeResidualAndJacobianThread::accumulateNeighborLower(), ComputeJacobianThread::accumulateNeighborLower(), ComputeFullJacobianThread::computeOnBoundary(), NonlinearThread::computeOnBoundary(), ComputeFullJacobianThread::computeOnElement(), NonlinearThread::computeOnElement(), ComputeFullJacobianThread::computeOnInterface(), NonlinearThread::computeOnInterface(), ComputeResidualThread::computeOnInternalFace(), ComputeFullJacobianThread::computeOnInternalFace(), ComputeResidualAndJacobianThread::computeOnInternalFace(), ComputeJacobianThread::computeOnInternalFace(), NonlinearThread::computeOnInternalFace(), ComputeResidualThread::determineObjectWarehouses(), ComputeJacobianThread::determineObjectWarehouses(), ComputeResidualAndJacobianThread::determineObjectWarehouses(), ComputeMaterialsObjectThread::onBoundary(), NonlinearThread::onBoundary(), ComputeUserObjectsThread::onBoundary(), ComputeMarkerThread::onElement(), ComputeElemDampingThread::onElement(), ComputeMaterialsObjectThread::onElement(), ComputeIndicatorThread::onElement(), NonlinearThread::onElement(), ComputeUserObjectsThread::onElement(), ComputeMaterialsObjectThread::onInterface(), NonlinearThread::onInterface(), ComputeUserObjectsThread::onInterface(), ComputeMaterialsObjectThread::onInternalSide(), ComputeIndicatorThread::onInternalSide(), NonlinearThread::onInternalSide(), ComputeUserObjectsThread::onInternalSide(), ComputeJacobianForScalingThread::operator()(), ComputeMaterialsObjectThread::post(), ComputeMarkerThread::post(), ComputeIndicatorThread::post(), ComputeUserObjectsThread::post(), ComputeJacobianThread::postElement(), ComputeJacobianBlocksThread::postElement(), ComputeJacobianBlocksThread::postInternalSide(), NonlinearThread::prepareFace(), ComputeMarkerThread::printBlockExecutionInformation(), ComputeIndicatorThread::printBlockExecutionInformation(), ComputeUserObjectsThread::printBlockExecutionInformation(), NonlinearThread::printBlockExecutionInformation(), NonlinearThread::printBoundaryExecutionInformation(), ComputeElemDampingThread::printGeneralExecutionInformation(), ComputeMarkerThread::printGeneralExecutionInformation(), ComputeIndicatorThread::printGeneralExecutionInformation(), ComputeUserObjectsThread::printGeneralExecutionInformation(), NonlinearThread::printGeneralExecutionInformation(), ComputeUserObjectsThread::queryBoundary(), ComputeUserObjectsThread::querySubdomain(), ComputeMarkerThread::subdomainChanged(), ComputeMaterialsObjectThread::subdomainChanged(), ComputeIndicatorThread::subdomainChanged(), NonlinearThread::subdomainChanged(), and ComputeUserObjectsThread::subdomainChanged().


The documentation for this class was generated from the following files: