Peano
Loading...
Searching...
No Matches
exahype2.api.fv.actionsets.DiscardPatchInterior Namespace Reference

Data Structures

class  DiscardPatchInterior
 Discard the patch interior. More...
 

Functions

str wait_for_patch_interior_update (solver, task_number)
 C++ code which waits for the task updating the patch interior.
 

Variables

str WAIT_INCLUDES
 

Function Documentation

◆ wait_for_patch_interior_update()

str exahype2.api.fv.actionsets.DiscardPatchInterior.wait_for_patch_interior_update (   solver,
  task_number 
)

C++ code which waits for the task updating the patch interior.

The code waits only if the cell holds a task number, and never in the very first time step, where the task number has not been set yet (

See also
exahype2.api.fv.actionsets.SpawnTaskToUpdateCellInterior). Afterwards, it releases the task number.
Parameters
solverexahype2.api.Solver The solver the patch interior belongs to.
task_numberpeano4.api.datamodel.DaStGen2 Cell data holding the task number.

Definition at line 8 of file DiscardPatchInterior.py.

Variable Documentation

◆ WAIT_INCLUDES

str exahype2.api.fv.actionsets.DiscardPatchInterior.WAIT_INCLUDES
Initial value:
1= """
2#include "tarch/la/ScalarOperations.h"
3#include "tarch/multicore/multicore.h"
4#include "tarch/multicore/TaskEnumerator.h"
5"""

Definition at line 39 of file DiscardPatchInterior.py.