30#include "../../Common/include/parallelization/mpi_structure.hpp"
99 unsigned short val_timeLevel,
100 int val_ind0MustBeCompleted = -1,
101 int val_ind1MustBeCompleted = -1,
102 int val_ind2MustBeCompleted = -1,
103 int val_ind3MustBeCompleted = -1,
104 int val_ind4MustBeCompleted = -1);
Class for defining a task to be carried out.
Definition task_definition.hpp:42
~CTaskDefinition(void)
Destructor of the class.
Definition task_definition.inl:70
CTaskDefinition & operator=(const CTaskDefinition &other)
Assignment operator.
Definition task_definition.inl:74
unsigned short intPointADER
Time integration point for ADER, if relevant for the task.
Definition task_definition.hpp:76
SOLVER_TASK task
Task to be carried out.
Definition task_definition.hpp:74
SOLVER_TASK
Enumerated type, which defines the tasks to be carried out.
Definition task_definition.hpp:49
@ NO_TASK
Default value used for checking.
Definition task_definition.hpp:50
@ BOUNDARY_CONDITIONS_DEPEND_ON_OWNED
Compute the contribution to the residual from the boundary conditions that only depend on owned eleme...
Definition task_definition.hpp:64
@ INITIATE_REVERSE_MPI_COMMUNICATION
Start the communication of the residuals.
Definition task_definition.hpp:55
@ ADER_PREDICTOR_STEP_INTERNAL_ELEMENTS
ADER predictor step for internal elements.
Definition task_definition.hpp:52
@ INITIATE_MPI_COMMUNICATION
Start the communication of the conserved variables.
Definition task_definition.hpp:53
@ ADER_ACCUMULATE_SPACETIME_RESIDUAL_HALO_ELEMENTS
Accumlate the ADER space time residual for the halo elements.
Definition task_definition.hpp:69
@ ADER_UPDATE_SOLUTION
Update the solution for the ADER scheme.
Definition task_definition.hpp:71
@ SURFACE_RESIDUAL_OWNED_ELEMENTS
Compute the contribution to the residual from the interior surface integral between owned elements.
Definition task_definition.hpp:62
@ SUM_UP_RESIDUAL_CONTRIBUTIONS_OWNED_ELEMENTS
Sum up all contributions to the residual for the owned elements.
Definition task_definition.hpp:66
@ COMPLETE_MPI_COMMUNICATION
Complete the communication of the conserved variables.
Definition task_definition.hpp:54
@ ADER_TIME_INTERPOLATE_HALO_ELEMENTS
Carry out a time interpolation to an integration point for the halo elements.
Definition task_definition.hpp:58
@ SHOCK_CAPTURING_VISCOSITY_HALO_ELEMENTS
Compute the shock capturing artificial viscosity for the halo elements, if needed.
Definition task_definition.hpp:60
@ SHOCK_CAPTURING_VISCOSITY_OWNED_ELEMENTS
Compute the shock capturing artificial viscosity for the owned elements, if needed.
Definition task_definition.hpp:59
@ SURFACE_RESIDUAL_HALO_ELEMENTS
Compute the contribution to the residual from the interior surface integral between an owned and halo...
Definition task_definition.hpp:63
@ ADER_PREDICTOR_STEP_COMM_ELEMENTS
ADER predictor step for elements whose solution must be communicated.
Definition task_definition.hpp:51
@ BOUNDARY_CONDITIONS_DEPEND_ON_HALO
Compute the contribution to the residual from the boundary conditions that depend on halo elements.
Definition task_definition.hpp:65
@ SUM_UP_RESIDUAL_CONTRIBUTIONS_HALO_ELEMENTS
Sum up all contributions to the residual for the halo elements.
Definition task_definition.hpp:67
@ ADER_TIME_INTERPOLATE_OWNED_ELEMENTS
Carry out a time interpolation to an integration point for the owned elements.
Definition task_definition.hpp:57
@ MULTIPLY_INVERSE_MASS_MATRIX
Multiply the accumulated residual with the inverse of the mass matrix.
Definition task_definition.hpp:70
@ ADER_ACCUMULATE_SPACETIME_RESIDUAL_OWNED_ELEMENTS
Accumlate the ADER space time residual for the owned elements.
Definition task_definition.hpp:68
@ COMPLETE_REVERSE_MPI_COMMUNICATION
Complete the communication of the residuals.
Definition task_definition.hpp:56
@ VOLUME_RESIDUAL
Compute the contribution to the residual from the volume integral.
Definition task_definition.hpp:61
unsigned short timeLevel
Time level of the task to be carried out.
Definition task_definition.hpp:75
bool secondPartTimeIntADER
Whether or not this is the second part of the time interval for elements adjacent to a lower time lev...
Definition task_definition.hpp:77
int indMustBeCompleted[5]
Indices in the list of tasks that must be completed before this task can be carried out.
Definition task_definition.hpp:80
CTaskDefinition(void)
Constructor of the class.
Definition task_definition.inl:30
unsigned short nIndMustBeCompleted
Number of relevant indices in indMustBeCompleted.
Definition task_definition.hpp:79
In-Line subroutines of the task_definition.hpp file.