00001 /* 00002 * Method of regularization of the source of Poisson equation 00003 * 00004 * (see file cmp.h for documentation). 00005 * 00006 */ 00007 00008 /* 00009 * Copyright (c) 2000-2001 Keisuke Taniguchi 00010 * 00011 * This file is part of LORENE. 00012 * 00013 * LORENE is free software; you can redistribute it and/or modify 00014 * it under the terms of the GNU General Public License as published by 00015 * the Free Software Foundation; either version 2 of the License, or 00016 * (at your option) any later version. 00017 * 00018 * LORENE is distributed in the hope that it will be useful, 00019 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00020 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00021 * GNU General Public License for more details. 00022 * 00023 * You should have received a copy of the GNU General Public License 00024 * along with LORENE; if not, write to the Free Software 00025 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00026 * 00027 */ 00028 00029 00030 char cmp_poisson_regu_C[] = "$Header: /cvsroot/Lorene/C++/Source/Cmp/cmp_poisson_regu.C,v 1.1.1.1 2001/11/20 15:19:27 e_gourgoulhon Exp $" ; 00031 00032 /* 00033 * $Id: cmp_poisson_regu.C,v 1.1.1.1 2001/11/20 15:19:27 e_gourgoulhon Exp $ 00034 * $Log: cmp_poisson_regu.C,v $ 00035 * Revision 1.1.1.1 2001/11/20 15:19:27 e_gourgoulhon 00036 * LORENE 00037 * 00038 * Revision 2.9 2000/09/07 15:29:14 keisuke 00039 * Add a new argument Cmp& uu. 00040 * 00041 * Revision 2.8 2000/09/04 15:53:08 keisuke 00042 * Insert the polar and azimuthal parts of duu_div into Map_af::poisson_regular. 00043 * 00044 * Revision 2.7 2000/09/04 13:19:34 keisuke 00045 * Suppress the version without parameters. 00046 * Express the code by using Map_af::poisson_regular. 00047 * 00048 * Revision 2.6 2000/08/31 15:58:53 keisuke 00049 * Modify the polar and azimuthal derivatives of uu_div. 00050 * 00051 * Revision 2.5 2000/08/30 16:01:52 keisuke 00052 * Change the constant "R" into "mp_radial->dxdr". 00053 * 00054 * Revision 2.4 2000/08/29 13:52:19 keisuke 00055 * Add the polar and azimuthal derivatives of the diverging potential. 00056 * Modify the argumants. 00057 * 00058 * Revision 2.3 2000/08/29 08:39:37 keisuke 00059 * Minor change. 00060 * 00061 * Revision 2.2 2000/08/28 15:57:39 keisuke 00062 * *** empty log message *** 00063 * 00064 * Revision 2.1 2000/08/28 15:54:18 keisuke 00065 * Add "int nzet" in the argumant. 00066 * 00067 * Revision 2.0 2000/08/25 08:43:38 keisuke 00068 * *** empty log message *** 00069 * 00070 * 00071 * $Header: /cvsroot/Lorene/C++/Source/Cmp/cmp_poisson_regu.C,v 1.1.1.1 2001/11/20 15:19:27 e_gourgoulhon Exp $ 00072 * 00073 */ 00074 00075 // Header Lorene 00076 #include "cmp.h" 00077 #include "tenseur.h" 00078 #include "map.h" 00079 #include "param.h" 00080 00081 //****************************************************************** 00082 00083 void Cmp::poisson_regular(int k_div, int nzet, double unsgam1, Param& par, 00084 Cmp& uu, Cmp& uu_regu, Cmp& uu_div, 00085 Tenseur& duu_div, 00086 Cmp& source_regu, Cmp& source_div) const { 00087 00088 mp->poisson_regular(*this, k_div, nzet, unsgam1, par, 00089 uu, uu_regu, uu_div, duu_div, 00090 source_regu, source_div) ; 00091 00092 00093 }
1.4.6