#include <ComputeFVInitialConditionThread.h>
◆ ElemInfoRange
◆ ComputeFVInitialConditionThread() [1/2]
| ComputeFVInitialConditionThread::ComputeFVInitialConditionThread |
( |
FEProblemBase & |
fe_problem | ) |
|
◆ ComputeFVInitialConditionThread() [2/2]
◆ join()
◆ operator()()
| void ComputeFVInitialConditionThread::operator() |
( |
const ElemInfoRange & |
range | ) |
|
Definition at line 26 of file ComputeFVInitialConditionThread.C.
27{
30
33
34
35 for (const auto & elem_info : range)
36 if (warehouse.hasActiveBlockObjects(elem_info->subdomain_id(),
_tid))
37 for (auto ic : warehouse.getActiveBlockObjects(elem_info->subdomain_id(),
_tid))
38 ic->computeElement(*elem_info);
39}
for(PetscInt i=0;i< nvars;++i)
if(!dmm->_nl) SETERRQ(PETSC_COMM_WORLD
void printGeneralExecutionInformation() const
Print information about the loop, mostly order of execution of objects.
const FVInitialConditionWarehouse & getFVInitialConditionWarehouse() const
Return FVInitialCondition storage.
Warehouse for storing finite volume initial conditions.
◆ printGeneralExecutionInformation()
| void ComputeFVInitialConditionThread::printGeneralExecutionInformation |
( |
| ) |
const |
|
protected |
Print information about the loop, mostly order of execution of objects.
Definition at line 47 of file ComputeFVInitialConditionThread.C.
48{
51 {
54 console << "[DBG] Executing initial conditions on elements on " << execute_on << std::endl;
55 console << "[DBG] Unordered list:" << std::endl;
56 console << ic_wh.activeObjectsToFormattedString() << std::endl;
57 console << "[DBG] The order of execution is defined by dependency resolution on every element"
58 << std::endl;
59 }
60}
const ExecFlagType & getCurrentExecuteOnFlag() const
Return/set the current execution flag.
bool shouldPrintExecution(const THREAD_ID tid) const
Check whether the problem should output execution orders at this time.
const ConsoleStream & console() const
Return console handle.
Referenced by operator()().
◆ _fe_problem
◆ _tid
| THREAD_ID ComputeFVInitialConditionThread::_tid |
|
protected |
The documentation for this class was generated from the following files: