 Blockstructured Adaptive Mesh Refinement in object-oriented C++
 
      Blockstructured Adaptive Mesh Refinement in object-oriented C++ 
  
#include "CompConf.h"
#include "generic.h"
#include <iostream.h>
#include <assert.h>
Include dependency graph for Vector25.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
| Compounds | |
| class | Vector | 
| Vector implementation. More... | |
| Defines | |
| #define | Vector(dim) name2(Vector,dim) | 
| #define | VectorName | 
| #define | Vector_Vector_Operator(ope, op) | 
| #define | Vector_Scalar_Operator(ope, op) | 
| #define | Vector_Vector_RelOperator(op) | 
| #define | Vector_Vector_RelOperator(op) | 
| #define | Vector_Scalar_RelOperator(op) | 
| #define | Vector_Scalar_RelOperator(op) | 
| #define | Global_Vector_Scalar_Operator(op) | 
| #define | Global_Vector_Function(fct) | 
| #define | Vector_Vector_Functions(NameTo, NameFrom, ope) | 
| Functions | |
| template<class DataType> ostream & | operator<< (ostream &os, const Vector< DataType > &v) | 
| template<class DataType> Vector< DataType > | operator+ (const DataType &v, const Vector< DataType > &x) | 
| template<class DataType> Vector< DataType > | operator- (const DataType &v, const Vector< DataType > &x) | 
| template<class DataType> Vector< DataType > | operator * (const DataType &v, const Vector< DataType > &x) | 
| template<class DataType> Vector< DataType > | operator/ (const DataType &v, const Vector< DataType > &x) | 
| template<class DataType> Vector< DataType > | fabs (const Vector< DataType > &x) | 
| template<class DataType> Vector< DataType > | sqrt (const Vector< DataType > &x) | 
| template<class DataType> Vector< DataType > | Min (const Vector< DataType > &x, const Vector< DataType > &y) | 
| template<class DataType> Vector< DataType > | Max (const Vector< DataType > &x, const Vector< DataType > &y) | 
| template<class DataType> double | abs (const Vector< DataType > &x) | 
| template<class DataType> DataType | mincomp (const Vector< DataType > &x) | 
| template<class DataType> DataType | maxcomp (const Vector< DataType > &x) | 
| template<class DataType, class VectorType> void | equals_to (Vector< DataType > &x, const VectorType &y) | 
| template<class DataType, class VectorType> void | equals_from (VectorType &x, const Vector< DataType > &y) | 
| template<class DataType, class VectorType> void | plus_to (Vector< DataType > &x, const VectorType &y) | 
| template<class DataType, class VectorType> void | plus_from (VectorType &x, const Vector< DataType > &y) | 
| template<class DataType, class VectorType> void | minus_to (Vector< DataType > &x, const VectorType &y) | 
| template<class DataType, class VectorType> void | minus_from (VectorType &x, const Vector< DataType > &y) | 
| template<class DataType, class VectorType> void | multiply_to (Vector< DataType > &x, const VectorType &y) | 
| template<class DataType, class VectorType> void | multiply_from (VectorType &x, const Vector< DataType > &y) | 
| template<class DataType, class VectorType> void | divide_to (Vector< DataType > &x, const VectorType &y) | 
| template<class DataType, class VectorType> void | divide_from (VectorType &x, const Vector< DataType > &y) | 
Definition in file Vector25.h.
| 
 | 
| Value: template <class DataType> \ inline Vector(25)<DataType> fct(const Vector(25)<DataType> &x) \ { \ Vector(25)<DataType> ret; \ for (int n=0; n<25; n++) \ ret[n] = fct(x[n]); \ return(ret); \ } Definition at line 256 of file Vector25.h. | 
| 
 | 
| Value: template <class DataType> \ inline Vector(25)<DataType> operator op (const DataType &v, \ const Vector(25)<DataType> &x) \ { return(x op v); } Definition at line 243 of file Vector25.h. | 
| 
 | 
| Value: inline TVector& operator ope (const DataType &v)             \
     {                                                          \
       for (int n=0; n<25; n++)                                 \
         data_[n] ope v;                                        \
       return(*this);                                           \
     }                                                          \
   inline TVector operator op (const DataType &v) const         \
     {                                                          \
       TVector ret(*this);                                      \
       for (int n=0; n<25; n++)                                 \
         ret.data_[n] ope v;                                    \
       return(ret);                                             \
     }Definition at line 107 of file Vector25.h. | 
| 
 | 
| Value: inline int operator op (const DataType &v) const            \
     {                                                         \
       bool ret = (data_[0] op v);                             \
       for (int n=1; n<25; n++)                                \
         ret = ret || (data_[n] op v);                         \
       return(ret);                                            \
     }Definition at line 177 of file Vector25.h. | 
| 
 | 
| Value: inline int operator op (const DataType &v) const            \
     {                                                         \
       bool ret = (data_[0] op v);                             \
       for (int n=1; n<25; n++)                                \
         ret = ret && (data_[n] op v);                         \
       return(ret);                                            \
     }Definition at line 177 of file Vector25.h. | 
| 
 | 
| Value: template <class DataType, class VectorType> \ inline void NameTo (Vector(25)<DataType> &x, const VectorType &y) \ { \ for (int n=0; n<25; n++) \ x(n) ope y(n); \ } \ template <class DataType, class VectorType> \ inline void NameFrom (VectorType &x, const Vector(25)<DataType> &y) \ { \ for (int n=0; n<25; n++) \ x(n) ope y(n); \ } Definition at line 294 of file Vector25.h. | 
| 
 | 
| Value: inline TVector& operator ope (const TVector &x)              \
     {                                                          \
       for (int n=0; n<25; n++)                                 \
         data_[n] ope x.data_[n];                               \
       return(*this);                                           \
     }                                                          \
   inline TVector operator op (const TVector &x) const          \
     {                                                          \
       TVector ret(*this);                                      \
       for (int n=0; n<25; n++)                                 \
         ret.data_[n] ope x.data_[n];                           \
       return(ret);                                             \
     }Definition at line 87 of file Vector25.h. | 
| 
 | 
| Value: inline int operator op (const TVector &x) const              \
     {                                                          \
       bool ret = (data_[0] op x.data_[0]);                     \
       for (int n=1; n<25; n++)                                 \
         ret = ret || (data_[n] op x.data_[n]);                 \
       return(ret);                                             \
     }Definition at line 149 of file Vector25.h. | 
| 
 | 
| Value: inline int operator op (const TVector &x) const              \
     {                                                          \
       bool ret = (data_[0] op x.data_[0]);                     \
       for (int n=1; n<25; n++)                                 \
         ret = ret && (data_[n] op x.data_[n]);                 \
       return(ret);                                             \
     }Definition at line 149 of file Vector25.h. | 
Quickstart Users Guide Programmers Reference Installation Examples Download
AMROC Main Home Contactlast update: 06/01/04