#include <ComputeIndicatorThread.h>
Public Member Functions | |
ComputeIndicatorThread (FEProblemBase &fe_problem, bool finalize=false) | |
ComputeIndicatorThread (ComputeIndicatorThread &x, Threads::split split) | |
virtual | ~ComputeIndicatorThread () |
virtual void | subdomainChanged () override |
Called every time the current subdomain changes (i.e. More... | |
virtual void | onElement (const Elem *elem) override |
Assembly of the element (not including surface assembly) More... | |
virtual void | onBoundary (const Elem *elem, unsigned int side, BoundaryID bnd_id) override |
Called when doing boundary assembling. More... | |
virtual void | onInternalSide (const Elem *elem, unsigned int side) override |
Called when doing internal edge assembling. More... | |
virtual void | postElement (const Elem *) override |
Called after the element assembly is done (including surface assembling) More... | |
virtual void | post () override |
Called after the element range loop. More... | |
void | join (const ComputeIndicatorThread &) |
virtual void | caughtMooseException (MooseException &e) override |
Called if a MooseException is caught anywhere during the computation. More... | |
virtual bool | keepGoing () override |
Whether or not the loop should continue. More... | |
virtual void | preElement (const Elem *elem) override |
Called before the element assembly. More... | |
virtual void | preInternalSide (const Elem *elem, unsigned int side) override |
Called before evaluations on an element internal side. More... | |
virtual void | preBoundary (const Elem *elem, unsigned int side, BoundaryID bnd_id) override |
Called before the boundary assembly. More... | |
virtual void | neighborSubdomainChanged () override |
Called every time the neighbor subdomain changes (i.e. More... | |
virtual void | operator() (const ConstElemRange &range, bool bypass_threading=false) |
virtual void | pre () |
Called before the element range loop. More... | |
virtual void | postInternalSide (const Elem *elem, unsigned int side) |
Called after evaluations on an element internal side. More... | |
virtual void | onInterface (const Elem *elem, unsigned int side, BoundaryID bnd_id) |
Called when doing interface assembling. More... | |
Protected Attributes | |
FEProblemBase & | _fe_problem |
AuxiliarySystem & | _aux_sys |
const MooseObjectWarehouse< Indicator > & | _indicator_whs |
Indicator Storage. More... | |
const MooseObjectWarehouse< InternalSideIndicator > & | _internal_side_indicators |
InternalSideIndicator Storage. More... | |
bool | _finalize |
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... | |
Definition at line 20 of file ComputeIndicatorThread.h.
ComputeIndicatorThread::ComputeIndicatorThread | ( | FEProblemBase & | fe_problem, |
bool | finalize = false |
||
) |
fe_problem | reference to the FEProblemBase we are computing on |
sys | reference to the AuxSystem we are computing on |
indicator_whs | Warehouse of Indicator objects. |
finalize | Whether or not we are just in the "finalize" stage or not. |
Definition at line 23 of file ComputeIndicatorThread.C.
ComputeIndicatorThread::ComputeIndicatorThread | ( | ComputeIndicatorThread & | x, |
Threads::split | split | ||
) |
Definition at line 34 of file ComputeIndicatorThread.C.
|
virtual |
Definition at line 44 of file ComputeIndicatorThread.C.
|
overridevirtualinherited |
Called if a MooseException is caught anywhere during the computation.
The single input parameter taken is a MooseException object.
Reimplemented from ThreadedElementLoopBase< ConstElemRange >.
Definition at line 77 of file ThreadedElementLoop.h.
void ComputeIndicatorThread::join | ( | const ComputeIndicatorThread & | ) |
Definition at line 182 of file ComputeIndicatorThread.C.
|
inlineoverridevirtualinherited |
Whether or not the loop should continue.
Reimplemented from ThreadedElementLoopBase< ConstElemRange >.
Definition at line 43 of file ThreadedElementLoop.h.
|
overridevirtualinherited |
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 from ThreadedElementLoopBase< ConstElemRange >.
Definition at line 110 of file ThreadedElementLoop.h.
|
overridevirtual |
Called when doing boundary assembling.
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 |
Reimplemented from ThreadedElementLoopBase< ConstElemRange >.
Definition at line 123 of file ComputeIndicatorThread.C.
|
overridevirtual |
Assembly of the element (not including surface assembly)
elem | - active element |
Reimplemented from ThreadedElementLoopBase< ConstElemRange >.
Definition at line 68 of file ComputeIndicatorThread.C.
|
virtualinherited |
Called when doing interface assembling.
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, ComputeMaterialsObjectThread, ComputeResidualThread, and ComputeJacobianThread.
Definition at line 328 of file ThreadedElementLoopBase.h.
|
overridevirtual |
Called when doing internal edge assembling.
elem | - Element we are on |
side | - local side number of the element 'elem' |
Reimplemented from ThreadedElementLoopBase< ConstElemRange >.
Definition at line 130 of file ComputeIndicatorThread.C.
|
virtualinherited |
Definition at line 181 of file ThreadedElementLoopBase.h.
|
overridevirtual |
Called after the element range loop.
Reimplemented from ThreadedElementLoopBase< ConstElemRange >.
Definition at line 175 of file ComputeIndicatorThread.C.
|
overridevirtual |
Called after the element assembly is done (including surface assembling)
elem | - active element |
Reimplemented from ThreadedElementLoopBase< ConstElemRange >.
Definition at line 170 of file ComputeIndicatorThread.C.
|
virtualinherited |
Called after evaluations on an element internal side.
elem | - Element we are on |
side | - local side number of the element 'elem' |
Reimplemented in ComputeJacobianBlocksThread.
Definition at line 316 of file ThreadedElementLoopBase.h.
|
virtualinherited |
Called before the element range loop.
Definition at line 264 of file ThreadedElementLoopBase.h.
|
overridevirtualinherited |
Called before the boundary assembly.
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 |
Reimplemented from ThreadedElementLoopBase< ConstElemRange >.
Definition at line 101 of file ThreadedElementLoop.h.
|
overridevirtualinherited |
Called before the element assembly.
elem | - active element |
Reimplemented from ThreadedElementLoopBase< ConstElemRange >.
Definition at line 87 of file ThreadedElementLoop.h.
|
overridevirtualinherited |
Called before evaluations on an element internal side.
elem | - Element we are on |
side | - local side number of the element 'elem' |
Reimplemented from ThreadedElementLoopBase< ConstElemRange >.
Definition at line 94 of file ThreadedElementLoop.h.
|
overridevirtual |
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 from ThreadedElementLoopBase< ConstElemRange >.
Definition at line 47 of file ComputeIndicatorThread.C.
|
protected |
Definition at line 47 of file ComputeIndicatorThread.h.
Referenced by onElement(), and onInternalSide().
|
protected |
Definition at line 46 of file ComputeIndicatorThread.h.
Referenced by onElement(), onInternalSide(), post(), and subdomainChanged().
|
protected |
Definition at line 55 of file ComputeIndicatorThread.h.
Referenced by onElement(), and onInternalSide().
|
protected |
Definition at line 50 of file ComputeIndicatorThread.h.
Referenced by onElement(), and subdomainChanged().
|
protected |
InternalSideIndicator Storage.
Definition at line 53 of file ComputeIndicatorThread.h.
Referenced by onElement(), onInternalSide(), and subdomainChanged().
|
protectedinherited |
Definition at line 146 of file ThreadedElementLoopBase.h.
|
protectedinherited |
The subdomain for the current neighbor.
Definition at line 156 of file ThreadedElementLoopBase.h.
|
protectedinherited |
The subdomain for the last neighbor.
Definition at line 159 of file ThreadedElementLoopBase.h.
|
protectedinherited |
The subdomain for the last element.
Definition at line 153 of file ThreadedElementLoopBase.h.
|
protectedinherited |
The subdomain for the current element.
Definition at line 150 of file ThreadedElementLoopBase.h.
|
protectedinherited |
Definition at line 147 of file ThreadedElementLoopBase.h.