EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
egdef.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TRUE   1
 
#define FALSE   0
 
#define FM_PI   3.1415926
 
#define NEARZERO   1.0e-50
 
#define XAXIS   0
 
#define YAXIS   1
 
#define ZAXIS   2
 
#define DIM   2
 
#define INDEFINITE   -1
 
#define RIGHT   1
 
#define UP   2
 
#define LEFT   3
 
#define DOWN   0
 
#define BOTLEFT   0
 
#define TOPLEFT   3
 
#define BOTRIGHT   1
 
#define TOPRIGHT   2
 
#define FIRST   0
 
#define SECOND   1
 
#define COORD_CART2   0
 
#define COORD_AXIS   1
 
#define COORD_POLAR   2
 
#define COORD_CART3   3
 
#define COORD_CART1   4
 
#define COORD_CYL   5
 
#define BNDR_NOTHING   0
 
#define KNOTS_ALL   1
 
#define KNOTS_DIRICHLET   2
 
#define KNOTS_FREE   3
 
#define NUMBER_XY   1
 
#define NUMBER_YX   2
 
#define NUMBER_1D   3
 
#define MAT_SMALLER   -11
 
#define MAT_BIGGER   -9
 
#define MAT_ANYTHING   -10
 
#define MAT_BOT   -1
 
#define MAT_RIGHT   -2
 
#define MAT_TOP   -3
 
#define MAT_LEFT   -4
 
#define MAT_NOTHING   0
 
#define MAT_FIRSTNUMBER   2
 
#define MAT_MAXNUMBER   50
 
#define MIN(x, y)   ( ((x) < (y)) ? (x) : (y) )
 
#define MAX(x, y)   ( ((x) > (y)) ? (x) : (y) )
 
#define SGN(x)   ( ((x) < 0.) ? (-1) : (((x) > 0.) ? (1) : 0) )
 
#define ABS(x)   ( (x) >= 0 ? (x) : -(x))
 
#define FABS(x)   ( (x) >= 0.0 ? (x) : -(x))
 
#define SQR(x)   ((x) * (x))
 
#define POS(x)   ((x) > 0.0 ? (x) : 0.0)
 
#define NEG(x)   ((x) < 0.0 ? (x) : 0.0)
 
#define RAD_TO_DEG(x)   ((x)*180.0/FM_PI)
 
#define DEG_TO_RAD(x)   ((x)*FM_PI/180.0)
 

Typedefs

typedef double Real
 
typedef int Integer
 

Macro Definition Documentation

#define ABS (   x)    ( (x) >= 0 ? (x) : -(x))

Definition at line 81 of file egdef.h.

View newest version in sPHENIX GitHub at line 81 of file egdef.h

#define BNDR_NOTHING   0

Definition at line 52 of file egdef.h.

View newest version in sPHENIX GitHub at line 52 of file egdef.h

#define BOTLEFT   0

Definition at line 34 of file egdef.h.

View newest version in sPHENIX GitHub at line 34 of file egdef.h

Referenced by CreatePoints(), GetElementCoordinates(), GetElementIndices(), GetKnotCoordinate(), and SetCellData().

#define BOTRIGHT   1

Definition at line 36 of file egdef.h.

View newest version in sPHENIX GitHub at line 36 of file egdef.h

Referenced by CreatePoints(), GetElementCoordinates(), GetElementIndices(), GetKnotCoordinate(), and SetCellData().

#define COORD_AXIS   1

Definition at line 45 of file egdef.h.

View newest version in sPHENIX GitHub at line 45 of file egdef.h

Referenced by LoadAbaqusInput(), LoadElmergrid(), and SaveElmergrid().

#define COORD_CART1   4

Definition at line 48 of file egdef.h.

View newest version in sPHENIX GitHub at line 48 of file egdef.h

Referenced by ExampleGrid1D(), LoadElmergrid(), and SaveElmergrid().

#define COORD_CART2   0

