change_var.h
/*
* Definition of Lorene class Change_var
*
*/
/*
* Copyright (c) 2003 Philippe Grandclement
*
* 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 version 2
* as published by the Free Software Foundation.
*
* 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
*
*/
#ifndef __CHANGE_VAR_H_
#define __CHANGE_VAR_H_
/*
* $Id: change_var.h,v 1.6 2014/10/13 08:52:32 j_novak Exp $
* $Log: change_var.h,v $
* Revision 1.6 2014/10/13 08:52:32 j_novak
* Lorene classes and functions now belong to the namespace Lorene.
*
* Revision 1.5 2004/06/22 08:49:56 p_grandclement
* Addition of everything needed for using the logarithmic mapping
*
* Revision 1.4 2004/05/14 08:51:00 p_grandclement
* *** empty log message ***
*
* Revision 1.3 2004/03/23 14:54:45 j_novak
* More documentation
*
* Revision 1.2 2004/03/05 09:18:48 p_grandclement
* Addition of operator sec_order_r2
*
* Revision 1.1 2003/12/11 14:57:00 p_grandclement
* I had forgotten the .h (sorry folks...)
*
*
* $Header: /cvsroot/Lorene/C++/Include/change_var.h,v 1.6 2014/10/13 08:52:32 j_novak Exp $
*
*/
#include "proto.h"
// Defines the various types of variable changes with the associated
// functions F, G, F' and G'
#define STD 1
double one (double) ;
double zero (double) ;
#define W_BETA 2
double ide (double) ;
#define W_BETA_INF 3
double part_ln (double) ;
double part_ln_der (double) ;
#define H_BETA 4
#define LAMBDA_RN 5
double plus_log(double) ;
double moins_sur(double) ;
#define NU_RN 6
double moins_log(double) ;
double plus_sur(double) ;
namespace Lorene {
class Change_var {
protected:
double (* func_F) (double) ;
double (* der_F) (double) ;
double (* func_G) (double) ;
double (* der_G) (double) ;
double mult_F ;
double add_F ;
public:
Change_var (int var) ;
Change_var (int var, double) ;
Change_var (int var, double, double) ;
Change_var (const Change_var& so) ;
~Change_var() ;
public:
double val_F (double x) ;
double val_der_F (double x) ;
double val_G (double x) ;
double val_der_G (double x) ;
} ;
}
#endif
Lorene::Change_var::mult_F
double mult_F
Pointer on the derivative of .
Definition change_var.h:106
Lorene::Change_var::func_G
double(* func_G)(double)
Pointer on the derivative of .
Definition change_var.h:103
Lorene::Change_var::add_F
double add_F
Multiplicative factor for F ## PROVISORY.
Definition change_var.h:107
Lorene::Change_var::der_F
double(* der_F)(double)
Pointer on the function .
Definition change_var.h:102
Lorene::Change_var::val_F
double val_F(double x)
Standard destructor.
Definition change_var.C:276
Lorene::Change_var::val_der_F
double val_der_F(double x)
Returns the value of at {\tt x}.
Definition change_var.C:280
Lorene::Change_var::Change_var
Change_var(int var)
Additive factor for F ## PROVISORY.
Definition change_var.C:99
Lorene::Change_var::val_der_G
double val_der_G(double x)
Returns the value of at {\tt x}.
Definition change_var.C:288
Lorene::Change_var::der_G
double(* der_G)(double)
Pointer on the function .
Definition change_var.h:104
Lorene::Change_var::~Change_var
~Change_var()
Constructor by copy.
Definition change_var.C:274
Lorene::Change_var::val_G
double val_G(double x)
Returns the value of at {\tt x}.
Definition change_var.C:284
Lorene
Lorene prototypes.
Definition app_hor.h:64
Lorene::x
Coord x
x coordinate centered on the grid
Definition map.h:726