00001 /* 00002 * Definition of Lorene class App_hor 00003 * 00004 */ 00005 00006 /* 00007 * Copyright (c) 2005 Lap-Ming Lin & Jerome Novak 00008 * 00009 * 00010 * This file is part of LORENE. 00011 * 00012 * LORENE is free software; you can redistribute it and/or modify 00013 * it under the terms of the GNU General Public License version 2 00014 * as published by the Free Software Foundation. 00015 * 00016 * LORENE is distributed in the hope that it will be useful, 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 * GNU General Public License for more details. 00020 * 00021 * You should have received a copy of the GNU General Public License 00022 * along with LORENE; if not, write to the Free Software 00023 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00024 * 00025 */ 00026 00027 #ifndef __APP_HOR_H_ 00028 #define __APP_HOR_H_ 00029 00030 /* 00031 * $Id: app_hor.h,v 1.5 2012/01/02 13:52:57 j_novak Exp $ 00032 * $Log: app_hor.h,v $ 00033 * Revision 1.5 2012/01/02 13:52:57 j_novak 00034 * New parameter 'verbose' to get less output if needed. 00035 * 00036 * Revision 1.4 2005/12/09 09:35:59 lm_lin 00037 * 00038 * Minor fix in the documentation. 00039 * 00040 * Revision 1.3 2005/12/07 11:11:30 lm_lin 00041 * 00042 * Add option to turn off screen output during iterations. 00043 * 00044 * Revision 1.2 2005/11/17 14:19:49 lm_lin 00045 * 00046 * Check the expansion function evaluated on the apparent horizon after the 00047 * iteration of the 2-surface converges. 00048 * 00049 * Revision 1.1 2005/10/13 08:51:14 j_novak 00050 * New stuff for apparent horizon finder. For the moment, there is only an 00051 * external function. A class should come soon... 00052 * 00053 * $Header: /cvsroot/Lorene/C++/Include/app_hor.h,v 1.5 2012/01/02 13:52:57 j_novak Exp $ 00054 * 00055 */ 00056 00057 00058 // Headers Lorene 00059 #include "metric.h" 00060 00066 // Function (Apparent horizon finder) 00067 //----------------------------------------------- 00068 00117 bool ah_finder(const Metric& gamma, const Sym_tensor& k_dd_in, Valeur& h, Scalar& ex_fcn, 00118 double a_axis, double b_axis, double c_axis, bool verbose = true, 00119 bool print = false, double precis = 1.e-8, double precis_exp = 1.e-6, 00120 int it_max = 200, int it_relax = 200, double relax_fac = 1.) ; 00121 00122 #endif
1.4.6