Definition at line 44 of file egdef.h.

View newest version in sPHENIX GitHub at line 44 of file egdef.h

Referenced by ExampleGrid2D(), InitializeKnots(), LoadAbaqusInput(), and LoadElmergrid().

#define COORD_CART3   3

Definition at line 47 of file egdef.h.

View newest version in sPHENIX GitHub at line 47 of file egdef.h

Referenced by CreateKnotsExtruded(), ExampleGrid3D(), and LoadElmergrid().

#define COORD_CYL   5

Definition at line 49 of file egdef.h.

View newest version in sPHENIX GitHub at line 49 of file egdef.h

Referenced by ManipulateMeshDefinition().

#define COORD_POLAR   2

Definition at line 46 of file egdef.h.

View newest version in sPHENIX GitHub at line 46 of file egdef.h

Referenced by LoadAbaqusInput(), LoadElmergrid(), ManipulateMeshDefinition(), and SaveElmergrid().

#define DEG_TO_RAD (   x)    ((x)*FM_PI/180.0)

Definition at line 87 of file egdef.h.

View newest version in sPHENIX GitHub at line 87 of file egdef.h

#define DIM   2

Definition at line 24 of file egdef.h.

View newest version in sPHENIX GitHub at line 24 of file egdef.h

Referenced by PHTruthClustering::all_truth_clusters(), Acts::detail::GlobalNeighborHoodIndices< DIM >::begin(), nanoflann::KDTreeSingleIndexAdaptor< nanoflann::L2_Simple_Adaptor< double, kdfinder::KDPointCloud< double > >, kdfinder::KDPointCloud< double >, 3 >::computeBoundingBox(), nanoflann::KDTreeSingleIndexAdaptor< nanoflann::L2_Simple_Adaptor< double, kdfinder::KDPointCloud< double > >, kdfinder::KDPointCloud< double >, 3 >::computeInitialDistances(), CreateKnots(), nanoflann::KDTreeSingleIndexAdaptor< nanoflann::L2_Simple_Adaptor< double, kdfinder::KDPointCloud< double > >, kdfinder::KDPointCloud< double >, 3 >::divideTree(), Acts::Ray< value_t, DIM >::draw(), Acts::Frustum< value_t, DIM, SIDES >::draw(), Acts::AxisAlignedBoundingBox< entity_t, value_t, DIM >::draw(), nanoflann::KDTreeSingleIndexAdaptor< nanoflann::L2_Simple_Adaptor< double, kdfinder::KDPointCloud< double > >, kdfinder::KDPointCloud< double >, 3 >::findNeighbors(), Acts::detail::GlobalNeighborHoodIndices< DIM >::GlobalNeighborHoodIndices(), nanoflann::KDTreeEigenMatrixAdaptor< MatrixType, DIM, Distance >::KDTreeEigenMatrixAdaptor(), nanoflann::KDTreeSingleIndexAdaptor< nanoflann::L2_Simple_Adaptor< double, kdfinder::KDPointCloud< double > >, kdfinder::KDPointCloud< double >, 3 >::KDTreeSingleIndexAdaptor(), nanoflann::KDTreeSingleIndexAdaptor< nanoflann::L2_Simple_Adaptor< double, kdfinder::KDPointCloud< double > >, kdfinder::KDPointCloud< double >, 3 >::middleSplit_(), Acts::detail::GlobalNeighborHoodIndices< DIM >::iterator::operator*(), Acts::detail::GlobalNeighborHoodIndices< DIM >::iterator::operator++(), nanoflann::KDTreeSingleIndexAdaptor< nanoflann::L2_Simple_Adaptor< double, kdfinder::KDPointCloud< double > >, kdfinder::KDPointCloud< double >, 3 >::searchLevel(), Acts::detail::GlobalNeighborHoodIndices< DIM >::size(), Acts::Frustum< value_t, DIM, SIDES >::svg(), Acts::AxisAlignedBoundingBox< entity_t, value_t, DIM >::svg(), Acts::Ray< value_t, DIM >::toStream(), Acts::AxisAlignedBoundingBox< entity_t, value_t, DIM >::toStream(), and nanoflann::KDTreeSingleIndexAdaptor< nanoflann::L2_Simple_Adaptor< double, kdfinder::KDPointCloud< double > >, kdfinder::KDPointCloud< double >, 3 >::veclen().

