Peano
Loading...
Searching...
No Matches
solvers.rkdg.SeparateSweepsWithEnclaveTasking.MergeEnclaveTaskOutcome Class Reference
Inheritance diagram for solvers.rkdg.SeparateSweepsWithEnclaveTasking.MergeEnclaveTaskOutcome:
Collaboration diagram for solvers.rkdg.SeparateSweepsWithEnclaveTasking.MergeEnclaveTaskOutcome:

Public Member Functions

 __init__ (self, solver)
 
 get_body_of_operation (self, operation_name)
 
 get_action_set_name (self)
 
 get_includes (self)
 

Data Fields

 label_name
 

Static Public Attributes

str Template
 

Detailed Description

Definition at line 20 of file SeparateSweepsWithEnclaveTasking.py.

Constructor & Destructor Documentation

◆ __init__()

solvers.rkdg.SeparateSweepsWithEnclaveTasking.MergeEnclaveTaskOutcome.__init__ (   self,
  solver 
)

Definition at line 53 of file SeparateSweepsWithEnclaveTasking.py.

References solvers.rkdg.SeparateSweepsWithEnclaveTasking.MergeEnclaveTaskOutcome.__init__().

Referenced by solvers.rkdg.SeparateSweepsWithEnclaveTasking.MergeEnclaveTaskOutcome.__init__().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ get_action_set_name()

solvers.rkdg.SeparateSweepsWithEnclaveTasking.MergeEnclaveTaskOutcome.get_action_set_name (   self)

Definition at line 74 of file SeparateSweepsWithEnclaveTasking.py.

◆ get_body_of_operation()

solvers.rkdg.SeparateSweepsWithEnclaveTasking.MergeEnclaveTaskOutcome.get_body_of_operation (   self,
  operation_name 
)

Definition at line 58 of file SeparateSweepsWithEnclaveTasking.py.

References solvers.aderdg.actionsets.AbstractADERDGActionSet.AbstractADERDGActionSet._solver, solvers.fv.actionsets.AbstractFVActionSet.AbstractFVActionSet._solver, solvers.fv.EnclaveTasking.UpdateCell._solver, solvers.fv.SingleSweep.UpdateCell._solver, solvers.limiting.actionsets.AbstractLimiterActionSet.AbstractLimiterActionSet._solver, solvers.rkdg.actionsets.AbstractRungeKuttaDGActionSet.AbstractRungeKuttaDGActionSet._solver, exagrype.api.FD4WithKODissipation.FD4WithKODissipation._solver, exahype2.api.blockstructured.AdaptMeshAndBalanceLoad.AdaptMeshAndBalanceLoad._solver, exahype2.api.blockstructured.ConsumeRefinementRequests.ConsumeRefinementRequests._solver, exahype2.api.blockstructured.DynamicMeshRefinement.DynamicMeshRefinement._solver, exahype2.api.blockstructured.LoadCheckpoint._LoadPatchesFromCheckpoint._solver, exahype2.api.blockstructured.LoadCheckpoint.LoadCheckpoint._solver, exahype2.api.fv.actionsets.AbstractFVActionSet.AbstractFVActionSet._solver, exahype2.api.fv.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions._solver, exahype2.api.fv.actionsets.DiscardPatchInterior.DiscardPatchInterior._solver, exahype2.api.fv.AdaptMeshAndBalanceLoad.AdaptMeshAndBalanceLoad._solver, exahype2.api.fv.PlotAsVTKFile.PlotAsVTKFile._solver, exahype2.api.fv.RusanovWithExplicitEuler.RusanovWithExplicitEuler._solver, exahype2.api.fv.RusanovWithOptimisticExplicitEuler.RusanovWithOptimisticExplicitEuler._solver, exahype2.api.fv.SetupSimulationOverRegularGrid.SetupSimulationOverRegularGrid._solver, exahype2.api.fv.SetupSimulationWithUserCodedRefinementCriterion.SetupSimulationWithUserCodedRefinementCriterion._solver, exahype2.api.fv.WriteCheckpoint.WriteCheckpoint._solver, exahype2.api.rkfd4.actionsets.AbstractRKFD4ActionSet.AbstractRKFD4ActionSet._solver, exahype2.api.rkfd4.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions._solver, exahype2.api.rkfd4.AdaptMeshAndBalanceLoad.AdaptMeshAndBalanceLoad._solver, exahype2.api.rkfd4.CentralDifferencesWithRungeKutta.CentralDifferencesWithRungeKutta._solver, exahype2.api.rkfd4.PlotAsVTKFile.PlotAsVTKFile._solver, exahype2.api.rkfd4.SetupSimulationOverRegularGrid.SetupSimulationOverRegularGrid._solver, exahype2.api.rkfd4.WriteCheckpoint.WriteCheckpoint._solver, exahype2.api.Solver.Solver.SolverGenerator._solver, exahype2.api.Solver.Solver.NumericalScheme._solver, exahype2.api.Solver.Solver.GridConstruction._solver, exahype2.api.Solver.Solver.Plotter._solver, exahype2.api.Solver.Solver.MeshAdaptation._solver, 20_additional-solver-steps.RusanovWithDensityFloor._solver, 20_additional-solver-steps.RungeKuttaWithDensityFloor._solver, solvers.fv.EnclaveTasking.MergeEnclaveTaskOutcome.label_name, solvers.rkdg.SeparateSweepsWithEnclaveTasking.MergeEnclaveTaskOutcome.label_name, solvers.fv.EnclaveTasking.MergeEnclaveTaskOutcome.Template, and solvers.rkdg.SeparateSweepsWithEnclaveTasking.MergeEnclaveTaskOutcome.Template.

