dumper_vgroupe.h

Go to the documentation of this file.
00001 /* ./dumper/dumper_vgroupe.h 
00002 **********************************
00003 Copyright INRIA and CEA 
00004 
00005 author : Guillaume ANCIAUX (anciaux@labri.fr, g.anciaux@laposte.net)
00006 
00007 The LibMultiScale is a C++ parallel framework for the multiscale
00008 coupling methods dedicated to material simulations. This framework
00009 provides an API which makes it possible to program coupled simulations
00010 and integration of already existing codes.
00011 
00012 This Project is done in a collaboration between INRIA Futurs Bordeaux
00013 within ScAlApplix team and CEA/DPTA Ile de France. 
00014 
00015 This software is governed by the CeCILL-C license under French law and
00016 abiding by the rules of distribution of free software.  You can  use, 
00017 modify and/ or redistribute the software under the terms of the CeCILL-C
00018 license as circulated by CEA, CNRS and INRIA at the following URL
00019 "http://www.cecill.info". 
00020 
00021 As a counterpart to the access to the source code and  rights to copy,
00022 modify and redistribute granted by the license, users are provided only
00023 with a limited warranty  and the software's author,  the holder of the
00024 economic rights,  and the successive licensors  have only  limited
00025 liability. 
00026 
00027 In this respect, the user's attention is drawn to the risks associated
00028 with loading,  using,  modifying and/or developing or reproducing the
00029 software by the user in light of its specific status of free software,
00030 that may mean  that it is complicated to manipulate,  and  that  also
00031 therefore means  that it is reserved for developers  and  experienced
00032 professionals having in-depth computer knowledge. Users are therefore
00033 encouraged to load and test the software's suitability as regards their
00034 requirements in conditions enabling the security of their systems and/or 
00035 data to be ensured and,  more generally, to use and operate it in the 
00036 same conditions as regards security. 
00037 
00038 The fact that you are presently reading this means that you have had
00039 knowledge of the CeCILL-C license and that you accept its terms.
00040 ***********************************/
00041 
00042 #ifndef DUMPERVGROUPE_H
00043 #define DUMPERVGROUPE_H
00044 
00045 #include "dumper.h"
00046 #include "../common/domain_interface.h"
00047 
00048 #define NB_TRANCHES 200
00049 
00050 
00051 template <typename T,unsigned int Dim>
00052 class DumperVGroupe : public Dumper<T,Dim>{
00053   
00054  public:
00055 
00056   DumperVGroupe(DomainInterface & d,int ID):
00057     Dumper<T,Dim>(static_cast<T &>(d),ID)
00058     {
00059     };
00060 
00061  protected:
00062 
00063   void Dump();
00064   void Init();
00065   void SetParam(char* key,double value);
00066 
00067  private:
00068 
00069   unsigned int nb_tranches;
00070   double * deplacements_par_tranche;
00071   unsigned int * nb_par_tranche;
00072 
00073   FILE * output[1];
00074 
00075 };
00076 
00077 
00078 
00079 
00080 #endif //DUMPERVGROUPE_H
00081 

Generated on Fri Sep 7 13:12:34 2007 for LibMultiScale by  doxygen 1.5.2