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

Go to the source code of this file.

Classes

struct  MgridCell
 
struct  MgridCombiCell
 
class  MgridInterpolation
 

Macros

#define _NO_INTERPOLATION_   0
 
#define _SEQUENTIAL_FAST_INTERPOLATION_   1
 
#define _SEQUENTIAL_HIGH_INTERPOLATION_   2
 
#define _SEQUENTIAL_HIGH_FITTING_   3
 
#define _MULTI_DIM_INTERPOLATION_   4
 
#define _MULTI_DIM_FITTING_   5
 
#define _CELL_DATA_DIM_MAX_   10
 
#define _CELL_DATA_   0x01
 
#define _CELL_PROPERTIES_   0x02
 
#define _FIELD_COMPONENT_VALUES_   0x01
 
#define _FIELD_COMPONENT_ERRORS_   0x02
 
#define _FIT_CHI_SQUARE_   0x04
 
#define _CELL_COORDINATES_   0x08
 
#define _FIELD_GRADIENTS_   0x10
 
#define _1D_FIELD_ERRORS_   0x20
 
#define _3D_FIELD_ERRORS_   0x40
 
#define _MAX_KNOWN_CELL_CONTENTS_BIT_   7
 
#define _SAFE_CELL_   0x01
 
#define _EDGE_CELL_   0x02
 
#define _EXTRA_CELL_   0x04
 
#define _DEAD_CELL_   0x08
 
#define _SPLIT_OFF_   0
 
#define _SPLIT_ON_   1
 
#define _BAD_MGRID_POINTER_   0x00000100
 
#define _ZERO_INTERPOLATION_POINTER_   0x00000200
 
#define _CELL_OUT_OF_GRID_   0x00000400
 
#define _ILLEGAL_SELF_CELL_   0x00000800
 
#define _CUBE_SHIFT_   0x00001000
 
#define _CUBE_FAILURE_   0x00002000
 
#define _ILLEGAL_NEIGHBOUR_CELL_   0x00004000
 
#define _FAILURE_(mgrid, bit)   {(mgrid)->last_field_status |= (bit); return -1; }
 

Typedefs

typedef double(* interfun )(double xx, double coord[], double value[])
 

Macro Definition Documentation

#define _1D_FIELD_ERRORS_   0x20

Definition at line 93 of file MgridInterpolation.h.

View newest version in sPHENIX GitHub at line 93 of file MgridInterpolation.h

Referenced by Mgrid::initializeAsSingleMgrid().

#define _3D_FIELD_ERRORS_   0x40

Definition at line 94 of file MgridInterpolation.h.

View newest version in sPHENIX GitHub at line 94 of file MgridInterpolation.h

Referenced by Mgrid::initializeAsSingleMgrid().

#define _BAD_MGRID_POINTER_   0x00000100

Definition at line 251 of file MgridInterpolation.h.

View newest version in sPHENIX GitHub at line 251 of file MgridInterpolation.h

Referenced by Mgrid::getFieldValue().

#define _CELL_COORDINATES_   0x08

Definition at line 91 of file MgridInterpolation.h.

View newest version in sPHENIX GitHub at line 91 of file MgridInterpolation.h

Referenced by Mgrid::initializeAsSingleMgrid().

#define _CELL_DATA_   0x01

Definition at line 81 of file MgridInterpolation.h.

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

Referenced by Mgrid::exportCore(), and Mgrid::Mgrid().

#define _CELL_DATA_DIM_MAX_   10

Definition at line 59 of file MgridInterpolation.h.

View newest version in sPHENIX GitHub at line 59 of file MgridInterpolation.h

Referenced by import_ascii_field_map(), and Mgrid::initializeAsSingleMgrid().

#define _CELL_OUT_OF_GRID_   0x00000400

Definition at line 253 of file MgridInterpolation.h.

View newest version in sPHENIX GitHub at line 253 of file MgridInterpolation.h

Referenced by Mgrid::findSelfCell().

#define _CELL_PROPERTIES_   0x02

Definition at line 84 of file MgridInterpolation.h.

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

Referenced by Mgrid::exportCore(), and Mgrid::Mgrid().

#define _CUBE_FAILURE_   0x00002000

Definition at line 259 of file MgridInterpolation.h.

View newest version in sPHENIX GitHub at line 259 of file MgridInterpolation.h

Referenced by MgridInterpolation::checkNeighbouringCubicArea(), and Mgrid::directFieldValue().

#define _CUBE_SHIFT_   0x00001000

Definition at line 257 of file MgridInterpolation.h.

View newest version in sPHENIX GitHub at line 257 of file MgridInterpolation.h

Referenced by MgridInterpolation::checkNeighbouringCubicArea().

#define _DEAD_CELL_   0x08

Definition at line 120 of file MgridInterpolation.h.

View newest version in sPHENIX GitHub at line 120 of file MgridInterpolation.h

