Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99353176
chi.hpp
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
Thu, Jan 23, 18:48
Size
1 KB
Mime Type
text/x-c
Expires
Sat, Jan 25, 18:48 (2 d)
Engine
blob
Format
Raw Data
Handle
23784298
Attached To
R1448 Lenstool-HPC
chi.hpp
View Options
#pragma once
#ifndef __CHI_HPP__
#define __CHI_HPP__
#include "structure.h"
#include "gradient.hpp"
void chi_bruteforce(double *chi, int *error, runmode_param *runmode, const struct Potential *lens, const struct grid_param *frame, const int *nimages_strongLensing, galaxy *images);
void chi_bruteforce_SOA(double *chi, int *error, runmode_param *runmode, const struct Potential_SOA *lens, const struct grid_param *frame, const int *nimages_strongLensing, galaxy *images);
void chi_bruteforce_SOA_AVX(double *chi, int *error, runmode_param *runmode, const struct Potential_SOA *lens, const struct grid_param *frame, const int *nimages_strongLensing, galaxy *images);
void chi_transformImageToSourcePlane(const runmode_param *runmode, const struct point *image_point, double dlsds, const struct Potential *lens, struct point *source_point);
void chi_transformImageToSourcePlane_SOA(const int *Nlens, const struct point *image_point, double dlsds, const struct Potential_SOA *lens, struct point *source_point);
void chi_transformImageToSourcePlane_SOA_AVX(const int *Nlens, const struct point *image_point, double dlsds, const struct Potential_SOA *lens, struct point *source_point);
void chi_transformtriangleImageToSourcePlane(const runmode_param *runmode, struct triplet *I, double dlsds, const struct Potential *lens, struct triplet *S);
void chi_transformtriangleImageToSourcePlane_SOA(const int *Nlens, struct triplet *I, double dlsds, const struct Potential_SOA *lens, struct triplet *S);
void chi_transformtriangleImageToSourcePlane_SOA_AVX(const int *Nlens, struct triplet *I, double dlsds, const struct Potential_SOA *lens, struct triplet *S);
double chi_determinant(const struct point *A,const struct point *B,const struct point *C);
int chi_inside(const struct point *P, struct triplet *T);
int chi_insideborder(const struct point *P, struct triplet *T);
struct point chi_barycenter(struct triplet *A);
double chi_dist(struct point A, struct point B);
#endif
Event Timeline
Log In to Comment