00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef MGCOEFF_H_
00024 #define MGCOEFF_H_
00025
00026
00028
00030
00031 class Point_mg_coeff_nearb {
00032 private:
00033 Point_mg_coeff_nearb *next_res;
00034
00035 double *vars;
00036 Index3D ind;
00037 double weight;
00038 public:
00039 Point_mg_coeff_nearb(Index3D I, double* v, double w,
00040 Point_mg_coeff_nearb* old) :
00041 vars(v), ind(I), weight(w) {
00042 next_res=old;
00043 }
00044 Point_mg_coeff_nearb *Next_res() { return next_res; }
00045
00046 double* Give_var() { return vars; }
00047 double Give_weight() { return weight; }
00048 Index3D I() const { return ind; }
00049 };
00050
00051
00052 class Point_mg_coeff_bo {
00053 private:
00054 Point_mg_coeff_bo *next_res;
00055
00056 double *vars;
00057 Index3D ind;
00058 dir_3D dir;
00059 double weight;
00060 public:
00061 Point_mg_coeff_bo(Index3D I, dir_3D d, double* v, double w,
00062 Point_mg_coeff_bo* old) :
00063 vars(v), ind(I), dir(d), weight(w) {
00064 next_res=old;
00065 }
00066 Point_mg_coeff_bo *Next_res() { return next_res; }
00067
00068 double* Give_var() { return vars; }
00069 double Give_weight() { return weight; }
00070 Index3D I() const { return ind; }
00071 dir_3D d() const { return dir; }
00072 };
00073
00074
00075 #endif
00076