-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProblem-bsfTypes.h
37 lines (31 loc) · 1.02 KB
/
Problem-bsfTypes.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*==============================================================================
Project: Bulk Synchronous Farm (BSF)
Theme: BSF Skeleton
Module: Problem-bsfTypes.h (Predefined Problem Types)
Prefix: PT_bsf
Author: Leonid B. Sokolinsky
This source code is a part of BSF Skeleton
==============================================================================*/
#pragma once
#include "Problem-Types.h" // Problem Types
//=========================== BSF Types =========================
struct PT_bsf_parameter_T { // Parameter for workers
double coordinates[PP_SPACE_DIMENSION];
double velosity[PP_SPACE_DIMENSION];
};
struct PT_bsf_mapElem_T { // Element of map list
double coordinates[PP_SPACE_DIMENSION];
double mass;
};
struct PT_bsf_reduceElem_T { // Element of reduce list
double acceleration[PP_SPACE_DIMENSION];
};
struct PT_bsf_reduceElem_T_1 {
// optional filling
};
struct PT_bsf_reduceElem_T_2 {
// optional filling
};
struct PT_bsf_reduceElem_T_3 {
// optional filling
};