Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97867171
sig2posSj.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
Mon, Jan 6, 23:21
Size
1 KB
Mime Type
text/x-c
Expires
Wed, Jan 8, 23:21 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23423607
Attached To
R1448 Lenstool-HPC
sig2posSj.c
View Options
#include<stdio.h>
#include<math.h>
#include<fonction.h>
#include<constant.h>
#include<dimension.h>
#include<structure.h>
/****************************************************************/
/* nom: sig2posSj */
/* auteur: Ghislain Golse */
/* date: 10/99 */
/* place: Toulouse */
/****************************************************************/
/* Calcul de sig2pos dans le plan source
*
* Global variables used :
* - amplifi
*/
double sig2posSj(double sig2pos, struct galaxie *multi, int n, int j, int n_famille)
{
// const extern struct g_mode M;
// const extern struct pot lens[NLMAX];
// const extern struct g_cosmo C;
const extern double amplifi[NIMAX][NIMAX];
double sigma2, ainv;
/* sigma=sqrt(fabs(e_amp(multi[j].C,dlsds))); */
// ainv = 1. / fabs(amplifi[n_famille][j]);
ainv = fabs(e_amp_gal(&multi[j], NULL)); //1. / fabs(amplifi[n_famille][i]);
sigma2 = ainv * sig2pos;
/* printf("s=%.3lf Sigma2=%.9lf\n",s,sigma2); */
return(sigma2);
}
Event Timeline
Log In to Comment