![]() |
Documentation 6b54b78464
|
Class for defining a task to be carried out. More...
#include <task_definition.hpp>
Public Types | |
| enum | SOLVER_TASK { NO_TASK = 0 , ADER_PREDICTOR_STEP_COMM_ELEMENTS = 1 , ADER_PREDICTOR_STEP_INTERNAL_ELEMENTS = 2 , INITIATE_MPI_COMMUNICATION = 3 , COMPLETE_MPI_COMMUNICATION = 4 , INITIATE_REVERSE_MPI_COMMUNICATION = 5 , COMPLETE_REVERSE_MPI_COMMUNICATION = 6 , ADER_TIME_INTERPOLATE_OWNED_ELEMENTS = 7 , ADER_TIME_INTERPOLATE_HALO_ELEMENTS = 8 , SHOCK_CAPTURING_VISCOSITY_OWNED_ELEMENTS = 9 , SHOCK_CAPTURING_VISCOSITY_HALO_ELEMENTS = 10 , VOLUME_RESIDUAL = 11 , SURFACE_RESIDUAL_OWNED_ELEMENTS = 12 , SURFACE_RESIDUAL_HALO_ELEMENTS = 13 , BOUNDARY_CONDITIONS_DEPEND_ON_OWNED = 14 , BOUNDARY_CONDITIONS_DEPEND_ON_HALO = 15 , SUM_UP_RESIDUAL_CONTRIBUTIONS_OWNED_ELEMENTS = 16 , SUM_UP_RESIDUAL_CONTRIBUTIONS_HALO_ELEMENTS = 17 , ADER_ACCUMULATE_SPACETIME_RESIDUAL_OWNED_ELEMENTS = 18 , ADER_ACCUMULATE_SPACETIME_RESIDUAL_HALO_ELEMENTS = 19 , MULTIPLY_INVERSE_MASS_MATRIX = 20 , ADER_UPDATE_SOLUTION = 21 } |
| Enumerated type, which defines the tasks to be carried out. More... | |
Public Member Functions | |
| CTaskDefinition (void) | |
| Constructor of the class. | |
| CTaskDefinition (SOLVER_TASK val_task, unsigned short val_timeLevel, int val_ind0MustBeCompleted=-1, int val_ind1MustBeCompleted=-1, int val_ind2MustBeCompleted=-1, int val_ind3MustBeCompleted=-1, int val_ind4MustBeCompleted=-1) | |
| Alternative constructor of the class, which initializes the member variables to the given arguments. | |
| ~CTaskDefinition (void) | |
| Destructor of the class. | |
| CTaskDefinition (const CTaskDefinition &other) | |
| Copy constructor of the class. | |
| CTaskDefinition & | operator= (const CTaskDefinition &other) |
| Assignment operator. | |
Public Attributes | |
| SOLVER_TASK | task |
| Task to be carried out. | |
| unsigned short | timeLevel |
| Time level of the task to be carried out. | |
| unsigned short | intPointADER |
| Time integration point for ADER, if relevant for the task. | |
| bool | secondPartTimeIntADER |
| Whether or not this is the second part of the time interval for elements adjacent to a lower time level. | |
| unsigned short | nIndMustBeCompleted |
| Number of relevant indices in indMustBeCompleted. | |
| int | indMustBeCompleted [5] |
| Indices in the list of tasks that must be completed before this task can be carried out. | |
Class for defining a task to be carried out.
Enumerated type, which defines the tasks to be carried out.
|
inline |
Constructor of the class.
|
inline |
Alternative constructor of the class, which initializes the member variables to the given arguments.
| [in] | val_task | - Task to be set. |
| [in] | val_timeLevel | - Time level to be set. |
| [in] | val_ind0MustBeCompleted | - Completed index to be set, defaulted to -1. |
| [in] | val_ind1MustBeCompleted | - Completed index to be set, defaulted to -1. |
| [in] | val_ind2MustBeCompleted | - Completed index to be set, defaulted to -1. |
| [in] | val_ind3MustBeCompleted | - Completed index to be set, defaulted to -1. |
| [in] | val_ind4MustBeCompleted | - Completed index to be set, defaulted to -1. |
|
inline |
Destructor of the class.
|
inline |
Copy constructor of the class.
|
inline |
Assignment operator.
| int CTaskDefinition::indMustBeCompleted[5] |
Indices in the list of tasks that must be completed before this task can be carried out.
| unsigned short CTaskDefinition::intPointADER |
Time integration point for ADER, if relevant for the task.
| unsigned short CTaskDefinition::nIndMustBeCompleted |
Number of relevant indices in indMustBeCompleted.
| bool CTaskDefinition::secondPartTimeIntADER |
Whether or not this is the second part of the time interval for elements adjacent to a lower time level.
| SOLVER_TASK CTaskDefinition::task |
Task to be carried out.
| unsigned short CTaskDefinition::timeLevel |
Time level of the task to be carried out.