Referenced by MgridInterpolation::fillOkArray(), Mgrid::initializeAsSingleMgrid(), and MgridInterpolation::setAllowedCells().

#define _EDGE_CELL_   0x02

Definition at line 112 of file MgridInterpolation.h.

View newest version in sPHENIX GitHub at line 112 of file MgridInterpolation.h

Referenced by MgridInterpolation::MgridInterpolation().

#define _EXTRA_CELL_   0x04

Definition at line 118 of file MgridInterpolation.h.

View newest version in sPHENIX GitHub at line 118 of file MgridInterpolation.h

#define _FAILURE_ (   mgrid,
  bit 
)    {(mgrid)->last_field_status |= (bit); return -1; }

Definition at line 263 of file MgridInterpolation.h.

View newest version in sPHENIX GitHub at line 263 of file MgridInterpolation.h

Referenced by MgridInterpolation::checkNeighbouringCubicArea(), Mgrid::directFieldValue(), Mgrid::findSelfCell(), and Mgrid::getFieldValue().

#define _FIELD_COMPONENT_ERRORS_   0x02

Definition at line 89 of file MgridInterpolation.h.

View newest version in sPHENIX GitHub at line 89 of file MgridInterpolation.h

Referenced by Mgrid::initializeAsSingleMgrid().

#define _FIELD_COMPONENT_VALUES_   0x01
#define _FIELD_GRADIENTS_   0x10

Definition at line 92 of file MgridInterpolation.h.

View newest version in sPHENIX GitHub at line 92 of file MgridInterpolation.h

Referenced by Mgrid::initializeAsSingleMgrid().

#define _FIT_CHI_SQUARE_   0x04

Definition at line 90 of file MgridInterpolation.h.

View newest version in sPHENIX GitHub at line 90 of file MgridInterpolation.h

Referenced by Mgrid::initializeAsSingleMgrid().

#define _ILLEGAL_NEIGHBOUR_CELL_   0x00004000

Definition at line 261 of file MgridInterpolation.h.

View newest version in sPHENIX GitHub at line 261 of file MgridInterpolation.h

#define _ILLEGAL_SELF_CELL_   0x00000800

Definition at line 255 of file MgridInterpolation.h.

View newest version in sPHENIX GitHub at line 255 of file MgridInterpolation.h

Referenced by Mgrid::directFieldValue().

#define _MAX_KNOWN_CELL_CONTENTS_BIT_   7

Definition at line 96 of file MgridInterpolation.h.

View newest version in sPHENIX GitHub at line 96 of file MgridInterpolation.h

Referenced by create_single_mgrid_header().

#define _MULTI_DIM_FITTING_   5
#define _MULTI_DIM_INTERPOLATION_   4
#define _NO_INTERPOLATION_   0

Definition at line 16 of file MgridInterpolation.h.

View newest version in sPHENIX GitHub at line 16 of file MgridInterpolation.h

Referenced by Mgrid::cookInterpolation(), Mgrid::cookInterpolationOff(), Mgrid::directFieldValue(), and Mgrid::turnInterpolationOff().

#define _SAFE_CELL_   0x01

Definition at line 108 of file MgridInterpolation.h.

View newest version in sPHENIX GitHub at line 108 of file MgridInterpolation.h

Referenced by Mgrid::markCellAsSafe(), Mgrid::Mgrid(), and MgridInterpolation::MgridInterpolation().

#define _SEQUENTIAL_HIGH_FITTING_   3

Definition at line 38 of file MgridInterpolation.h.

View newest version in sPHENIX GitHub at line 38 of file MgridInterpolation.h

Referenced by Mgrid::cookInterpolation(), Mgrid::cookSequentialHighFitting(), Mgrid::directFieldValue(), and Mgrid::setFittingMode().

#define _SEQUENTIAL_HIGH_INTERPOLATION_   2

Definition at line 24 of file MgridInterpolation.h.

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

Referenced by Mgrid::cookInterpolation(), Mgrid::cookSequentialHighInterpolation(), Mgrid::directFieldValue(), and Mgrid::setInterpolationMode().

#define _SPLIT_OFF_   0

Definition at line 128 of file MgridInterpolation.h.

View newest version in sPHENIX GitHub at line 128 of file MgridInterpolation.h

Referenced by import_ascii_field_map().

#define _SPLIT_ON_   1

Definition at line 129 of file MgridInterpolation.h.

View newest version in sPHENIX GitHub at line 129 of file MgridInterpolation.h

Referenced by convert_cell_list_to_mgrid().

#define _ZERO_INTERPOLATION_POINTER_   0x00000200

Definition at line 252 of file MgridInterpolation.h.

View newest version in sPHENIX GitHub at line 252 of file MgridInterpolation.h

Referenced by Mgrid::directFieldValue().

Typedef Documentation

typedef double(* interfun)(double xx, double coord[], double value[])

Definition at line 13 of file MgridInterpolation.h.

View newest version in sPHENIX GitHub at line 13 of file MgridInterpolation.h