/*************************************************************************************************************************************/ /* */ /* D E F I N I T I O N S R E L A T I V E S A L A D E R I V A T I O N F O R M E L L E */ /* D E L A S U R F A C E D E B O Y : */ /* */ /* */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* * * * ** * * * * * ** * */ /* * * * * * * * * * * * * * * * */ /* * * * * * * * * * * * * * */ /* * * * * * * * * * * * * * * * */ /* * * * * * * * * * * * * * * * */ /* * * * * * * * * * * * * * * * * * */ /* * * * * * * * * * * * * * */ /* * * * * * * * * * * * * * * * */ /* * * * * ** * * * * * ** */ /* * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* */ /* ATTENTION : */ /* */ /* Les definitions ici presentes se retrouvent */ /* dupliquees "betement" pour des raisons de */ /* simplicite dans 'v $ximf/surfaces.1$FON'. */ /* */ /* */ /* Author of '$xrs/sBoy.11$I' : */ /* */ /* Jean-Francois Colonna (LACTAMME, 19981221112417). */ /* */ /*************************************************************************************************************************************/ /*===================================================================================================================================*/ /*************************************************************************************************************************************/ /* */ /* D E F I N I T I O N D E S T R O I S F O N C T I O N S ' F ' : */ /* */ /*************************************************************************************************************************************/ /* ATTENTION, il est imperatif que les fonctions derivables formellement soient definies */ /* dans un fichier a part afin qu'elles ne soient pas l'objet d'une double definition. En */ /* effet, on trouve dans 'v $xcc/cpp$Z' : */ /* */ /* $CA $module$w */ /* | $xcp/cpp$X ... -c$PASSE_D -e$PASSE_5 */ /* > $fichierR */ /* */ /* Ainsi, si par exemple la definition de 'Fx(u,v)' etait faite localement dans le */ /* fichier '$xrf/recursif.11$K', cette definition apparaitrait deux fois dans le fichier */ /* '$module$w' : une premiere fois en tete, provenant de '$PASSE_D' ou l'on ne trouve que */ /* les definitions du type '-define ...', puis une deuxieme fois a la suite, la ou se trouve */ /* concatene au fichier '$module$W' des '-define ...' le fichier '$fichierA' a compiler... */ -define A_BOY_1(v) \ -_-_-_- ADD2(coefficient0_surface_de_boy \ -_-_-_- ,ADD2(MUL2(coefficient1_surface_de_boy \ -_-_-_- ,SINX(SOUS(MUL2(SIX,v) \ -_-_-_- ,DIVI(PI,TROIS) \ -_-_-_- ) \ -_-_-_- ) \ -_-_-_- ) \ -_-_-_- ,MUL2(coefficient2_surface_de_boy \ -_-_-_- ,SINX(SOUS(MUL2(TROIS,v) \ -_-_-_- ,DIVI(PI,SIX) \ -_-_-_- ) \ -_-_-_- ) \ -_-_-_- ) \ -_-_-_- ) \ -_-_-_- ) -define B_BOY_1(v) \ -_-_-_- ADD2(coefficient0_surface_de_boy \ -_-_-_- ,SOUS(MUL2(coefficient1_surface_de_boy \ -_-_-_- ,SINX(SOUS(MUL2(SIX,v) \ -_-_-_- ,DIVI(PI,TROIS) \ -_-_-_- ) \ -_-_-_- ) \ -_-_-_- ) \ -_-_-_- ,MUL2(coefficient2_surface_de_boy \ -_-_-_- ,SINX(SOUS(MUL2(TROIS,v) \ -_-_-_- ,DIVI(PI,SIX) \ -_-_-_- ) \ -_-_-_- ) \ -_-_-_- ) \ -_-_-_- ) \ -_-_-_- ) -define ALPHA_BOY_1(v) \ -_-_-_- MUL2(DIVI(PI,HUIT) \ -_-_-_- ,SINX(MUL2(TROIS,v)) \ -_-_-_- ) -define X1_BOY_1(u,v) \ -_-_-_- ADD2(DIVI(SOUS(EXP2(A_BOY_1(v)) \ -_-_-_- ,EXP2(B_BOY_1(v)) \ -_-_-_- ) \ -_-_-_- ,GpytF2D(A_BOY_1(v) \ -_-_-_- ,B_BOY_1(v) \ -_-_-_- ) \ -_-_-_- ) \ -_-_-_- ,SOUS(MUL2(A_BOY_1(v) \ -_-_-_- ,COSX(u) \ -_-_-_- ) \ -_-_-_- ,MUL2(B_BOY_1(v) \ -_-_-_- ,SINX(u) \ -_-_-_- ) \ -_-_-_- ) \ -_-_-_- ) /* La procedure 'GpytF2D(...)' a ete introduite le 20021120112941. */ -define Z1_BOY_1(u,v) \ -_-_-_- ADD2(GpytF2D(A_BOY_1(v) \ -_-_-_- ,B_BOY_1(v) \ -_-_-_- ) \ -_-_-_- ,ADD2(MUL2(A_BOY_1(v) \ -_-_-_- ,COSX(u) \ -_-_-_- ) \ -_-_-_- ,MUL2(B_BOY_1(v) \ -_-_-_- ,SINX(u) \ -_-_-_- ) \ -_-_-_- ) \ -_-_-_- ) /* La procedure 'GpytF2D(...)' a ete introduite le 20021120112941. */ -define Fx_SurfaceDeBoy_1(u,v) \ -_-_-_- MUL2(rayon_surface_de_boy \ -_-_-_- ,SOUS(MUL2(X1_BOY_1(u,v) \ -_-_-_- ,COSX(v) \ -_-_-_- ) \ -_-_-_- ,MUL2(MUL2(Z1_BOY_1(u,v) \ -_-_-_- ,SINX(ALPHA_BOY_1(v)) \ -_-_-_- ) \ -_-_-_- ,SINX(v) \ -_-_-_- ) \ -_-_-_- ) \ -_-_-_- ) /* Definition de la fonction F (u,v). */ /* x */ -define Fy_SurfaceDeBoy_1(u,v) \ -_-_-_- MUL2(rayon_surface_de_boy \ -_-_-_- ,ADD2(MUL2(X1_BOY_1(u,v) \ -_-_-_- ,SINX(v) \ -_-_-_- ) \ -_-_-_- ,MUL2(MUL2(Z1_BOY_1(u,v) \ -_-_-_- ,SINX(ALPHA_BOY_1(v)) \ -_-_-_- ) \ -_-_-_- ,COSX(v) \ -_-_-_- ) \ -_-_-_- ) \ -_-_-_- ) /* Definition de la fonction F (u,v). */ /* y */ -define Fz_SurfaceDeBoy_1(u,v) \ -_-_-_- MUL2(rayon_surface_de_boy \ -_-_-_- ,MUL2(Z1_BOY_1(u,v) \ -_-_-_- ,COSX(ALPHA_BOY_1(v)) \ -_-_-_- ) \ -_-_-_- ) /* Definition de la fonction F (u,v). */ /* z */ /*===================================================================================================================================*/ /*************************************************************************************************************************************/ /* */ /* I N I T I A L I S A T I O N S R E L A T I V E S A L A P S E U D O - P R O J E C T I O N : */ /* */ /*************************************************************************************************************************************/ -define Pxyz_SurfaceDeBoy_1 \ -_-_-_- Bblock \ -_-_-_- BLOC(VIDE;); \ -_-_-_- Eblock /* Initialisations specifiques a cette surface destinees a permettre la reinjection des */ /* trois pseudo-projections {Projection_de_Fx,Projection_de_Fy,Projection_de_Fz} dans */ /* 'v $xrs/project2D.11$K' (introduit le 20050203093249)... */