Open Source & Linux Lab

It's better when it's simple

User Tools

Site Tools


etc:common_activities:intel_students_cup:tab_sin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
etc:common_activities:intel_students_cup:tab_sin [2007/11/07 20:44] jcmvbkbcetc:common_activities:intel_students_cup:tab_sin [2008/01/03 02:32] (current) – external edit 127.0.0.1
Line 5: Line 5:
 Реализация: Реализация:
 <file> <file>
-diff -ruN src-org/sunset.cpp src-more/sunset.cpp+diff -ruN src-org/sunset.cpp src-tabsin/sunset.cpp
 --- src-org/sunset.cpp  2007-09-16 12:04:44.000000000 +0400 --- src-org/sunset.cpp  2007-09-16 12:04:44.000000000 +0400
-+++ src-more/sunset.cpp 2007-11-07 09:55:27.000000000 +0300 ++++ src-tabsin/sunset.cpp       2007-11-07 21:38:07.000000000 +0300 
-@@ -45,6 +45,8 @@ +@@ -115,6 +115,33 @@
- #include <omp.h> +
- #endif +
- #include "sunset.h" +
-+#include <ippvm.h> +
-+#include <ippm.h> +
- +
- #define MIN(x,y)    (((x) < (y)) ? (x) : (y)) +
- #define MAX(x,y)    (((x) < (y)) ? (y) : (x)) +
-@@ -115,6 +117,33 @@+
      }      }
  }  }
Line 51: Line 42:
  
  #define DECLARE_ALIGNED_PTR(type, pName) \  #define DECLARE_ALIGNED_PTR(type, pName) \
-@@ -320,6 +349,7 @@+@@ -320,6 +347,7 @@
  /*---------------------------------------------------------------------------*/  /*---------------------------------------------------------------------------*/
      if(iCurFrame == 1)      if(iCurFrame == 1)
Line 59: Line 50:
  
          if(iAllocated == 1)          if(iAllocated == 1)
-@@ -730,30 +760,34 @@+@@ -730,30 +758,34 @@
  !!!!!!!!!!!!!!!!! Water surface modelling !!!!!!!!!!!!!!!!!!!!!!!!  !!!!!!!!!!!!!!!!! Water surface modelling !!!!!!!!!!!!!!!!!!!!!!!!
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Line 102: Line 93:
                  /* dot product to compute derivation */                  /* dot product to compute derivation */
                  for(t = 0; t < iWaveMeshSize; t++)                  for(t = 0; t < iWaveMeshSize; t++)
-@@ -761,6 +795,7 @@+@@ -761,6 +793,7 @@
                      flDerivX += pFlTmp[t] * flAmplitudeX[t];                      flDerivX += pFlTmp[t] * flAmplitudeX[t];
                      flDerivY += pFlTmp[t] * flAmplitudeY[t];                      flDerivY += pFlTmp[t] * flAmplitudeY[t];
etc/common_activities/intel_students_cup/tab_sin.1194457485.txt.gz · Last modified: 2008/01/03 02:32 (external edit)