File: coset_def.h

package info (click to toggle)
magnus 20060324-5.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 19,436 kB
  • ctags: 20,462
  • sloc: cpp: 130,217; ansic: 37,090; tcl: 10,970; perl: 1,109; makefile: 966; sh: 403; yacc: 372; csh: 57; awk: 33; asm: 10
file content (28 lines) | stat: -rw-r--r-- 1,217 bytes parent folder | download | duplicates (5)
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
/* include file for define a coset. */
#include "ct.h"
#include "ded.h"
#include "miscellaneous.h"
#ifndef __COSET__DEF__
#define __COSET__DEF__
#define Get_cos(k)           k = NEXTDF; \
                           Init_coset(k); \
                           NEXTDF += ncol; \
                           TOTCOS++; \
                           NALIVE++; \
                           MAXCOS = max0(MAXCOS, NALIVE); \
                           if (MSGLVE && NALIVE == INTNAL) { \
                                   INTNAL += LVE; \
                                   if (NALIVE != OLDNAL) { \
                                           OLDNAL = NALIVE; \
					tc_text(11, tc_pvar); \
                                   } \
                           }
#define Init_coset1        for (j = 1; j <= ncol; j++)  \
                                 CT(COSET1, j) = 0
#define Init_coset(k)   for (col = 1; col <= ncol; col++) \
                                CT(k, col) = 0
#define Fill_vac_in_rel(row,col,k,j)    CT(row,col) = k; \
                                        CT(k,j) = row; \
                                        if(!VeryFirst) \
                                                { Save_ded(row,col); }
#endif