Go to the source code of this file.
void ConvertTo3vel |
( |
double ** |
v, |
|
|
int |
beg, |
|
|
int |
end |
|
) |
| |
Definition at line 25 of file four_vel.c.
34 for (i =
beg; i <=
end; i++){
35 lor = EXPAND( v[i][
VX1]*v[i][
VX1],
38 lor = sqrt(1.0 + lor);
40 EXPAND(v[i][
VX1] /= lor; ,
int end
Global end index for the local array.
int beg
Global start index for the local array.
void ConvertTo4vel |
( |
double ** |
v, |
|
|
int |
beg, |
|
|
int |
end |
|
) |
| |
Definition at line 4 of file four_vel.c.
13 for (i =
beg; i <=
end; i++){
14 lor = EXPAND( v[i][
VX1]*v[i][
VX1],
17 lor = 1.0/sqrt(1.0 - lor);
19 EXPAND(v[i][
VX1] *= lor; ,
int end
Global end index for the local array.
int beg
Global start index for the local array.