LORENE
scalar_th_manip.C
1 /*
2  * Member functions of the class Scalar for various theta manipulations
3  *
4  * See file scalar.h for documentation.
5  */
6 
7 /*
8  * Copyright (c) 2003 Eric Gourgoulhon & Jerome Novak
9  *
10  * This file is part of LORENE.
11  *
12  * LORENE is free software; you can redistribute it and/or modify
13  * it under the terms of the GNU General Public License as published by
14  * the Free Software Foundation; either version 2 of the License, or
15  * (at your option) any later version.
16  *
17  * LORENE is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with LORENE; if not, write to the Free Software
24  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25  *
26  */
27 
28 
29 
30 
31 /*
32  * $Id: scalar_th_manip.C,v 1.4 2016/12/05 16:18:19 j_novak Exp $
33  * $Log: scalar_th_manip.C,v $
34  * Revision 1.4 2016/12/05 16:18:19 j_novak
35  * Suppression of some global variables (file names, loch, ...) to prevent redefinitions
36  *
37  * Revision 1.3 2014/10/13 08:53:47 j_novak
38  * Lorene classes and functions now belong to the namespace Lorene.
39  *
40  * Revision 1.2 2006/05/26 09:00:12 j_novak
41  * New members for multiplication or division by cos(theta).
42  *
43  * Revision 1.1 2003/11/04 23:00:59 e_gourgoulhon
44  * First version.
45  *
46  *
47  *
48  * $Header: /cvsroot/Lorene/C++/Source/Tensor/Scalar/scalar_th_manip.C,v 1.4 2016/12/05 16:18:19 j_novak Exp $
49  *
50  */
51 
52 #include "tensor.h"
53 
54 
55  //-------------------//
56  // mult_cost //
57  //-------------------//
58 
59 
60 namespace Lorene {
62 
63  mp->mult_cost(*this) ; // Call of the appropriate routine of the mapping
64 
65  del_deriv() ; // Delete the derived members
66 
67 }
68  //-------------------//
69  // div_cost //
70  //-------------------//
71 
72 
74 
75  mp->div_cost(*this) ; // Call of the appropriate routine of the mapping
76 
77  del_deriv() ; // Delete the derived members
78 
79 }
80 
81 
82  //-------------------//
83  // mult_sint //
84  //-------------------//
85 
86 
88 
89  mp->mult_sint(*this) ; // Call of the appropriate routine of the mapping
90 
91  del_deriv() ; // Delete the derived members
92 
93 }
94 
95 
96  //-------------------//
97  // div_sint //
98  //-------------------//
99 
100 
102 
103  mp->div_sint(*this) ; // Call of the appropriate routine of the mapping
104 
105  del_deriv() ; // Delete the derived members
106 
107 }
108 
109  //-------------------//
110  // div_tant //
111  //-------------------//
112 
113 
115 
116  mp->div_tant(*this) ; // Call of the appropriate routine of the mapping
117 
118  del_deriv() ; // Delete the derived members
119 
120 }
121 
122 
123 
124 
125 }
virtual void mult_sint(Scalar &) const =0
Multiplication by of a Scalar.
Lorene prototypes.
Definition: app_hor.h:67
void div_cost()
Division by .
virtual void div_tant(Scalar &) const =0
Division by of a Scalar.
void mult_sint()
Multiplication by .
virtual void del_deriv() const
Logical destructor of the derivatives.
Definition: scalar.C:293
virtual void mult_cost(Scalar &) const =0
Multiplication by of a Scalar.
void mult_cost()
Multiplication by .
virtual void div_sint(Scalar &) const =0
Division by of a Scalar.
void div_sint()
Division by .
const Map *const mp
Mapping on which the numerical values at the grid points are defined.
Definition: tensor.h:301
virtual void div_cost(Scalar &) const =0
Division by of a Scalar.
void div_tant()
Division by .