Definition of most important values. More...
#include "generic.h"
#include "DAGHFortranInterfaces.h"
#include <cstdlib>
#include <cmath>
Go to the source code of this file.
Defines | |
#define | DAGHTrue (1) |
#define | DAGHFalse (0) |
#define | DAGHNull (-1) |
#define | DAGHNoBody (DAGHNull) |
#define | DAGHNullLevel (DAGHNull) |
#define | DAGHAll (9999) |
#define | DAGHSmall (-999999) |
#define | DAGHLarge ( 999999) |
#define | DAGHAllLevels (DAGHAll) |
#define | DAGHAllTimes (DAGHAll) |
#define | DAGHCurrentTime (0) |
#define | DAGHNextTime (1) |
#define | DAGHPreviousTime (2) |
#define | DAGHCompositeDistribution (1) |
#define | DAGHBlockXDistribution (2) |
#define | DAGHBlockYDistribution (3) |
#define | DAGHBlockZDistribution (4) |
#define | DAGHBlockXYDistribution (5) |
#define | DAGHBlockYZDistribution (6) |
#define | DAGHBlockXZDistribution (7) |
#define | DAGHBlockAllDistribution (8) |
#define | DAGHUserDefDistribution (9) |
#define | DAGHNoInteraction (DAGHNull) |
#define | DAGHGhostInteraction (1) |
#define | DAGHInitGFOnCreation (DAGHFalse) |
#define | DAGHMaxRank (3) |
#define | DAGH_X (0) |
#define | DAGH_Y (1) |
#define | DAGH_Z (2) |
#define | DAGH_All (3) |
#define | DAGHMaxAxis (4) |
#define | DAGH_XY (5) |
#define | DAGH_XZ (6) |
#define | DAGH_YZ (7) |
#define | DAGH_Dim1ToTop (8) |
#define | DAGH_Dim2ToTop (16) |
#define | DAGH_Backward (0) |
#define | DAGH_Forward (1) |
#define | DAGH_Both (2) |
#define | DAGHMaxDirs (3) |
#define | DAGHHisDir(d) (((d) == DAGH_Both) ? (d) : (1 - (d))) |
#define | DAGH_Inside (4) |
#define | DAGHCellCentered (1) |
#define | DAGHNonCellCentered (2) |
#define | DAGHVertexCentered (2) |
#define | DAGHFaceCentered_X (3) |
#define | DAGHFaceCentered_Y (4) |
#define | DAGHFaceCentered_Z (5) |
#define | DAGHNoComm (DAGHNull) |
#define | DAGHComm (1) |
#define | DAGHCommNoFace (2) |
#define | DAGHCommFaceOnly (3) |
#define | DAGHCommNoCorner (4) |
#define | DAGHCommNoEdge (5) |
#define | DAGHCommCurrentTimeOnly (6) |
#define | DAGHCommSimple (7) |
#define | DAGHTemplateComm (20) |
#define | DAGHShadowFactor (2) |
#define | DAGHNoExternalGhost (DAGHNull) |
#define | DAGHHasExternalGhost (DAGHTrue) |
#define | DAGHNoCheckpoint (DAGHNull) |
#define | DAGHCheckpoint (DAGHTrue) |
#define | DAGH_OK (0) |
#define | DAGH_ERROR (-1) |
#define | DAGH_WARN (-2) |
#define | DAGH_FATAL (-3) |
#define | DAGH_Integer (1) |
#define | DAGH_Real (2) |
#define | DAGH_Double (3) |
#define | DAGH_Character (4) |
#define | DAGH_Byte (5) |
#define | DAGHWorldCoords (1) |
#define | DAGHLocalCoords (2) |
#define | DAGHViz_NONE (DAGHNull) |
#define | DAGHViz_XGRAPH (1) |
#define | DAGHViz_FILE (2) |
#define | DAGHGhost 0 |
#define | DAGHData 1 |
#define | DAGHIO 2 |
#define | DAGHService 3 |
#define | DAGHTypeShift (12) |
#define | DAGHTimeShift (10) |
#define | DAGHLevelShift (4) |
#define | DAGHDirShift (0) |
#define | DAGHGhostTag (DAGHGhost << DAGHTypeShift) |
#define | DAGHDataTag (DAGHData << DAGHTypeShift) |
#define | DAGHIOTag (DAGHIO << DAGHTypeShift) |
#define | DAGHServiceTag (DAGHService << DAGHTypeShift) |
#define | DAGH_ExternalBoundary (1) |
#define | DAGH_AdaptiveBoundary (2) |
#define | DAGH_InternalBoundary (3) |
#define | DAGHNoBoundary (0) |
#define | DAGHBoundaryConst (1) |
#define | DAGHBoundaryRegular (1) |
#define | DAGHBoundaryShift (2) |
#define | DAGHBoundaryUserDef (3) |
#define | DAGHNoAdaptBoundary (0) |
#define | DAGHAdaptBoundaryInterp (1) |
#define | DAGHAdaptBoundaryUserDef (2) |
#define | DAGHAdaptBoundaryBoth (3) |
#define | DAGHNoNorm (0) |
#define | DAGHNormL1 (1) |
#define | DAGHNormL2 (2) |
#define | DAGHNormMax (3) |
#define | MAXLIM(T) ((T)(((unsigned long)(-1)))) |
#define | Global_Min_Max(Type) |
Typedefs | |
typedef int | INTEGER |
typedef float | REAL |
typedef double | DOUBLE |
typedef char | CHARACTER |
Functions | |
Global_Min_Max (int) Global_Min_Max(unsigned int) Global_Min_Max(long) Global_Min_Max(unsigned long) Global_Min_Max(float) Global_Min_Max(double) inline int Abs(int x) | |
long | Abs (long x) |
float | Abs (float x) |
double | Abs (double x) |
Definition of most important values.
#define DAGH_AdaptiveBoundary (2) |
#define DAGH_All (3) |
#define DAGH_Backward (0) |
Referenced by GhostInteraction::compute_interactions(), GhostInteraction::GhostInteraction(), and operator<<().
#define DAGH_Both (2) |
#define DAGH_Byte (5) |
#define DAGH_Character (4) |
#define DAGH_Dim1ToTop (8) |
Referenced by gdbAlignBBox().
#define DAGH_Dim2ToTop (16) |
Referenced by gdbAlignBBox().
#define DAGH_Double (3) |
Referenced by DAGHIO_HDF_NCSA_Read(), and DAGHIO_HDF_NCSA_Write().
#define DAGH_ERROR (-1) |
#define DAGH_ExternalBoundary (1) |
#define DAGH_FATAL (-3) |
#define DAGH_Forward (1) |
Referenced by GhostInteraction::compute_interactions(), GhostInteraction::GhostInteraction(), and operator<<().
#define DAGH_Inside (4) |
#define DAGH_Integer (1) |
#define DAGH_InternalBoundary (3) |
#define DAGH_OK (0) |
Referenced by GridTable::send().
#define DAGH_Real (2) |
#define DAGH_WARN (-2) |
#define DAGH_X (0) |
Referenced by GhostInteraction::compute_interactions(), GridHierarchy::default_alignment(), gdbAlignBBox(), gdbSetRanks(), GhostInteraction::GhostInteraction(), GhostInteraction::Ibbox(), GhostInteraction::IbboxFrom(), GridData< Type, 3 >::moment1(), GridData< Type, 2 >::moment1(), GridData< Type, 1 >::moment1(), and DAGHDistribution::partition().
#define DAGH_XY (5) |
Referenced by GridHierarchy::default_alignment(), gdbAlignBBox(), and gdbSetRanks().
#define DAGH_XZ (6) |
Referenced by gdbAlignBBox(), and gdbSetRanks().
#define DAGH_Y (1) |
#define DAGH_YZ (7) |
Referenced by gdbAlignBBox(), and gdbSetRanks().
#define DAGH_Z (2) |
#define DAGHAdaptBoundaryBoth (3) |
Referenced by GridFunction< GFType, dim >::GF_AdaptiveBndryUpdate().
#define DAGHAdaptBoundaryInterp (1) |
Referenced by GridFunction< GFType, dim >::GF_AdaptiveBndryUpdate().
#define DAGHAdaptBoundaryUserDef (2) |
Referenced by GridFunction< GFType, dim >::GF_AdaptiveBndryUpdate().
#define DAGHAll (9999) |
#define DAGHAllLevels (DAGHAll) |
#define DAGHAllTimes (DAGHAll) |
#define DAGHBlockAllDistribution (8) |
Referenced by GridHierarchy::GridHierarchy(), and DAGHDistribution::partition().
#define DAGHBlockXDistribution (2) |
Referenced by GridHierarchy::GridHierarchy(), and DAGHDistribution::partition().
#define DAGHBlockXYDistribution (5) |
Referenced by GridHierarchy::GridHierarchy(), and DAGHDistribution::partition().
#define DAGHBlockXZDistribution (7) |
Referenced by DAGHDistribution::partition().
#define DAGHBlockYDistribution (3) |
Referenced by DAGHDistribution::partition().
#define DAGHBlockYZDistribution (6) |
Referenced by DAGHDistribution::partition().
#define DAGHBlockZDistribution (4) |
Referenced by DAGHDistribution::partition().
#define DAGHBoundaryConst (1) |
#define DAGHBoundaryRegular (1) |
#define DAGHBoundaryShift (2) |
#define DAGHBoundaryUserDef (3) |
Referenced by GridFunction< GFType, dim >::GF_ExternalBndryUpdate().
#define DAGHCellCentered (1) |
Referenced by GridHierarchy::DAGH_InitOverlaps(), and GridHierarchy::daghoverlapCC_or_NCC().
#define DAGHCheckpoint (DAGHTrue) |
#define DAGHComm (1) |
#define DAGHCommCurrentTimeOnly (6) |
Referenced by GridFunction< GFType, dim >::comm().
#define DAGHCommFaceOnly (3) |
Referenced by GhostInteraction::corner_flag(), and GhostInteraction::edge_flag().
#define DAGHCommNoCorner (4) |
Referenced by GhostInteraction::corner_flag().
#define DAGHCommNoEdge (5) |
Referenced by GhostInteraction::edge_flag().
#define DAGHCommNoFace (2) |
Referenced by GhostInteraction::face_flag().
#define DAGHCommSimple (7) |
#define DAGHCompositeDistribution (1) |
Referenced by DAGHDistribution::partition().
#define DAGHCurrentTime (0) |
Referenced by GridFunction< GFType, dim >::GF_AdaptiveBndryUpdate().
#define DAGHData 1 |
#define DAGHDataTag (DAGHData << DAGHTypeShift) |
#define DAGHDirShift (0) |
#define DAGHFaceCentered_X (3) |
Referenced by GridHierarchy::DAGH_InitOverlaps().
#define DAGHFaceCentered_Y (4) |
Referenced by GridHierarchy::DAGH_InitOverlaps().
#define DAGHFaceCentered_Z (5) |
Referenced by GridHierarchy::DAGH_InitOverlaps().
#define DAGHFalse (0) |
Referenced by DAGHIOServerPing::callrecv(), GridTableGhostRcv::callrecvNpost(), GridTableDataRcv::callrecvNpost(), GridHierarchy::chkpt_reset(), GridHierarchy::DAGH_GetGFChkptIStream(), GridHierarchy::DAGH_GetGFChkptStrStream(), GridHierarchy::DAGH_OpenChkptIStream(), GridHierarchy::DAGH_OpenChkptOStream(), GridHierarchy::DAGH_RecomposeHierarchy(), GridHierarchy::DAGH_StopChkpt(), GridBoxList::difference(), BBoxList::difference(), GridFunction< GFType, dim >::GF_CheckpointRestart(), GridFunction< GFType, dim >::GF_maxval(), GridFunction< GFType, dim >::GF_minval(), GhostInteraction::GhostInteraction(), GridHierarchy::GridHierarchy(), GridBoxList::index(), GridBoxList::intersection(), BBoxList::intersection(), GridData< Type, 3 >::maxval(), GridData< Type, 2 >::maxval(), GridData< Type, 1 >::maxval(), GridDataBlock< Type, dim >::MemoryUsage(), GridData< Type, 3 >::minval(), GridData< Type, 2 >::minval(), GridData< Type, 1 >::minval(), GridTableGhostRcv::postrcv(), and GridTableDataRcv::postrcv().
#define DAGHGhost 0 |
#define DAGHGhostInteraction (1) |
Referenced by GhostInteraction::GhostInteraction().
#define DAGHGhostTag (DAGHGhost << DAGHTypeShift) |
Referenced by GridFunction< GFType, dim >::GF_WriteGhosts().
#define DAGHHasExternalGhost (DAGHTrue) |
#define DAGHHisDir | ( | d | ) | (((d) == DAGH_Both) ? (d) : (1 - (d))) |
#define DAGHInitGFOnCreation (DAGHFalse) |
#define DAGHIO 2 |
#define DAGHIOTag (DAGHIO << DAGHTypeShift) |
#define DAGHLarge ( 999999) |
#define DAGHLevelShift (4) |
#define DAGHLocalCoords (2) |
#define DAGHMaxAxis (4) |
#define DAGHMaxDirs (3) |
#define DAGHMaxRank (3) |
#define DAGHNextTime (1) |
Referenced by GridFunction< GFType, dim >::GF_AdaptiveBndryUpdate().
#define DAGHNoAdaptBoundary (0) |
Referenced by GridFunctionVoid::adaptiveboundary().
#define DAGHNoBody (DAGHNull) |
#define DAGHNoBoundary (0) |
Referenced by GridFunctionVoid::externalboundary().
#define DAGHNoCheckpoint (DAGHNull) |
#define DAGHNoComm (DAGHNull) |
Referenced by GridFunctionVoid::comm(), and GridFunction< GFType, dim >::comm().
#define DAGHNoExternalGhost (DAGHNull) |
#define DAGHNoInteraction (DAGHNull) |
#define DAGHNonCellCentered (2) |
#define DAGHNoNorm (0) |
#define DAGHNormL1 (1) |
Referenced by GridFunction< GFType, dim >::GF_norm().
#define DAGHNormL2 (2) |
Referenced by GridFunction< GFType, dim >::GF_norm().
#define DAGHNormMax (3) |
Referenced by GridFunction< GFType, dim >::GF_norm().
#define DAGHNull (-1) |
Referenced by GridDataBucketVoid::add(), DAGHIOServerSnd::callrecv(), DAGHIOServerRcv::callrecv(), gdbAlignBBox(), gdbSetRanks(), GridFunction< GFType, dim >::GF_Checkpoint(), GridFunction< GFType, dim >::GF_CheckpointRecompose(), GridFunction< GFType, dim >::GF_CheckpointRestart(), and GridDataBucketVoid::GridDataBucketVoid().
#define DAGHNullLevel (DAGHNull) |
#define DAGHPreviousTime (2) |
#define DAGHService 3 |
#define DAGHServiceTag (DAGHService << DAGHTypeShift) |
#define DAGHShadowFactor (2) |
Referenced by GridHierarchy::DAGH_ComposeHierarchy(), and GridHierarchy::DAGH_RecomposeHierarchy().
#define DAGHSmall (-999999) |
Referenced by GridFunction< GFType, dim >::GF_maxval().
#define DAGHTemplateComm (20) |
Referenced by GridHierarchy::DAGH_GridFunctionTemplate(), and GridFunctionVoid::GridFunctionVoid().
#define DAGHTimeShift (10) |
#define DAGHTrue (1) |
Referenced by GridFunctionVoid::adaptbndry_update(), GridFunctionVoid::bndry_update(), GridTableGhostRcv::callrecv(), GridTableDataRcv::callrecv(), DAGHIOServerPing::callrecv(), GridTableGhostRcv::callrecvNpost(), GridTableDataRcv::callrecvNpost(), GridFunctionVoid::checkpoint(), GridHierarchy::chkpt_restart(), GridFunctionVoid::composed(), GhostInteraction::compute_interactions(), GridHierarchy::DAGH_Checkpoint(), GridHierarchy::DAGH_GetGFChkptIStream(), GridHierarchy::DAGH_GetGFChkptStrStream(), GridHierarchy::DAGH_InitChkpt(), GridHierarchy::DAGH_OpenChkptIStream(), GridHierarchy::DAGH_OpenChkptOStream(), GridHierarchy::DAGH_OpenChkptStrStream(), GridHierarchy::DAGH_RecomposeHierarchy(), GridBoxList::difference(), BBoxList::difference(), GridFunctionVoid::externalghost(), GridFunction< GFType, dim >::GF_maxval(), GridFunction< GFType, dim >::GF_minval(), GhostInteraction::GhostInteraction(), GridDataBlock< GFType, dim >::has_adaptiveboundaries(), GridDataBlock< GFType, dim >::has_adaptiveboundary(), GhostInteraction::Ibbox(), GridFunctionVoid::initialize(), GridBoxList::intersection(), BBoxList::intersection(), GridFunctionVoid::io(), GridData< Type, 3 >::maxval(), GridData< Type, 2 >::maxval(), GridData< Type, 1 >::maxval(), GridDataBlock< Type, dim >::MemoryUsage(), GridData< Type, 3 >::minval(), GridData< Type, 2 >::minval(), GridData< Type, 1 >::minval(), GridFunctionVoid::prolong(), GridTableDataRcv::received(), GridTableGhostRcv::received(), GridFunctionVoid::Restrict(), GhostInteraction::simple(), and GridFunctionVoid::update().
#define DAGHTypeShift (12) |
#define DAGHUserDefDistribution (9) |
Referenced by DAGHDistribution::partition().
#define DAGHVertexCentered (2) |
Referenced by GridHierarchy::DAGH_InitOverlaps().
#define DAGHViz_FILE (2) |
#define DAGHViz_NONE (DAGHNull) |
#define DAGHViz_XGRAPH (1) |
#define DAGHWorldCoords (1) |
#define Global_Min_Max | ( | Type | ) |
#define MAXLIM | ( | T | ) | ((T)(((unsigned long)(-1)))) |
Referenced by GridFunction< GFType, dim >::GF_minval().
typedef char CHARACTER |
typedef double DOUBLE |
typedef int INTEGER |
typedef float REAL |
double Abs | ( | double | x | ) | [inline] |
References fabs().
float Abs | ( | float | x | ) | [inline] |
References fabs().
long Abs | ( | long | x | ) | [inline] |
Global_Min_Max | ( | int | ) |