Project

General

Profile

TimeTestCompare » History » Version 1

Anil Prabhakar, 07/22/2013 12:08 PM

1 1 Anil Prabhakar
h1. TimeTestCompare
2
3
h1. Time Test Compare
4
5
It has been our aim to simulate two problems and compare the time taken for simulating them by varying the following parameters:
6
7
# The data type for computing the FFT, which is necessary to calculate the Demagnetization energy, was changed form 'long double' to 'double' to 'float'
8
# These simulations were then carried out on machines with different configurations viz.
9
  
10
*   Intel(R) Pentium(R) D, 2.80 GHz, 1 GB RAM
11
*   Intel(R) Core(TM) 2 Duo, 2.80 GHz, 2 GB RAM
12
*   Intel (R) Core(TM) i3, 2.93 GHz, 4 GB RAM
13
*   Intel (R) Core(TM) i5, 3.2 GHz, 2 GB RAM
14
15
The problems simulated are given by the following links:
16
17
attachment:OriginalTimeTest.txt
18
19
attachment:RelaxedMagnetization.txt
20
21
Please refer to the MIF  Format page wiki http://www.ee.iitm.ac.in/redmine/wiki/dynamag/MIFformat for details of the problem specification.
22
23
The initial magnetization used in the latter problem was obtained by simulating the first problem with the FFT routine using 'long double' data type and then allowing the last step(at 0 torque) to relax at a torque of 1E-4. THe OMF file generated for this step was then converted to an OVF file(initmag2.ovf) which essentially contained the magnetization values at all points of the geometry.
24
25
The change, in terms of data type modification, to the FFT routine may be found in the following file:
26
27
attachment:fft.txt
28
29
The data obtained, about the time taken for simulating all these, is given in the following spreadsheet:
30
31
attachment:TimeTestcompare.ods
32
33
The time comparison can also be shown with the following bar charts: 
34
35
Please note that in both the cases the Function FFT::BaseDecFreqForward(MyComplex*) has been considered for comparing the time taken
36
             
37
38
!Barcharts_2_2.png!
39
40
!Barcharts_1_1.png!
41
42
43
44
45
46
 
Redmine Appliance - Powered by TurnKey Linux