Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96642251
fmin_ell.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, 09:50
Size
849 B
Mime Type
text/x-c
Expires
Tue, Dec 31, 09:50 (2 d)
Engine
blob
Format
Raw Data
Handle
23218691
Attached To
R1448 Lenstool-HPC
fmin_ell.c
View Options
#include<stdio.h>
#include<math.h>
#include<fonction.h>
#include<constant.h>
#include<dimension.h>
#include<structure.h>
/****************************************************************/
/* nom: fmin_ell */
/* auteur: Jean-Paul Kneib */
/* date: 10/11/93 */
/* place: ESO LaSilla */
/****************************************************************
*
*
* Global variables used :
* - elix, SC
* - in e_unmag() : G, lens, lens_table
*/
double
fmin_ell
(
double
dl0s
,
double
dos
,
double
zs
)
{
const
extern
double
elix
;
const
extern
struct
point
SC
;
double
dp
,
tp
,
u
,
q
;
struct
ellipse
ampli
;
ampli
=
e_unmag
(
&
SC
,
dl0s
,
dos
,
zs
);
q
=
ampli
.
a
/
ampli
.
b
;
u
=
1.
/
q
;
tp
=
q
-
u
;
dp
=
q
+
u
;
return
(
dp
*
elix
-
tp
);
}
Event Timeline
Log In to Comment