User Tools

Site Tools


en:implementation

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
en:implementation [2011/10/10 13:37]
Piet Dargel
en:implementation [2011/10/13 10:22] (current)
Andreas Honecker
Line 5: Line 5:
  
 ==== Matrix ==== ==== Matrix ====
-[{{:​de:​1000px-matrice.svg.png?​200|Anordnung der Matrixelemente ((Author: HB, Lizenz: Creative Common by-sa, ​Quelle: http://​commons.wikimedia.org/​wiki/​File:​Matrice.svg?​uselang=de))}}]+[{{:​de:​1000px-matrice.svg.png?​200|Anordnung der Matrixelemente ((Author: HB, Lizenz: Creative Common by-sa, ​Source: http://​commons.wikimedia.org/​wiki/​File:​Matrice.svg?​uselang=de))}}]
 The class "​Matrix"​ implements the basic routines for matrices as two-dimensional arrays and furthermore is the wrapper for the following jlapack-functions The class "​Matrix"​ implements the basic routines for matrices as two-dimensional arrays and furthermore is the wrapper for the following jlapack-functions
 ((Anderson, E. ; Bai, Z. ; Bischof, C. ; Blackford, S. ; Demmel, J. ; Dongarra, J. ; Du Croz, J. ; Greenbaum, A. ; Hammarling, S. ; McKenney, A. ; Sorensen, D.: LAPACK Users’ Guide. Third. Philadelphia,​ PA : Society for Industrial and Applied Mathematics,​ 1999. – ISBN 0-89871-447-8 (paperback) ))((Doolin, David M. ; Dongarra, Jack ; Seymour, Keith: JLAPACK - compiling LAPACK Fortran to Java. In: Sci. Program. 7 (1999), April, S. 111–138. – URL http://​portal.acm.org/​citation.cfm?​id=1239860.1239868. – ISSN 1058-9244)):​ ((Anderson, E. ; Bai, Z. ; Bischof, C. ; Blackford, S. ; Demmel, J. ; Dongarra, J. ; Du Croz, J. ; Greenbaum, A. ; Hammarling, S. ; McKenney, A. ; Sorensen, D.: LAPACK Users’ Guide. Third. Philadelphia,​ PA : Society for Industrial and Applied Mathematics,​ 1999. – ISBN 0-89871-447-8 (paperback) ))((Doolin, David M. ; Dongarra, Jack ; Seymour, Keith: JLAPACK - compiling LAPACK Fortran to Java. In: Sci. Program. 7 (1999), April, S. 111–138. – URL http://​portal.acm.org/​citation.cfm?​id=1239860.1239868. – ISSN 1058-9244)):​
-  * **DGEMM** - matrixmultiplication (//mult//), matrixaddition (//add//), matrixsubtraction (//​sub//​) ​und transpose (//trans//)+  * **DGEMM** - matrixmultiplication (//mult//), matrixaddition (//add//), matrixsubtraction (//​sub//​) ​and transpose (//trans//)
   * **DGESVD** - Single value decomposition (//svd//)   * **DGESVD** - Single value decomposition (//svd//)
   * **DSYEV** - exact diagonalisation (//Eigen//)   * **DSYEV** - exact diagonalisation (//Eigen//)
Line 132: Line 132:
 This function is implemented analogously to the function DoRightStep,​ but going right and left-normalizing. This function is implemented analogously to the function DoRightStep,​ but going right and left-normalizing.
   * **BuildHeff**   * **BuildHeff**
-In order to create $H_{\text{Eff}}$,​ we will setup an auxillary ​object $LWR^{[\sigma][\sigma^\prime][a_l][a_{l-1}]}$. The construction follows the calculation ​decribed ​[[de:​variational_groundstate_search#​Effektive Berechnung von|here]]. Finally we will sort all values into $H_{\text{Eff}}$.+In order to create $H_{\text{Eff}}$,​ we will setup an auxiliary ​object $LWR^{[\sigma][\sigma^\prime][a_l][a_{l-1}]}$. The construction follows the calculation ​described ​[[de:​variational_groundstate_search#​Effektive Berechnung von|here]]. Finally we will sort all values into $H_{\text{Eff}}$.
 <code java> <code java>
 public Matrix BuildHeff(int N) public Matrix BuildHeff(int N)
Line 165: Line 165:
 This class is derived from the jchart2D-class "​ADataCollector"​ and adds data to the single charts. In order to have parallel usage of the applet to the computation,​ this class implements the interface "​Runnable"​ ((See: http://​download.oracle.com/​javase/​1.5.0/​docs/​api/​java/​lang/​Runnable.html)). This class is derived from the jchart2D-class "​ADataCollector"​ and adds data to the single charts. In order to have parallel usage of the applet to the computation,​ this class implements the interface "​Runnable"​ ((See: http://​download.oracle.com/​javase/​1.5.0/​docs/​api/​java/​lang/​Runnable.html)).
 This ensures that the class is executed in a single thread. This ensures that the class is executed in a single thread.
-The complete computation will be started by the function "​collectData"​. At first it will be tested if the sweep-limit is fullfilled:+The complete computation will be started by the function "​collectData"​. At first it will be tested if the sweep-limit is fulfilled:
  
 <code java> <code java>
Line 204: Line 204:
  
 ==== visu ==== ==== visu ====
-The class //visu// contains the //​main//​-function and the complete gui. All objects will be initiated and the controll ​parameters are saved within this class.+The class //visu// contains the //​main//​-function and the complete gui. All objects will be initiated and the control ​parameters are saved within this class
 + 
 +Graphs are displayed using the JChart2D library 
 +((See: http://​jchart2d.sourceforge.net/​)).
  
 ©: This site was created by Piet Dargel and Thomas Köhler ​ ©: This site was created by Piet Dargel and Thomas Köhler ​
en/implementation.txt · Last modified: 2011/10/13 10:22 by Andreas Honecker