Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

src/expde/extemp/locsum.h

Go to the documentation of this file.
00001 //    expde: expression templates for partial differential equations.
00002 //    Copyright (C) 2001  Christoph Pflaum
00003 //    This program is free software; you can redistribute it and/or modify
00004 //    it under the terms of the GNU General Public License as published by
00005 //    the Free Software Foundation; either version 2 of the License, or
00006 //    (at your option) any later version.
00007 //
00008 //    This program is distributed in the hope that it will be useful,
00009 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00011 //    GNU General Public License for more details.
00012 //
00013 //                 SEE  Notice1.doc made by 
00014 //                 LAWRENCE LIVERMORE NATIONAL LABORATORY
00015 //
00016 
00017 // ------------------------------------------------------------
00018 // locsum.h
00019 //
00020 // ------------------------------------------------------------
00021 
00022 
00023 #ifndef LOCSUM_H_
00024 #define LOCSUM_H_
00025         
00026 
00027 class LocalSumObj {
00028 public:
00029   LocalSumObj(int i, int j, int k, int number_var, int lev);
00030   int i() const { return I; }
00031   int j() const { return J; }
00032   int k() const { return K; }
00033   int Number_variable() const { return number_var; }
00034   int Level() const { return level; }
00035 
00036 private:
00037   int I,J,K;
00038   int number_var;
00039   int level;
00040 };
00041 
00042 LocalSumObj Local_Sum(int i, int j, int k, Variable& v);
00043 
00044 
00045 #endif
00046           

Generated on Fri Nov 2 01:25:56 2007 for IPPL by doxygen 1.3.5