#define DOWN   0

Definition at line 31 of file egdef.h.

View newest version in sPHENIX GitHub at line 31 of file egdef.h

Referenced by GetSideInfo(), and SetCellData().

#define FABS (   x)    ( (x) >= 0.0 ? (x) : -(x))

Definition at line 82 of file egdef.h.

View newest version in sPHENIX GitHub at line 82 of file egdef.h

#define FALSE   0

Definition at line 11 of file egdef.h.

View newest version in sPHENIX GitHub at line 11 of file egdef.h

#define FIRST   0

Definition at line 40 of file egdef.h.

View newest version in sPHENIX GitHub at line 40 of file egdef.h

Referenced by CreateBoundary().

#define INDEFINITE   -1

Definition at line 27 of file egdef.h.

View newest version in sPHENIX GitHub at line 27 of file egdef.h

#define KNOTS_ALL   1

Definition at line 55 of file egdef.h.

View newest version in sPHENIX GitHub at line 55 of file egdef.h

#define KNOTS_DIRICHLET   2

Definition at line 56 of file egdef.h.

View newest version in sPHENIX GitHub at line 56 of file egdef.h

#define KNOTS_FREE   3

Definition at line 57 of file egdef.h.

View newest version in sPHENIX GitHub at line 57 of file egdef.h

#define LEFT   3

Definition at line 30 of file egdef.h.

View newest version in sPHENIX GitHub at line 30 of file egdef.h

Referenced by GetSideInfo(), and SetCellData().

#define MAT_ANYTHING   -10

Definition at line 67 of file egdef.h.

View newest version in sPHENIX GitHub at line 67 of file egdef.h

Referenced by CreateBoundary().

#define MAT_BIGGER   -9

Definition at line 66 of file egdef.h.

View newest version in sPHENIX GitHub at line 66 of file egdef.h

Referenced by CreateBoundary().

#define MAT_BOT   -1

Definition at line 68 of file egdef.h.

View newest version in sPHENIX GitHub at line 68 of file egdef.h

#define MAT_FIRSTNUMBER   2

Definition at line 73 of file egdef.h.

View newest version in sPHENIX GitHub at line 73 of file egdef.h

#define MAT_LEFT   -4

Definition at line 71 of file egdef.h.

View newest version in sPHENIX GitHub at line 71 of file egdef.h

#define MAT_MAXNUMBER   50

Definition at line 74 of file egdef.h.

View newest version in sPHENIX GitHub at line 74 of file egdef.h

#define MAT_NOTHING   0

Definition at line 72 of file egdef.h.

View newest version in sPHENIX GitHub at line 72 of file egdef.h

Referenced by InitGrid().

#define MAT_RIGHT   -2

Definition at line 69 of file egdef.h.

View newest version in sPHENIX GitHub at line 69 of file egdef.h

#define MAT_SMALLER   -11

Definition at line 65 of file egdef.h.

View newest version in sPHENIX GitHub at line 65 of file egdef.h

Referenced by CreateBoundary().

#define MAT_TOP   -3

Definition at line 70 of file egdef.h.

View newest version in sPHENIX GitHub at line 70 of file egdef.h

#define MIN (   x,
  y 
)    ( ((x) < (y)) ? (x) : (y) )
#define NEARZERO   1.0e-50

Definition at line 18 of file egdef.h.

View newest version in sPHENIX GitHub at line 18 of file egdef.h

#define NEG (   x)    ((x) < 0.0 ? (x) : 0.0)

