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
29char scalar_th_manip_C[] = "$Header: /cvsroot/Lorene/C++/Source/Tensor/Scalar/scalar_th_manip.C,v 1.3 2014/10/13 08:53:47 j_novak Exp $" ;
30
31/*
32 * $Id: scalar_th_manip.C,v 1.3 2014/10/13 08:53:47 j_novak Exp $
33 * $Log: scalar_th_manip.C,v $
34 * Revision 1.3 2014/10/13 08:53:47 j_novak
35 * Lorene classes and functions now belong to the namespace Lorene.
36 *
37 * Revision 1.2 2006/05/26 09:00:12 j_novak
38 * New members for multiplication or division by cos(theta).
39 *
40 * Revision 1.1 2003/11/04 23:00:59 e_gourgoulhon
41 * First version.
42 *
43 *
44 *
45 * $Header: /cvsroot/Lorene/C++/Source/Tensor/Scalar/scalar_th_manip.C,v 1.3 2014/10/13 08:53:47 j_novak Exp $
46 *
47 */
48
49#include "tensor.h"
50
51
52 //-------------------//
53 // mult_cost //
54 //-------------------//
55
56
57namespace Lorene {
59
60 mp->mult_cost(*this) ; // Call of the appropriate routine of the mapping
61
62 del_deriv() ; // Delete the derived members
63
64}
65 //-------------------//
66 // div_cost //
67 //-------------------//
68
69
71
72 mp->div_cost(*this) ; // Call of the appropriate routine of the mapping
73
74 del_deriv() ; // Delete the derived members
75
76}
77
78
79 //-------------------//
80 // mult_sint //
81 //-------------------//
82
83
85
86 mp->mult_sint(*this) ; // Call of the appropriate routine of the mapping
87
88 del_deriv() ; // Delete the derived members
89
90}
91
92
93 //-------------------//
94 // div_sint //
95 //-------------------//
96
97
99
100 mp->div_sint(*this) ; // Call of the appropriate routine of the mapping
101
102 del_deriv() ; // Delete the derived members
103
104}
105
106 //-------------------//
107 // div_tant //
108 //-------------------//
109
110
112
113 mp->div_tant(*this) ; // Call of the appropriate routine of the mapping
114
115 del_deriv() ; // Delete the derived members
116
117}
118
119
120
121
122}
void div_cost()
Division by .
virtual void del_deriv() const
Logical destructor of the derivatives.
Definition scalar.C:287
void div_sint()
Division by .
void mult_cost()
Multiplication by .
void div_tant()
Division by .
void mult_sint()
Multiplication by .
const Map *const mp
Mapping on which the numerical values at the grid points are defined.
Definition tensor.h:295
Lorene prototypes.
Definition app_hor.h:64