Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

AlphaCopy.cpp

Go to the documentation of this file.
00001 
00002 //
00003 // Implementation of class AlphaCopy
00004 //
00005 // Author : G. Bagliesi
00006 //
00008 
00009 #include <vector>
00010 #include <stdlib.h>
00011 #include <math.h>
00012 #include "AlphaCopy.h"
00013 
00014 
00016 // functions related to QVEC
00018 
00019 
00020 // set the pointer 
00021 void  QVEC::SetPointer(QVEC_ALPHA* pointer ){qvec_alpha = pointer;}
00022 
00023 // standard ALPHA functions
00024 float QVEC::QCH(){ return qvec_alpha->QCH;}
00025 float QVEC::QX(){ return qvec_alpha->QX;} 
00026 float QVEC::QY(){ return qvec_alpha->QY;} 
00027 float QVEC::QZ(){ return qvec_alpha->QZ;} 
00028 float QVEC::QP(){ return qvec_alpha->QP;} 
00029 float QVEC::QM(){ return qvec_alpha->QM;}
00030 float QVEC::QE(){ return qvec_alpha->QE;} 
00031 int   QVEC::TN(){ return qvec_alpha->TN;} 
00032 int   QVEC::SC(){ return qvec_alpha->SC;} 
00033 int   QVEC::KS(){ return qvec_alpha->KS;} 
00034 int   QVEC::CL(){ return qvec_alpha->CL;} 
00035 int   QVEC::PA(){ return qvec_alpha->PA;} 
00036 int   QVEC::QD(){ return qvec_alpha->QD;} 
00037 int   QVEC::NP(){ return qvec_alpha->NP;} 
00038 int   QVEC::SP(){ return qvec_alpha->SP;} 
00039 int   QVEC::OV(){ return qvec_alpha->OV;} 
00040 int   QVEC::EV(){ return qvec_alpha->EV;} 
00041 int   QVEC::ND(){ return qvec_alpha->ND;} 
00042 int   QVEC::DL(){ return qvec_alpha->DL;} 
00043 int   QVEC::NO(){ return qvec_alpha->NO;} 
00044 int   QVEC::OL(){ return qvec_alpha->OL;} 
00045 int   QVEC::NM(){ return qvec_alpha->NM;} 
00046 int   QVEC::ML(){ return qvec_alpha->ML;} 
00047 int   QVEC::BM(int index){ return qvec_alpha->BM[index];}
00048 int   QVEC::LK(){ return qvec_alpha->LK;}   
00049 float QVEC::DB(){ return qvec_alpha->DB;}
00050 float QVEC::ZB(){ return qvec_alpha->ZB;}
00051 float QVEC::SD(){ return qvec_alpha->SD;}
00052 float QVEC::SZ(){ return qvec_alpha->SZ;}
00053 float QVEC::CB(){ return qvec_alpha->CB;}
00054 float QVEC::EM(int i, int j){ return (i<=j)? qvec_alpha->EM[i+j*(j-1)/2]: qvec_alpha->EM[j+i*(i-1)/2];}
00055 float QVEC::CF(){ return qvec_alpha->CF;}
00056 float QVEC::EW(){ return qvec_alpha->EW;}
00057 float QVEC::US(int index){ return qvec_alpha->US[index];}
00058 
00059 
00060 
00061 
00062 
00064 // functions related to QVRT
00066 
00067 
00068 
00069 // set the pointer 
00070 void QVRT::SetPointer(QVRT_ALPHA* pointer ){qvrt_alpha = pointer;} 
00071 
00072 // standard ALPHA functions
00073 float QVRT::QVX() { return qvrt_alpha->VX;}
00074 float QVRT::QVY() { return qvrt_alpha->VY;}
00075 float QVRT::QVZ() { return qvrt_alpha->VZ;}
00076 int   QVRT::KVN() { return qvrt_alpha->VN;}
00077 int   QVRT::KVTYPE() { return qvrt_alpha->TY;}
00078 float QVRT::QVCHIF() {return qvrt_alpha->CF;}
00079 float QVRT::QVEM(int i,int j) {return (i<=j)? qvrt_alpha->EM[i+j*(j-1)/2]: qvrt_alpha->EM[j+i*(i-1)/2];}
00080 int   QVRT::IP() { return qvrt_alpha->IP;}
00081 int   QVRT::ND() { return qvrt_alpha->ND;}
00082 int   QVRT::DL() { return qvrt_alpha->DL;}
00083 int   QVRT::AY() { return qvrt_alpha->AY;}
00084 float QVRT::ET(int i, int j) { return (i<=j)? qvrt_alpha->ET[i+j*(j-1)/2]: qvrt_alpha->ET[j+i*(i-1)/2];}
00085 float QVRT::US(int i) { return qvrt_alpha->US[i];}

Generated at Wed Jun 18 17:19:11 2003 for ALPHA++ by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001