vtf-logo

DAGH.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 #ifndef _included_DAGH_h
00004 #define _included_DAGH_h
00005 
00011 #include "DAGHParams.h"
00012 #include "DAGHDefaults.h"
00013 
00014 #include "GridHierarchy.h"
00015 #include "GridHierarchyCalls.h"
00016 #include "GridHierarchyIndex.h"
00017 
00018 #include "GridFunction.h"
00019 #include "GridFunctionCalls.h"
00020 #include "GridFunctionIndex.h"
00021 
00022 #include "GridData1.h"
00023 #include "GridData2.h"
00024 #include "GridData3.h"
00025 
00026 #include "CommServer.h"
00027 
00028 #include "Coords.h"
00029 #include "DCoords.h"
00030 #include "BBox.h"
00031 #include "BBoxList.h"
00032 
00033 #include "AllocError.h"
00034 
00035 #define VizServer 0                                               
00036 
00037 #ifndef MY_PROC
00038 #define MY_PROC    (comm_service::proc_me())
00039 #endif
00040 
00041 #ifndef NUM_PROC
00042 #define NUM_PROC          (comm_service::proc_num())
00043 #endif
00044 
00045 #ifndef COMPUTE_NODE
00046 #define COMPUTE_NODE        (!comm_service::io_enabled()) || (comm_service::proc_world() == 1) || \
00047                             (comm_service::proc_me() != comm_service::proc_io())
00048 #endif
00049 
00050 
00051 #ifndef BEGIN_COMPUTE
00052 #define BEGIN_COMPUTE       if ( (!comm_service::io_enabled()) || \
00053                                  (comm_service::proc_world() == 1) || \
00054                                  (comm_service::proc_me() != comm_service::proc_io()) ) {
00055 #endif
00056 
00057 #ifndef END_COMPUTE
00058 #define END_COMPUTE         }
00059 #endif
00060 
00061 #ifndef BEGIN_IO
00062 #define BEGIN_IO            if ( (comm_service::io_enabled()) && \
00063                                  (comm_service::proc_me() == comm_service::proc_io()) ) {
00064 #endif
00065 
00066 #ifndef END_IO
00067 #define END_IO         }
00068 #endif
00069 
00070 #ifndef NUM_PROC
00071 #define NUM_PROC(GH)      (comm_service::proc_num())
00072 #endif
00073 
00074 #endif

Generated on Fri Aug 24 13:00:28 2007 for AMROC's Hierachical Data Structures - by  doxygen 1.4.7