Definition at line 85 of file egdef.h.

View newest version in sPHENIX GitHub at line 85 of file egdef.h

#define NUMBER_1D   3

Definition at line 62 of file egdef.h.

View newest version in sPHENIX GitHub at line 62 of file egdef.h

Referenced by ExampleGrid1D(), GetElementCoordinates(), GetElementIndices(), GetKnotIndex(), GetSideInfo(), and SetElementDivision().

#define NUMBER_XY   1

Definition at line 60 of file egdef.h.

View newest version in sPHENIX GitHub at line 60 of file egdef.h

Referenced by ExampleGrid2D(), ExampleGrid3D(), GetElementCoordinates(), GetElementIndex(), GetElementIndices(), GetKnotIndex(), InitGrid(), LoadElmergrid(), SaveElmergrid(), and SetCellKnots().

#define NUMBER_YX   2

Definition at line 61 of file egdef.h.

View newest version in sPHENIX GitHub at line 61 of file egdef.h

Referenced by GetElementCoordinates(), GetElementIndex(), GetElementIndices(), GetKnotIndex(), LoadElmergrid(), SaveElmergrid(), and SetCellKnots().

#define POS (   x)    ((x) > 0.0 ? (x) : 0.0)

Definition at line 84 of file egdef.h.

View newest version in sPHENIX GitHub at line 84 of file egdef.h

#define RAD_TO_DEG (   x)    ((x)*180.0/FM_PI)

Definition at line 86 of file egdef.h.

View newest version in sPHENIX GitHub at line 86 of file egdef.h

#define RIGHT   1

Definition at line 28 of file egdef.h.

View newest version in sPHENIX GitHub at line 28 of file egdef.h

Referenced by GetSideInfo(), and SetCellData().

#define SECOND   1

Definition at line 41 of file egdef.h.

View newest version in sPHENIX GitHub at line 41 of file egdef.h

Referenced by CreateBoundary().

#define SGN (   x)    ( ((x) < 0.) ? (-1) : (((x) > 0.) ? (1) : 0) )

Definition at line 80 of file egdef.h.

View newest version in sPHENIX GitHub at line 80 of file egdef.h

Referenced by LoadElmergrid().

#define SQR (   x)    ((x) * (x))

Definition at line 83 of file egdef.h.

View newest version in sPHENIX GitHub at line 83 of file egdef.h

#define TOPLEFT   3

Definition at line 35 of file egdef.h.

View newest version in sPHENIX GitHub at line 35 of file egdef.h

Referenced by CreatePoints(), GetElementCoordinates(), GetElementIndices(), GetKnotCoordinate(), and SetCellData().

#define TOPRIGHT   2

Definition at line 37 of file egdef.h.

View newest version in sPHENIX GitHub at line 37 of file egdef.h

Referenced by CreatePoints(), GetElementCoordinates(), GetElementIndices(), and SetCellData().

#define TRUE   1

Definition at line 10 of file egdef.h.

View newest version in sPHENIX GitHub at line 10 of file egdef.h

#define UP   2

Definition at line 29 of file egdef.h.

View newest version in sPHENIX GitHub at line 29 of file egdef.h

Referenced by GetSideInfo(), and SetCellData().

#define XAXIS   0

Definition at line 21 of file egdef.h.

View newest version in sPHENIX GitHub at line 21 of file egdef.h

#define YAXIS   1

Definition at line 22 of file egdef.h.

View newest version in sPHENIX GitHub at line 22 of file egdef.h

#define ZAXIS   2

Definition at line 23 of file egdef.h.

View newest version in sPHENIX GitHub at line 23 of file egdef.h

Typedef Documentation

typedef int Integer

Definition at line 9 of file egdef.h.

View newest version in sPHENIX GitHub at line 9 of file egdef.h

typedef double Real

Definition at line 8 of file egdef.h.

View newest version in sPHENIX GitHub at line 8 of file egdef.h