Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96644854
e_tau.c
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Dec 29, 10:34
Size
789 B
Mime Type
text/x-c
Expires
Tue, Dec 31, 10:34 (2 d)
Engine
blob
Format
Raw Data
Handle
23221153
Attached To
R1448 Lenstool-HPC
e_tau.c
View Options
#include<stdio.h>
#include<math.h>
#include<fonction.h>
#include<constant.h>
#include<dimension.h>
#include<structure.h>
/****************************************************************/
/* nom: e_tau */
/* auteur: Jean-Paul Kneib */
/* date: 10/02/92 */
/* place: Toulouse
* Fill the tau parameter of the galaxies in the gal list.
* Parameters :
* - n : number of elements in gal
* - gal : list of galaxie structure
****************************************************************/
void e_tau(long int n, struct galaxie gal[NAMAX])
{
long int i;
double qi;
for (i = 0; i < n; i++)
{
qi = gal[i].q = gal[i].E.b / gal[i].E.a;
gal[i].tau = .5 * (1. / qi - qi);
};
}
Event Timeline
Log In to Comment