map_radial.C

00001 /*
00002  *  Methods of class Map_radial
00003  *
00004  *   (see file map.h for documentation)
00005  *
00006  */
00007 
00008 /*
00009  *   Copyright (c) 1999-2003 Eric Gourgoulhon
00010  *
00011  *   This file is part of LORENE.
00012  *
00013  *   LORENE is free software; you can redistribute it and/or modify
00014  *   it under the terms of the GNU General Public License as published by
00015  *   the Free Software Foundation; either version 2 of the License, or
00016  *   (at your option) any later version.
00017  *
00018  *   LORENE is distributed in the hope that it will be useful,
00019  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00020  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00021  *   GNU General Public License for more details.
00022  *
00023  *   You should have received a copy of the GNU General Public License
00024  *   along with LORENE; if not, write to the Free Software
00025  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00026  *
00027  */
00028 
00029 
00030 char map_radial_C[] = "$Header: /cvsroot/Lorene/C++/Source/Map/map_radial.C,v 1.4 2004/01/29 08:50:03 p_grandclement Exp $" ;
00031 
00032 /*
00033  * $Id: map_radial.C,v 1.4 2004/01/29 08:50:03 p_grandclement Exp $
00034  * $Log: map_radial.C,v $
00035  * Revision 1.4  2004/01/29 08:50:03  p_grandclement
00036  * Modification of Map::operator==(const Map&) and addition of the surface
00037  * integrales using Scalar.
00038  *
00039  * Revision 1.3  2003/11/07 10:10:20  e_gourgoulhon
00040  * In the constructor from a grid, changed the name of the argument
00041  * from "mg" to "mgi" in order not to shadow data member.
00042  *
00043  * Revision 1.2  2003/10/15 10:41:10  e_gourgoulhon
00044  * Added new Coord's drdt and stdrdp.
00045  *
00046  * Revision 1.1.1.1  2001/11/20 15:19:27  e_gourgoulhon
00047  * LORENE
00048  *
00049  * Revision 2.6  1999/11/22  10:37:24  eric
00050  * Fonction del_coord() rebaptisee reset_coord().
00051  *
00052  * Revision 2.5  1999/10/15  14:27:20  eric
00053  * Suppression de l'appel a del_coord() dans le destructeur de Map_radial.
00054  *
00055  * Revision 2.4  1999/10/15  09:23:14  eric
00056  * *** empty log message ***
00057  *
00058  * Revision 2.3  1999/10/14  14:27:49  eric
00059  * Depoussierage.
00060  *
00061  * Revision 2.2  1999/03/01  16:57:35  eric
00062  * Suppression de l'operateur <<
00063  *
00064  * Revision 2.1  1999/03/01  14:59:25  eric
00065  * *** empty log message ***
00066  *
00067  * Revision 2.0  1999/02/15  10:42:45  hyc
00068  * *** empty log message ***
00069  *
00070  *
00071  * $Header: /cvsroot/Lorene/C++/Source/Map/map_radial.C,v 1.4 2004/01/29 08:50:03 p_grandclement Exp $
00072  *
00073  */
00074 
00075 // headers Lorene
00076 #include "map.h"
00077 
00078 
00079             //---------------//
00080             // Constructeurs //
00081             //---------------//
00082 
00083 // Constructor from a grid
00084 // -----------------------
00085 Map_radial::Map_radial(const Mg3d& mgi) : Map(mgi)
00086 {
00087         // The Coord's are constructed by the default Coord constructor
00088 }
00089 
00090 // Copy constructor 
00091 // ----------------
00092 Map_radial::Map_radial(const Map_radial & mp) : Map(mp)
00093 {
00094         // The Coord's are constructed by the default Coord constructor
00095 }
00096     
00097 // Constructor from file
00098 // ---------------------
00099 Map_radial::Map_radial(const Mg3d& mgi, FILE* fd) : Map(mgi, fd) {}
00100 
00101             //--------------//
00102             // Destructeurs //
00103             //--------------//
00104 
00105 // Destructeur
00106 Map_radial::~Map_radial() {}
00107 
00108             //------------//
00109             // Sauvegarde //
00110             //------------//
00111 
00112 void Map_radial::sauve(FILE* fd) const {
00113 
00114     Map::sauve(fd) ; 
00115     
00116 }
00117     
00118             //-----------------//
00119             // Gestion memoire //
00120             //-----------------//
00121 
00122 void Map_radial::reset_coord() {
00123 
00124     // Les Coord communs a toutes les classes derivees de Map : 
00125     
00126     Map::reset_coord() ;
00127     
00128     // Les Coord specifiques a Map_radial : 
00129     
00130     xsr.del_t() ; 
00131     dxdr.del_t() ; 
00132     drdt.del_t() ; 
00133     stdrdp.del_t() ; 
00134     srdrdt.del_t() ; 
00135     srstdrdp.del_t() ; 
00136     sr2drdt.del_t() ; 
00137     sr2stdrdp.del_t() ; 
00138     d2rdx2.del_t() ; 
00139     lapr_tp.del_t() ; 
00140     d2rdtdx.del_t() ; 
00141     sstd2rdpdx.del_t() ; 
00142     sr2d2rdt2.del_t() ; 
00143      
00144 }

Generated on Tue Feb 7 01:35:18 2012 for LORENE by  doxygen 1.4.6