Download CORE Manual

Transcript
CORE MANUAL
void FINEStoreInArray_3D(short iType,short iTCell,short jTCell, short kTCell, short
Index,
bool bXtorus, bool bYtorus,bool bZtorus,
short XDim, short YDim, short ZDim);
void FINEMoveAlone2_3D (short* MoveParam,CELL* Cell,
short XDim,short YDim,short ZDim,MOVE* Move);
void FINEMoveAway2_3D
(short* MoveParam,CELL* Cell,
short XDim,short YDim,short ZDim,MOVE* Move);
void FINEStoreNodeInArray_3D(short iType,short iTCell,short jTCell, short kTCell,
short Index,bool bXtorus, bool bYtorus, bool bZtorus,
short XDim, short YDim, short ZDim);
...............
}
Script 18: Listing of modified member function declarations
A.3
Class MOVE
The class MOVE is extended and now includes the shift DZ .The parameter iSect is being interpreted
now not only for moves in plain but also for up and down values.
class MOVE
/////////////////////////////////////////////////////////////////////////////
// AT THE MOMENT, AN ACTION REDUCES TO A SINGLE MOVE. HOWEVER, THE CLASS STRUCTURE
// COULD BE EXTENDED TO CONSIDER OTHER EFFECTS
/////////////////////////////////////////////////////////////////////////////
{
public:
short DX;
//SHIFT IN X DIRECTION
short DY;
//SHIFT IN Y DIRECTION

short DZ;
//SHIFT IN Z DIRECTION
short iSect;
//iSect=0: MOVE EAST; iSect=1: MOVE NORTH EAST; iSect=2: MOVE NORTH;
//iSect=3: MOVE NORTH WEST; iSect=4: MOVE WEST; iSect=5: MOVE SOUTH WEST;
//iSect=6: MOVE SOUTH; iSect=7: MOVE SOUTH EAST;
//MOVE UP OR DOWN IN 3D //iSect=7,8....25
double weight; //RATE OF THE ACTION
char mode;
//'U': UNDEFINED; 'M': MOVE; 'K': MOVE & KILL
};
Script 19: Listing of modified class MOVE
A.4
Class CPointEx
This class is also extended and now includes the z position of the Cell.
class CPointEx
{
public:

double x;
double y;
double z;
CPointEx();
CPointEx(float X, float Y);
CPointEx(float X, float Y,float Z);
void operator = (const CPointEx &other);
bool operator == (const CPointEx &other);
bool operator != (const CPointEx &other);
Revision: 128
IV-171/206
18/12/2013