LORENE
cmp_pde_falloff.C
1
/*
2
* Methods of the class Cmp for partial differential equations
3
* with a falloff condition at the outer boundary
4
*
5
* (see file cmp.h for documentation).
6
*
7
*/
8
9
/*
10
* Copyright (c) 2004 Joshua A. Faber
11
*
12
* This file is part of LORENE.
13
*
14
* LORENE is free software; you can redistribute it and/or modify
15
* it under the terms of the GNU General Public License version 2
16
* as published by the Free Software Foundation.
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
char
cmp_pde_falloff_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Cmp/cmp_pde_falloff.C,v 1.2 2014/10/13 08:52:48 j_novak Exp $"
;
30
31
/*
32
* $Id: cmp_pde_falloff.C,v 1.2 2014/10/13 08:52:48 j_novak Exp $
33
* $Log: cmp_pde_falloff.C,v $
34
* Revision 1.2 2014/10/13 08:52:48 j_novak
35
* Lorene classes and functions now belong to the namespace Lorene.
36
*
37
* Revision 1.1 2004/11/30 20:47:38 k_taniguchi
38
* *** empty log message ***
39
*
40
*
41
* $Header: /cvsroot/Lorene/C++/Source/Cmp/cmp_pde_falloff.C,v 1.2 2014/10/13 08:52:48 j_novak Exp $
42
*
43
*/
44
45
// Header Lorene:
46
#include "map.h"
47
#include "cmp.h"
48
#include "param.h"
49
50
//-----------------------------------//
51
// Scalar Poisson equation //
52
//-----------------------------------//
53
54
// Version without parameters
55
// --------------------------
56
57
namespace
Lorene
{
58
Cmp
Cmp::poisson_falloff(
int
k_falloff)
const
{
59
60
Param bidon ;
61
Cmp
resu(*
mp
) ;
62
63
mp
->poisson_falloff(*
this
, bidon, resu, k_falloff) ;
64
65
return
resu ;
66
}
67
68
// Version with parameters
69
// -----------------------
70
71
void
Cmp::poisson_falloff(
Param
& par,
Cmp
& uu,
int
k_falloff)
const
{
72
73
mp
->poisson_falloff(*
this
, par, uu, k_falloff) ;
74
75
}
76
}
Lorene::Cmp
Component of a tensorial field *** DEPRECATED : use class Scalar instead ***.
Definition
cmp.h:446
Lorene::Cmp::mp
const Map * mp
Reference mapping.
Definition
cmp.h:451
Lorene::Cmp::Cmp
Cmp(const Map &map)
Constructor from mapping.
Definition
cmp.C:208
Lorene::Param
Parameter storage.
Definition
param.h:125
Lorene
Lorene prototypes.
Definition
app_hor.h:64
C++
Source
Cmp
cmp_pde_falloff.C
Generated by
1.15.0