scalar_th_manip.C
/*
* Member functions of the class Scalar for various theta manipulations
*
* See file scalar.h for documentation.
*/
/*
* Copyright (c) 2003 Eric Gourgoulhon & Jerome Novak
*
* 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 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 $" ;
/*
* $Id: scalar_th_manip.C,v 1.3 2014/10/13 08:53:47 j_novak Exp $
* $Log: scalar_th_manip.C,v $
* Revision 1.3 2014/10/13 08:53:47 j_novak
* Lorene classes and functions now belong to the namespace Lorene.
*
* Revision 1.2 2006/05/26 09:00:12 j_novak
* New members for multiplication or division by cos(theta).
*
* Revision 1.1 2003/11/04 23:00:59 e_gourgoulhon
* First version.
*
*
*
* $Header: /cvsroot/Lorene/C++/Source/Tensor/Scalar/scalar_th_manip.C,v 1.3 2014/10/13 08:53:47 j_novak Exp $
*
*/
#include "tensor.h"
//-------------------//
// mult_cost //
//-------------------//
namespace Lorene {
void Scalar::mult_cost() {
mp->mult_cost(*this) ; // Call of the appropriate routine of the mapping
del_deriv() ; // Delete the derived members
}
//-------------------//
// div_cost //
//-------------------//
void Scalar::div_cost() {
mp->div_cost(*this) ; // Call of the appropriate routine of the mapping
del_deriv() ; // Delete the derived members
}
//-------------------//
// mult_sint //
//-------------------//
void Scalar::mult_sint() {
mp->mult_sint(*this) ; // Call of the appropriate routine of the mapping
del_deriv() ; // Delete the derived members
}
//-------------------//
// div_sint //
//-------------------//
void Scalar::div_sint() {
mp->div_sint(*this) ; // Call of the appropriate routine of the mapping
del_deriv() ; // Delete the derived members
}
//-------------------//
// div_tant //
//-------------------//
void Scalar::div_tant() {
mp->div_tant(*this) ; // Call of the appropriate routine of the mapping
del_deriv() ; // Delete the derived members
}
}
Lorene::Scalar::div_cost
void div_cost()
Division by .
Definition scalar_th_manip.C:70
Lorene::Scalar::del_deriv
virtual void del_deriv() const
Logical destructor of the derivatives.
Definition scalar.C:287
Lorene::Scalar::div_sint
void div_sint()
Division by .
Definition scalar_th_manip.C:98
Lorene::Scalar::mult_cost
void mult_cost()
Multiplication by .
Definition scalar_th_manip.C:58
Lorene::Scalar::div_tant
void div_tant()
Division by .
Definition scalar_th_manip.C:111
Lorene::Scalar::mult_sint
void mult_sint()
Multiplication by .
Definition scalar_th_manip.C:84
Lorene::Tensor::mp
const Map *const mp
Mapping on which the numerical values at the grid points are defined.
Definition tensor.h:295
Lorene
Lorene prototypes.
Definition app_hor.h:64