[Developers] ADMMacros, C version fixes

Frank Loeffler frank.loeffler at aei.mpg.de
Tue Sep 11 03:10:20 CDT 2007


Hi,

this patch fixes some compile problems with the C version of the macros.
Obviously nobody used this code before. Now at least it compiles.

Frank

Index: src/macro/CDXCDK_guts.h
===================================================================
RCS file: /cactusdevcvs/CactusEinstein/ADMMacros/src/macro/CDXCDK_guts.h,v
retrieving revision 1.4
diff -r1.4 CDXCDK_guts.h
40c40
<       CDXCDK_CDXCDKXX = DXDK_DXDKXX - 2D0*(CHR2_XXX*CDXCDK_KXX
---
>       CDXCDK_CDXCDKXX = DXDK_DXDKXX - 2.*(CHR2_XXX*CDXCDK_KXX
42c42
<       CDXCDK_CDXCDKYY = DXDK_DXDKYY - 2D0*(CHR2_XXY*CDXCDK_KXY
---
>       CDXCDK_CDXCDKYY = DXDK_DXDKYY - 2.*(CHR2_XXY*CDXCDK_KXY
44c44
<       CDXCDK_CDXCDKZZ = DXDK_DXDKZZ - 2D0*(CHR2_XXZ*CDXCDK_KXZ
---
>       CDXCDK_CDXCDKZZ = DXDK_DXDKZZ - 2.*(CHR2_XXZ*CDXCDK_KXZ
Index: src/macro/CDYCDK_guts.h
===================================================================
RCS file: /cactusdevcvs/CactusEinstein/ADMMacros/src/macro/CDYCDK_guts.h,v
retrieving revision 1.4
diff -r1.4 CDYCDK_guts.h
44c44
<       CDYCDK_CDYCDKXX = DYDK_DYDKXX - 2D0*(CHR2_XXY*CDYCDK_KXX + 
---
>       CDYCDK_CDYCDKXX = DYDK_DYDKXX - 2.*(CHR2_XXY*CDYCDK_KXX + 
47c47
<       CDYCDK_CDYCDKYY = DYDK_DYDKYY - 2D0*(CHR2_XYY*CDYCDK_KXY + 
---
>       CDYCDK_CDYCDKYY = DYDK_DYDKYY - 2.*(CHR2_XYY*CDYCDK_KXY + 
50c50
<       CDYCDK_CDYCDKZZ = DYDK_DYDKZZ - 2D0*(CHR2_XYZ*CDYCDK_KXZ + 
---
>       CDYCDK_CDYCDKZZ = DYDK_DYDKZZ - 2.*(CHR2_XYZ*CDYCDK_KXZ + 
Index: src/macro/CDZCDK_guts.h
===================================================================
RCS file: /cactusdevcvs/CactusEinstein/ADMMacros/src/macro/CDZCDK_guts.h,v
retrieving revision 1.4
diff -r1.4 CDZCDK_guts.h
44c44
<       CDZCDK_CDZCDKXX = DZDK_DZDKXX - 2D0*(CHR2_XXZ*CDZCDK_KXX + 
---
>       CDZCDK_CDZCDKXX = DZDK_DZDKXX - 2.*(CHR2_XXZ*CDZCDK_KXX + 
47c47
<       CDZCDK_CDZCDKYY = DZDK_DZDKYY - 2D0*(CHR2_XYZ*CDZCDK_KXY + 
---
>       CDZCDK_CDZCDKYY = DZDK_DZDKYY - 2.*(CHR2_XYZ*CDZCDK_KXY + 
50c50
<       CDZCDK_CDZCDKZZ = DZDK_DZDKZZ - 2D0*(CHR2_XZZ*CDZCDK_KXZ + 
---
>       CDZCDK_CDZCDKZZ = DZDK_DZDKZZ - 2.*(CHR2_XZZ*CDZCDK_KXZ + 


--- StripMime Report -- processed MIME parts ---
multipart/mixed
  text/plain (text body -- kept)
  text/plain (text body -- kept)
---


More information about the Developers mailing list