File: cmp_poisson_regu.C

package info (click to toggle)
lorene 0.0.0~cvs20161116%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, stretch
  • size: 26,444 kB
  • ctags: 13,953
  • sloc: cpp: 212,946; fortran: 21,645; makefile: 1,750; sh: 4
file content (101 lines) | stat: -rw-r--r-- 2,987 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
/*
 * Method of regularization of the source of Poisson equation
 *
 * (see file cmp.h for documentation).
 *
 */

/*
 *   Copyright (c) 2000-2001 Keisuke Taniguchi
 *
 *   This file is part of LORENE.
 *
 *   LORENE is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 *   LORENE is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with LORENE; if not, write to the Free Software
 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 */


char cmp_poisson_regu_C[] = "$Header: /cvsroot/Lorene/C++/Source/Cmp/cmp_poisson_regu.C,v 1.2 2014/10/13 08:52:48 j_novak Exp $" ;

/*
 * $Id: cmp_poisson_regu.C,v 1.2 2014/10/13 08:52:48 j_novak Exp $
 * $Log: cmp_poisson_regu.C,v $
 * Revision 1.2  2014/10/13 08:52:48  j_novak
 * Lorene classes and functions now belong to the namespace Lorene.
 *
 * Revision 1.1.1.1  2001/11/20 15:19:27  e_gourgoulhon
 * LORENE
 *
 * Revision 2.9  2000/09/07  15:29:14  keisuke
 * Add a new argument Cmp& uu.
 *
 * Revision 2.8  2000/09/04  15:53:08  keisuke
 * Insert the polar and azimuthal parts of duu_div into Map_af::poisson_regular.
 *
 * Revision 2.7  2000/09/04  13:19:34  keisuke
 * Suppress the version without parameters.
 * Express the code by using Map_af::poisson_regular.
 *
 * Revision 2.6  2000/08/31  15:58:53  keisuke
 * Modify the polar and azimuthal derivatives of uu_div.
 *
 * Revision 2.5  2000/08/30  16:01:52  keisuke
 * Change the constant "R" into "mp_radial->dxdr".
 *
 * Revision 2.4  2000/08/29  13:52:19  keisuke
 * Add the polar and azimuthal derivatives of the diverging potential.
 * Modify the argumants.
 *
 * Revision 2.3  2000/08/29  08:39:37  keisuke
 * Minor change.
 *
 * Revision 2.2  2000/08/28  15:57:39  keisuke
 * *** empty log message ***
 *
 * Revision 2.1  2000/08/28  15:54:18  keisuke
 * Add "int nzet" in the argumant.
 *
 * Revision 2.0  2000/08/25  08:43:38  keisuke
 * *** empty log message ***
 *
 *
 * $Header: /cvsroot/Lorene/C++/Source/Cmp/cmp_poisson_regu.C,v 1.2 2014/10/13 08:52:48 j_novak Exp $
 *
 */

// Header Lorene
#include "cmp.h"
#include "tenseur.h"
#include "map.h"
#include "param.h"

namespace Lorene {

//******************************************************************

void Cmp::poisson_regular(int k_div, int nzet, double unsgam1, Param& par,
			  Cmp& uu, Cmp& uu_regu, Cmp& uu_div,
			  Tenseur& duu_div,
			  Cmp& source_regu, Cmp& source_div) const {

    mp->poisson_regular(*this, k_div, nzet, unsgam1, par,
			uu, uu_regu, uu_div, duu_div,
			source_regu, source_div) ;


}


}