Referenced by peano4.api.solversteps.ActionSet.ActionSet.get_implementation_of_operation().

Here is the caller graph for this function:

◆ get_includes()

solvers.rkdg.SeparateSweepsWithEnclaveTasking.MergeEnclaveTaskOutcome.get_includes (   self)

Definition at line 80 of file SeparateSweepsWithEnclaveTasking.py.

References solvers.rkdg.SeparateSweepsWithEnclaveTasking.MergeEnclaveTaskOutcome.get_includes().

Referenced by solvers.rkdg.SeparateSweepsWithEnclaveTasking.MergeEnclaveTaskOutcome.get_includes().

Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ label_name

◆ Template

str solvers.rkdg.SeparateSweepsWithEnclaveTasking.MergeEnclaveTaskOutcome.Template
static
Initial value:
= """
{% for PREDICATE_NO in range(0,PREDICATES|length) %}
if (
not marker.hasBeenRefined()
and
marker.hasBeenEnclaveCell()
and
{{PREDICATES[PREDICATE_NO]}}
) {
#if Dimensions==2
double* QOut = fineGridCell{{UNKNOWN_IDENTIFIER}}RhsEstimates.value + {{PREDICATE_NO}} * {{NUMBER_OF_DOFS_PER_CELL_2D}} * {{NUMBER_OF_UNKNOWNS}};
#elif Dimensions==3
double* QOut = fineGridCell{{UNKNOWN_IDENTIFIER}}RhsEstimates.value + {{PREDICATE_NO}} * {{NUMBER_OF_DOFS_PER_CELL_3D}} * {{NUMBER_OF_UNKNOWNS}};
#endif
const int taskNumber = fineGridCell{{LABEL_NAME}}.getSemaphoreNumber();
if ( taskNumber>=0 ) {
double maxEigenvalue; // not used here
::exahype2::EnclaveBookkeeping::getInstance().waitForTaskToTerminateAndCopyResultOver(
taskNumber,
QOut,
maxEigenvalue,
marker.x(),
marker.h()
);
fineGridCell{{LABEL_NAME}}.setSemaphoreNumber( ::exahype2::EnclaveBookkeeping::NoEnclaveTaskNumber );
}
}
{% endfor %}
"""

Definition at line 21 of file SeparateSweepsWithEnclaveTasking.py.

Referenced by solvers.fv.EnclaveTasking.MergeEnclaveTaskOutcome.get_body_of_operation(), and solvers.rkdg.SeparateSweepsWithEnclaveTasking.MergeEnclaveTaskOutcome.get_body_of_operation().


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