| 1 |
/* |
| 2 |
* Methods not yet implemented in class Map_log |
| 3 |
* |
| 4 |
* (see file map.h for documentation) |
| 5 |
* |
| 6 |
*/ |
| 7 |
|
| 8 |
/* |
| 9 |
* Copyright (c) 2004 Philippe Grandclement |
| 10 |
* |
| 11 |
* This file is part of LORENE. |
| 12 |
* |
| 13 |
* LORENE is free software; you can redistribute it and/or modify |
| 14 |
* it under the terms of the GNU General Public License as published by |
| 15 |
* the Free Software Foundation; either version 2 of the License, or |
| 16 |
* (at your option) any later version. |
| 17 |
* |
| 18 |
* LORENE is distributed in the hope that it will be useful, |
| 19 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 20 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 21 |
* GNU General Public License for more details. |
| 22 |
* |
| 23 |
* You should have received a copy of the GNU General Public License |
| 24 |
* along with LORENE; if not, write to the Free Software |
| 25 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 26 |
* |
| 27 |
*/ |
| 28 |
|
| 29 |
|
| 30 |
char map_log_pas_fait_C[] = "$Header $" ; |
| 31 |
|
| 32 |
/* |
| 33 |
* $Id: map_log_pas_fait.C,v 1.11 2014/10/13 08:53:06 j_novak Exp $ |
| 34 |
* $Log: map_log_pas_fait.C,v $ |
| 35 |
* Revision 1.11 2014/10/13 08:53:06 j_novak |
| 36 |
* Lorene classes and functions now belong to the namespace Lorene. |
| 37 |
* |
| 38 |
* Revision 1.10 2014/10/06 15:13:13 j_novak |
| 39 |
* Modified #include directives to use c++ syntax. |
| 40 |
* |
| 41 |
* Revision 1.9 2014/01/08 09:41:22 b_peres |
| 42 |
* change map_log_pas_fait |
| 43 |
* |
| 44 |
* Revision 1.8 2012/01/17 10:34:56 j_penner |
| 45 |
* *** empty log message *** |
| 46 |
* |
| 47 |
* Revision 1.7 2008/09/29 13:23:51 j_novak |
| 48 |
* Implementation of the angular mapping associated with an affine |
| 49 |
* mapping. Things must be improved to take into account the domain index. |
| 50 |
* |
| 51 |
* Revision 1.6 2006/04/25 07:21:59 p_grandclement |
| 52 |
* Various changes for the NS_BH project |
| 53 |
* |
| 54 |
* Revision 1.5 2005/11/24 09:25:07 j_novak |
| 55 |
* Added the Scalar version for the Laplacian |
| 56 |
* |
| 57 |
* Revision 1.4 2005/08/25 12:14:09 p_grandclement |
| 58 |
* Addition of a new method to solve the scalar Poisson equation, based on a multi-domain Tau-method |
| 59 |
* |
| 60 |
* Revision 1.3 2005/04/04 21:31:31 e_gourgoulhon |
| 61 |
* Added argument lambda to method poisson_angu |
| 62 |
* to deal with the generalized angular Poisson equation: |
| 63 |
* Lap_ang u + lambda u = source. |
| 64 |
* |
| 65 |
* Revision 1.2 2004/11/23 12:54:45 f_limousin |
| 66 |
* Function poisson_frontiere(...) has two new default arguments, |
| 67 |
* to deal with the case of a Dirichlet + Neumann boundary condition. |
| 68 |
* |
| 69 |
* Revision 1.1 2004/06/22 08:49:58 p_grandclement |
| 70 |
* Addition of everything needed for using the logarithmic mapping |
| 71 |
* |
| 72 |
* |
| 73 |
* $Header: /cvsroot/Lorene/C++/Source/Map/map_log_pas_fait.C,v 1.11 2014/10/13 08:53:06 j_novak Exp $ |
| 74 |
* |
| 75 |
*/ |
| 76 |
|
| 77 |
// headers C |
| 78 |
#include <cmath> |
| 79 |
|
| 80 |
// headers Lorene |
| 81 |
#include "itbl.h" |
| 82 |
#include "tbl.h" |
| 83 |
#include "coord.h" |
| 84 |
#include "grilles.h" |
| 85 |
#include "map.h" |
| 86 |
|
| 87 |
namespace Lorene { |
| 88 |
void pas_fait() { |
| 89 |
cout << "Function not implemented for Map_log..." << endl ; |
| 90 |
abort() ; |
| 91 |
} |
| 92 |
|
| 93 |
void Map_log::homothetie (double) { |
| 94 |
pas_fait() ; |
| 95 |
} |
| 96 |
|
| 97 |
void Map_log::resize (int, double) { |
| 98 |
pas_fait() ; |
| 99 |
} |
| 100 |
|
| 101 |
void Map_log::adapt (const Cmp&, const Param&, int) { |
| 102 |
pas_fait(); |
| 103 |
} |
| 104 |
|
| 105 |
void Map_log::dsdr (const Cmp&, Cmp&) const { |
| 106 |
pas_fait() ; |
| 107 |
} |
| 108 |
|
| 109 |
void Map_log::dsdxi (const Cmp&, Cmp&) const { |
| 110 |
pas_fait() ; |
| 111 |
} |
| 112 |
|
| 113 |
void Map_log::srdsdt (const Cmp&, Cmp&) const { |
| 114 |
pas_fait() ; |
| 115 |
} |
| 116 |
|
| 117 |
void Map_log::srstdsdp (const Cmp&, Cmp&) const { |
| 118 |
pas_fait() ; |
| 119 |
} |
| 120 |
|
| 121 |
void Map_log::srdsdt (const Scalar&, Scalar&) const { |
| 122 |
pas_fait() ; |
| 123 |
} |
| 124 |
|
| 125 |
void Map_log::srstdsdp (const Scalar&, Scalar&) const { |
| 126 |
pas_fait() ; |
| 127 |
} |
| 128 |
|
| 129 |
void Map_log::dsdt (const Scalar&, Scalar&) const { |
| 130 |
pas_fait() ; |
| 131 |
} |
| 132 |
|
| 133 |
void Map_log::stdsdp (const Scalar&, Scalar&) const { |
| 134 |
pas_fait() ; |
| 135 |
} |
| 136 |
|
| 137 |
void Map_log::laplacien (const Cmp&, int, Cmp&) const { |
| 138 |
pas_fait() ; |
| 139 |
} |
| 140 |
|
| 141 |
void Map_log::laplacien (const Scalar&, int, Scalar&) const { |
| 142 |
pas_fait() ; |
| 143 |
} |
| 144 |
|
| 145 |
void Map_log::lapang (const Scalar&, Scalar&) const { |
| 146 |
pas_fait() ; |
| 147 |
} |
| 148 |
|
| 149 |
Tbl* Map_log::integrale (const Cmp&) const { |
| 150 |
pas_fait() ; |
| 151 |
return 0x0 ; |
| 152 |
} |
| 153 |
|
| 154 |
void Map_log::poisson (const Cmp&, Param&, Cmp&) const { |
| 155 |
pas_fait() ; |
| 156 |
} |
| 157 |
|
| 158 |
void Map_log::poisson_tau (const Cmp&, Param&, Cmp&) const { |
| 159 |
pas_fait() ; |
| 160 |
} |
| 161 |
|
| 162 |
void Map_log::poisson_regular (const Cmp&, int, int, double, Param&, Cmp&, Cmp&, Cmp&, |
| 163 |
Tenseur&, Cmp&, Cmp&) const { |
| 164 |
pas_fait() ; |
| 165 |
} |
| 166 |
|
| 167 |
void Map_log::poisson_angu (const Scalar&, Param&, Scalar&, double) const { |
| 168 |
pas_fait() ; |
| 169 |
} |
| 170 |
|
| 171 |
Param* Map_log::donne_para_poisson_vect (Param&, int) const { |
| 172 |
pas_fait() ; |
| 173 |
return 0x0 ; |
| 174 |
} |
| 175 |
|
| 176 |
void Map_log::poisson_frontiere (const Cmp&, const Valeur&, int, int, Cmp&, double, double) const { |
| 177 |
pas_fait() ; |
| 178 |
} |
| 179 |
|
| 180 |
void Map_log::poisson_frontiere_double (const Cmp&, const Valeur&, const Valeur&, int, Cmp&) const { |
| 181 |
pas_fait() ; |
| 182 |
} |
| 183 |
|
| 184 |
void Map_log::poisson_interne (const Cmp&, const Valeur&, Param&, Cmp&) const { |
| 185 |
pas_fait() ; |
| 186 |
} |
| 187 |
|
| 188 |
void Map_log::poisson2d (const Cmp&, const Cmp&, Param&, Cmp&) const { |
| 189 |
pas_fait() ; |
| 190 |
} |
| 191 |
|
| 192 |
void Map_log::dalembert (Param&, Scalar&, const Scalar&, const Scalar&, const Scalar&) const { |
| 193 |
pas_fait() ; |
| 194 |
} |
| 195 |
|
| 196 |
const Map_af& Map_log::mp_angu(int) const { |
| 197 |
pas_fait() ; |
| 198 |
p_mp_angu = new Map_af(*this) ; |
| 199 |
return *p_mp_angu ; |
| 200 |
} |
| 201 |
|
| 202 |
void Map_log::primr(const Scalar&, Scalar&, bool) const { |
| 203 |
pas_fait() ; |
| 204 |
} |
| 205 |
|
| 206 |
void Map_log::poisson_falloff(const Cmp&, Param&, Cmp&, int) const { |
| 207 |
pas_fait() ; |
| 208 |
} |
| 209 |
|
| 210 |
void Map_log::poisson_ylm(const Cmp&, Param&, Cmp&, int, double*) const { |
| 211 |
pas_fait() ; |
| 212 |
} |
| 213 |
} |