00001 /* $Id: xsh_model_metric.h,v 1.7 2011/12/02 14:15:28 amodigli Exp $ 00002 * 00003 * Copyright (C) 2002,2003 European Southern Observatory 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; either version 2 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with this program; if not, write to the Free Software 00017 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00018 */ 00019 00020 /* 00021 * $Author: amodigli $ 00022 * $Date: 2011/12/02 14:15:28 $ 00023 * $Revision: 1.7 $ 00024 * $Name: HEAD $ 00025 */ 00026 00027 #ifndef XSH_MODEL_METRIC_H 00028 #define XSH_MODEL_METRIC_H 00029 00030 /*----------------------------------------------------------------------------- 00031 Includes 00032 -----------------------------------------------------------------------------*/ 00033 00034 #include <cpl.h> 00035 00036 #include <stdio.h> 00037 #include <math.h> 00038 #include <ctype.h> 00039 #include <string.h> 00040 #include <stdlib.h> 00041 00042 cpl_table * xsh_model_anneal_comp(ann_all_par *p_all_par, int adim, double * abest, double * amin, double * amax,int * aname, struct xs_3 *p_xs_3, int DS_size, coord *msp_coord, DOUBLE *p_wlarray, DOUBLE ** ref_ind, int maxit); 00043 float xsh_3_energy (double *a); 00044 void xsh_model_assign_xsh(int loc, double val); 00045 void xsh_model_output_data(double *); 00046 00047 #endif