md1d.h

Go to the documentation of this file.
00001 /* ./md/1D/md1d.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 MD1D
00043 #define MD1D
00044 
00045 class MDynamic1D
00046 {
00047  public:
00048   MDynamic1D(int natomes,double r0,double rcut,char * name);
00049   ~MDynamic1D(){};
00050   
00051   int UpdateAtomeAcceleration();
00052   void UpdateAtomeAccelerationNew();
00053   void printDatainOverlap(const double& R1,const double& R2  );
00054   void printAtoms();
00055   void addAtoms();
00056   //  void fixvalueForSurfAtoms(Mesh1DArlequin &mesh, const int &dir);
00057   double *sigma;
00058   
00059   private :
00060   
00061   int UpdateAtomeAcceleration(int i);
00062   //
00063   int _nbSurfaceAtoms ;
00064   double r0;
00065 
00066 
00067 };
00068 
00069 #endif

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