| Diploma Thesis Percolation Simulation C++ Sourcecode Documentation |
#include "little_helpers.h"Include dependency graph for my_vector.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Compounds | |
| class | myVector |
Functions | |
| int | getdim (const myVector &u) |
| REAL | length (const myVector &u) |
| REAL | squarelength (const myVector &u) |
| ostream & | operator<< (ostream &os, myVector &z) |
| istream & | operator>> (istream &is, myVector &z) |
| myVector | operator- (const myVector &u, const myVector &v) |
| myVector | operator- (const myVector &u) |
| REAL | short_random (REAL L) |
| REAL | long_random (REAL L) |
| bool | operator< (const myVector &u, const myVector &v) |
| bool | lower (const myVector &u, COORDFLOAT border, int dir) |
|
|
Definition at line 90 of file my_vector.h. References myVector::dim.
00090 {
00091 return u.dim;
00092 }
|
|
|
Definition at line 95 of file my_vector.h. References COORDFLOAT, myVector::dim, REAL, sqrt(), and myVector::x. Referenced by distance(), give_fillingfactor(), give_radius(), counters::neighbour_l(), counters::neighbour_naive(), operator<(), overlap(), percolating_fillingfactor_for_two_spheres_verbose(), R_critical(), R_critical_guessed(), datafiles::write_averaged_cuts_intro(), datafiles::write_cuts_intro(), datafiles::write_intro(), datafiles::write_intro7(), datafiles::write_intro8(), and datafiles::write_intro_square().
00095 {
00096 COORDFLOAT temp=0;
00097 for (int i=0;i<u.dim;i++)
00098 {temp+=u.x[i]*u.x[i];}
00099 return sqrt(temp);
00100 }
|
|
|
Definition at line 180 of file my_vector.h. References REAL. Referenced by myVector::randomvect(), and graphics::svg_circles().
00180 {
00181 REAL temp=rand()+rand()/(REAL)RAND_MAX;
00182 temp*=L/(REAL)RAND_MAX;
00183 return temp;
00184 }
|
|
||||||||||||||||
|
Definition at line 211 of file my_vector.h. References COORDFLOAT, myVector::dim, errorout(), and myVector::x. Referenced by counters::combine(), counters::divide_all_spheres(), and analyze::edgespheres().
|
|
|
Definition at line 156 of file my_vector.h. References myVector::dim, and myVector::nullvect().
|
|
||||||||||||
|
Definition at line 145 of file my_vector.h. References myVector::dim, and errorout().
|
|
||||||||||||
|
Definition at line 195 of file my_vector.h. References length().
|
|
||||||||||||
|
Definition at line 109 of file my_vector.h. References myVector::dim, and myVector::x.
|
|
||||||||||||
|
Definition at line 117 of file my_vector.h. References myVector::dim, and myVector::x.
|
|
|
Definition at line 175 of file my_vector.h. References REAL.
00175 {
00176 REAL temp=rand()*L/(double)RAND_MAX;
00177 return temp;
00178 }
|
|
|
Definition at line 102 of file my_vector.h. References COORDFLOAT, myVector::dim, REAL, and myVector::x. Referenced by overlap2().
00102 {
00103 COORDFLOAT temp=0;
00104 for (int i=0;i<u.dim;i++)
00105 {temp+=u.x[i]*u.x[i];}
00106 return temp;
00107 }
|
| Diploma Thesis Sourcecode
Documentation check out the text and the executable binaries |