OSDN Git Service

rebuild: for X86LINUX64/X86LINUX64ICC
[eos/base.git] / hostdepend / X86LINUX64ICC / include / lllDatarMaxLimit.h
1 /*
2 # %M% %Y% %I%
3 # The latest update : %G% at %U%
4 #
5 #%Z% lllDatarMaxLimit ver %I%
6 #%Z% Created by 
7 #%Z%
8 #%Z% Usage : lllDatarMaxLimit
9 #%Z% Attention
10 #%Z%
11 */
12
13 #ifndef LLLDATA_RMAX_LIMIT_H
14 #define LLLDATA_RMAX_LIMIT_H
15
16 #include "llData.h"
17 #include "genUtil.h"
18
19 /* constant begin */
20
21 typedef enum lllDatarMaxLimitMode {
22         lllDatarMaxLimitModeNoMemorySave = 0 ,
23         lllDatarMaxLimitModeMemorySave   = 1
24 } lllDatarMaxLimitMode;
25 /* constant end */
26
27 /* struct begin */
28
29 typedef struct lllDatarMaxLimitInfo {
30         float rMax;
31         int   flagrMaxMin;
32         float rMaxMin;
33 } lllDatarMaxLimitInfo;
34 /* struct end */
35
36 /* prototype begin */
37 extern void
38 lllDatarMaxLimit(llData* llIn, lllDatarMaxLimitInfo linfo, int mode);
39
40 extern inline int 
41 lllDatarMaxLimitCheck(float R, int n, float rMax);
42
43 extern inline float 
44 lllDatarMaxLimitWeight(float R, int n, float rMax, float rMaxMin);
45 /* prototype end */
46
47 #endif /* LLLDATA_RMAX_LIMIT_H */