Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
함수 | 변수
ptwXY_core.cc 파일 참조
#include <stdio.h>
#include <stdlib.h>
#include <cmath>
#include "ptwXY.h"

이 파일의 소스 코드 페이지로 가기

함수

static void ptwXY_initialOverflowPoint (ptwXYOverflowPoint *overflowPoint, ptwXYOverflowPoint *prior, ptwXYOverflowPoint *next)
 
static nfu_status ptwXY_mergeFrom (ptwXYPoints *ptwXY, int incY, int length, double *xs, double *ys)
 
static int ptwXY_mergeCompareFunction (void const *x1p, void const *x2p)
 
ptwXYPointsptwXY_new (ptwXY_interpolation interpolation, ptwXY_interpolationOtherInfo const *interpolationOtherInfo, double biSectionMax, double accuracy, int64_t primarySize, int64_t secondarySize, nfu_status *status, int userFlag)
 
nfu_status ptwXY_setup (ptwXYPoints *ptwXY, ptwXY_interpolation interpolation, ptwXY_interpolationOtherInfo const *interpolationOtherInfo, double biSectionMax, double accuracy, int64_t primarySize, int64_t secondarySize, int userFlag)
 
ptwXYPointsptwXY_create (ptwXY_interpolation interpolation, ptwXY_interpolationOtherInfo const *interpolationOtherInfo, double biSectionMax, double accuracy, int64_t primarySize, int64_t secondarySize, int64_t length, double const *xy, nfu_status *status, int userFlag)
 
ptwXYPointsptwXY_createFrom_Xs_Ys (ptwXY_interpolation interpolation, ptwXY_interpolationOtherInfo const *interpolationOtherInfo, double biSectionMax, double accuracy, int64_t primarySize, int64_t secondarySize, int64_t length, double const *Xs, double const *Ys, nfu_status *status, int userFlag)
 
nfu_status ptwXY_copy (ptwXYPoints *dest, ptwXYPoints *src)
 
ptwXYPointsptwXY_clone (ptwXYPoints *ptwXY, nfu_status *status)
 
ptwXYPointsptwXY_cloneToInterpolation (ptwXYPoints *ptwXY, ptwXY_interpolation interpolationTo, nfu_status *status)
 
ptwXYPointsptwXY_slice (ptwXYPoints *ptwXY, int64_t index1, int64_t index2, int64_t secondarySize, nfu_status *status)
 
ptwXYPointsptwXY_xSlice (ptwXYPoints *ptwXY, double xMin, double xMax, int64_t secondarySize, int fill, nfu_status *status)
 
ptwXYPointsptwXY_xMinSlice (ptwXYPoints *ptwXY, double xMin, int64_t secondarySize, int fill, nfu_status *status)
 
ptwXYPointsptwXY_xMaxSlice (ptwXYPoints *ptwXY, double xMax, int64_t secondarySize, int fill, nfu_status *status)
 
ptwXY_interpolation ptwXY_getInterpolation (ptwXYPoints *ptwXY)
 
char const * ptwXY_getInterpolationString (ptwXYPoints *ptwXY)
 
nfu_status ptwXY_getStatus (ptwXYPoints *ptwXY)
 
int ptwXY_getUserFlag (ptwXYPoints *ptwXY)
 
void ptwXY_setUserFlag (ptwXYPoints *ptwXY, int userFlag)
 
double ptwXY_getAccuracy (ptwXYPoints *ptwXY)
 
double ptwXY_setAccuracy (ptwXYPoints *ptwXY, double accuracy)
 
double ptwXY_getBiSectionMax (ptwXYPoints *ptwXY)
 
double ptwXY_setBiSectionMax (ptwXYPoints *ptwXY, double biSectionMax)
 
nfu_status ptwXY_reallocatePoints (ptwXYPoints *ptwXY, int64_t size, int forceSmallerResize)
 
nfu_status ptwXY_reallocateOverflowPoints (ptwXYPoints *ptwXY, int64_t size)
 
nfu_status ptwXY_coalescePoints (ptwXYPoints *ptwXY, int64_t size, ptwXYPoint *newPoint, int forceSmallerResize)
 
nfu_status ptwXY_simpleCoalescePoints (ptwXYPoints *ptwXY)
 
nfu_status ptwXY_clear (ptwXYPoints *ptwXY)
 
nfu_status ptwXY_release (ptwXYPoints *ptwXY)
 
ptwXYPointsptwXY_free (ptwXYPoints *ptwXY)
 
int64_t ptwXY_length (ptwXYPoints *ptwXY)
 
int64_t ptwXY_getNonOverflowLength (ptwXYPoints const *ptwXY)
 
nfu_status ptwXY_setXYData (ptwXYPoints *ptwXY, int64_t length, double const *xy)
 
nfu_status ptwXY_setXYDataFromXsAndYs (ptwXYPoints *ptwXY, int64_t length, double const *x, double const *y)
 
nfu_status ptwXY_deletePoints (ptwXYPoints *ptwXY, int64_t i1, int64_t i2)
 
ptwXYPointptwXY_getPointAtIndex (ptwXYPoints *ptwXY, int64_t index)
 
ptwXYPointptwXY_getPointAtIndex_Unsafely (ptwXYPoints *ptwXY, int64_t index)
 
nfu_status ptwXY_getXYPairAtIndex (ptwXYPoints *ptwXY, int64_t index, double *x, double *y)
 
ptwXY_lessEqualGreaterX ptwXY_getPointsAroundX (ptwXYPoints *ptwXY, double x, ptwXYOverflowPoint *lessThanEqualXPoint, ptwXYOverflowPoint *greaterThanXPoint)
 
ptwXY_lessEqualGreaterX ptwXY_getPointsAroundX_closeIsEqual (ptwXYPoints *ptwXY, double x, ptwXYOverflowPoint *lessThanEqualXPoint, ptwXYOverflowPoint *greaterThanXPoint, double eps, int *closeIsEqual, ptwXYPoint **closePoint)
 
nfu_status ptwXY_getValueAtX (ptwXYPoints *ptwXY, double x, double *y)
 
nfu_status ptwXY_setValueAtX (ptwXYPoints *ptwXY, double x, double y)
 
nfu_status ptwXY_setValueAtX_overrideIfClose (ptwXYPoints *ptwXY, double x, double y, double eps, int override)
 
nfu_status ptwXY_mergeFromXsAndYs (ptwXYPoints *ptwXY, int length, double *xs, double *ys)
 
nfu_status ptwXY_mergeFromXYs (ptwXYPoints *ptwXY, int length, double *xys)
 
nfu_status ptwXY_appendXY (ptwXYPoints *ptwXY, double x, double y)
 
nfu_status ptwXY_setXYPairAtIndex (ptwXYPoints *ptwXY, int64_t index, double x, double y)
 
nfu_status ptwXY_getSlopeAtX (ptwXYPoints *ptwXY, double x, const char side, double *slope)
 
double ptwXY_getXMinAndFrom (ptwXYPoints *ptwXY, ptwXY_dataFrom *dataFrom)
 
double ptwXY_getXMin (ptwXYPoints *ptwXY)
 
double ptwXY_getXMaxAndFrom (ptwXYPoints *ptwXY, ptwXY_dataFrom *dataFrom)
 
double ptwXY_getXMax (ptwXYPoints *ptwXY)
 
double ptwXY_getYMin (ptwXYPoints *ptwXY)
 
double ptwXY_getYMax (ptwXYPoints *ptwXY)
 

변수

static char const linLinInterpolationString [] = "linear,linear"
 
static char const linLogInterpolationString [] = "linear,log"
 
static char const logLinInterpolationString [] = "log,linear"
 
static char const logLogInterpolationString [] = "log,log"
 
static char const flatInterpolationString [] = "flat"
 

함수 문서화

nfu_status ptwXY_appendXY ( ptwXYPoints ptwXY,
double  x,
double  y 
)
nfu_status ptwXY_clear ( ptwXYPoints ptwXY)
ptwXYPoints* ptwXY_clone ( ptwXYPoints ptwXY,
nfu_status status 
)
ptwXYPoints* ptwXY_cloneToInterpolation ( ptwXYPoints ptwXY,
ptwXY_interpolation  interpolationTo,
nfu_status status 
)
nfu_status ptwXY_coalescePoints ( ptwXYPoints ptwXY,
int64_t  size,
ptwXYPoint newPoint,
int  forceSmallerResize 
)
nfu_status ptwXY_copy ( ptwXYPoints dest,
ptwXYPoints src 
)
ptwXYPoints* ptwXY_create ( ptwXY_interpolation  interpolation,
ptwXY_interpolationOtherInfo const *  interpolationOtherInfo,
double  biSectionMax,
double  accuracy,
int64_t  primarySize,
int64_t  secondarySize,
int64_t  length,
double const *  xy,
nfu_status status,
int  userFlag 
)

ptwXY_core.cc 파일의 108 번째 라인에서 정의되었습니다.

다음을 참조함 : nfu_Okay, ptwXY_free(), ptwXY_new(), ptwXY_setXYData().

다음에 의해서 참조됨 : MCGIDI_misc_Data2ptwXYPointsInUnitsOf(), MCGIDI_target_heated_read(), ptwXY_fromString().

ptwXYPoints* ptwXY_createFrom_Xs_Ys ( ptwXY_interpolation  interpolation,
ptwXY_interpolationOtherInfo const *  interpolationOtherInfo,
double  biSectionMax,
double  accuracy,
int64_t  primarySize,
int64_t  secondarySize,
int64_t  length,
double const *  Xs,
double const *  Ys,
nfu_status status,
int  userFlag 
)

ptwXY_core.cc 파일의 126 번째 라인에서 정의되었습니다.

다음을 참조함 : ptwXYPoints_s::length, ptwXYPoints_s::points, ptwXY_new(), ptwXYPoint_s::x, ptwXYPoint_s::y.

nfu_status ptwXY_deletePoints ( ptwXYPoints ptwXY,
int64_t  i1,
int64_t  i2 
)

ptwXY_core.cc 파일의 660 번째 라인에서 정의되었습니다.

다음을 참조함 : ptwXYPoints_s::length, n, nfu_badIndex, nfu_Okay, ptwXYPoints_s::points, ptwXY_simpleCoalescePoints(), ptwXYPoints_s::status.

ptwXYPoints* ptwXY_free ( ptwXYPoints ptwXY)

ptwXY_core.cc 파일의 574 번째 라인에서 정의되었습니다.

다음을 참조함 : nfu_free(), ptwXY_release().

다음에 의해서 참조됨 : GIDI_settings_processedFlux::GIDI_settings_processedFlux(), GIDI_settings_processedFlux::groupFunction(), MCGIDI_angular_parseFromTOM(), MCGIDI_angularEnergy_parsePointwiseFromTOM(), MCGIDI_energy_parseGeneralEvaporationFromTOM(), MCGIDI_energy_parseMadlandNixFromTOM(), MCGIDI_energy_parseNBodyPhaseSpaceFromTOM(), MCGIDI_energy_parseWeightFromTOM(), MCGIDI_energy_release(), MCGIDI_energyAngular_linear_parseFromTOM(), MCGIDI_fromTOM_pdfsOfXGivenW(), MCGIDI_KalbachMann_parseFromTOM2(), MCGIDI_LLNL_angularEnergy_parsePointwiseFromTOM(), MCGIDI_misc_Data2ptwXYPointsInUnitsOf(), MCGIDI_product_parseFromTOM(), MCGIDI_product_parsePolynomialMultiplicity(), MCGIDI_product_parseWeightedReferenceMultiplicityFromTOM(), MCGIDI_product_release(), MCGIDI_reaction_release(), MCGIDI_target_heated_read(), MCGIDI_target_heated_release(), ptwXY_binary_ptwXY(), ptwXY_clip(), ptwXY_convolution(), ptwXY_create(), ptwXY_createFromFunction(), ptwXY_createGaussian(), ptwXY_createGaussianCenteredSigma1(), ptwXY_div_ptwXY(), ptwXY_div_ptwXY_forFlats(), ptwXY_flatInterpolationToLinear(), ptwXY_groupOneFunction(), ptwXY_groupThreeFunctions(), ptwXY_groupTwoFunctions(), ptwXY_intersectionWith_ptwX(), ptwXY_mul2_ptwXY(), ptwXY_sub_ptwXY(), ptwXY_thin(), ptwXY_toOtherInterpolation(), ptwXY_union(), ptwXY_unitbaseInterpolate(), ptwXY_xSlice(), GIDI_settings_processedFlux::~GIDI_settings_processedFlux().

double ptwXY_getAccuracy ( ptwXYPoints ptwXY)

ptwXY_core.cc 파일의 372 번째 라인에서 정의되었습니다.

다음을 참조함 : ptwXYPoints_s::accuracy.

double ptwXY_getBiSectionMax ( ptwXYPoints ptwXY)

ptwXY_core.cc 파일의 390 번째 라인에서 정의되었습니다.

다음을 참조함 : ptwXYPoints_s::biSectionMax.

ptwXY_interpolation ptwXY_getInterpolation ( ptwXYPoints ptwXY)

ptwXY_core.cc 파일의 337 번째 라인에서 정의되었습니다.

다음을 참조함 : ptwXYPoints_s::interpolation.

다음에 의해서 참조됨 : MCGIDI_energy_parseGeneralEvaporationFromTOM().

char const* ptwXY_getInterpolationString ( ptwXYPoints ptwXY)

ptwXY_core.cc 파일의 344 번째 라인에서 정의되었습니다.

다음을 참조함 : ptwXYPoints_s::interpolationOtherInfo, ptwXY_interpolationOtherInfo::interpolationString.

int64_t ptwXY_getNonOverflowLength ( ptwXYPoints const *  ptwXY)
ptwXYPoint* ptwXY_getPointAtIndex ( ptwXYPoints ptwXY,
int64_t  index 
)

ptwXY_core.cc 파일의 675 번째 라인에서 정의되었습니다.

다음을 참조함 : ptwXYPoints_s::length, nfu_Okay, ptwXY_getPointAtIndex_Unsafely(), ptwXYPoints_s::status.

다음에 의해서 참조됨 : ptwXY_getXYPairAtIndex(), ptwXY_showInteralStructure(), ptwXY_simpleWrite().

ptwXYPoint* ptwXY_getPointAtIndex_Unsafely ( ptwXYPoints ptwXY,
int64_t  index 
)
ptwXY_lessEqualGreaterX ptwXY_getPointsAroundX ( ptwXYPoints ptwXY,
double  x,
ptwXYOverflowPoint lessThanEqualXPoint,
ptwXYOverflowPoint greaterThanXPoint 
)

ptwXY_core.cc 파일의 710 번째 라인에서 정의되었습니다.

다음을 참조함 : ptwXY_getPointsAroundX_closeIsEqual().

다음에 의해서 참조됨 : ptwXY_convolution2(), ptwXY_getSlopeAtX(), ptwXY_getValueAtX().

ptwXY_lessEqualGreaterX ptwXY_getPointsAroundX_closeIsEqual ( ptwXYPoints ptwXY,
double  x,
ptwXYOverflowPoint lessThanEqualXPoint,
ptwXYOverflowPoint greaterThanXPoint,
double  eps,
int closeIsEqual,
ptwXYPoint **  closePoint 
)
nfu_status ptwXY_getSlopeAtX ( ptwXYPoints ptwXY,
double  x,
const char  side,
double *  slope 
)
nfu_status ptwXY_getStatus ( ptwXYPoints ptwXY)

ptwXY_core.cc 파일의 351 번째 라인에서 정의되었습니다.

다음을 참조함 : ptwXYPoints_s::status.

다음에 의해서 참조됨 : nf_Legendre_from_ptwXY().

int ptwXY_getUserFlag ( ptwXYPoints ptwXY)

ptwXY_core.cc 파일의 358 번째 라인에서 정의되었습니다.

다음을 참조함 : ptwXYPoints_s::userFlag.

nfu_status ptwXY_getValueAtX ( ptwXYPoints ptwXY,
double  x,
double *  y 
)
double ptwXY_getXMax ( ptwXYPoints ptwXY)
double ptwXY_getXMaxAndFrom ( ptwXYPoints ptwXY,
ptwXY_dataFrom dataFrom 
)
double ptwXY_getXMin ( ptwXYPoints ptwXY)
double ptwXY_getXMinAndFrom ( ptwXYPoints ptwXY,
ptwXY_dataFrom dataFrom 
)
nfu_status ptwXY_getXYPairAtIndex ( ptwXYPoints ptwXY,
int64_t  index,
double *  x,
double *  y 
)

ptwXY_core.cc 파일의 698 번째 라인에서 정의되었습니다.

다음을 참조함 : nfu_badIndex, nfu_Okay, ptwXY_getPointAtIndex(), ptwXYPoint_s::x, ptwXYPoint_s::y.

다음에 의해서 참조됨 : MCGIDI_energy_parseMadlandNixFromTOM(), nf_Legendre_from_ptwXY().

double ptwXY_getYMax ( ptwXYPoints ptwXY)
double ptwXY_getYMin ( ptwXYPoints ptwXY)
static void ptwXY_initialOverflowPoint ( ptwXYOverflowPoint overflowPoint,
ptwXYOverflowPoint prior,
ptwXYOverflowPoint next 
)
static
int64_t ptwXY_length ( ptwXYPoints ptwXY)
static int ptwXY_mergeCompareFunction ( void const *  x1p,
void const *  x2p 
)
static

ptwXY_core.cc 파일의 1051 번째 라인에서 정의되었습니다.

다음을 참조함 : d1, d2.

다음에 의해서 참조됨 : ptwXY_mergeFrom().

static nfu_status ptwXY_mergeFrom ( ptwXYPoints ptwXY,
int  incY,
int  length,
double *  xs,
double *  ys 
)
static
nfu_status ptwXY_mergeFromXsAndYs ( ptwXYPoints ptwXY,
int  length,
double *  xs,
double *  ys 
)

ptwXY_core.cc 파일의 966 번째 라인에서 정의되었습니다.

다음을 참조함 : ptwXY_mergeFrom().

nfu_status ptwXY_mergeFromXYs ( ptwXYPoints ptwXY,
int  length,
double *  xys 
)

ptwXY_core.cc 파일의 973 번째 라인에서 정의되었습니다.

다음을 참조함 : nfu_badInput, nfu_free(), nfu_malloc(), nfu_mallocError, nfu_Okay, ptwXY_mergeFrom().

ptwXYPoints* ptwXY_new ( ptwXY_interpolation  interpolation,
ptwXY_interpolationOtherInfo const *  interpolationOtherInfo,
double  biSectionMax,
double  accuracy,
int64_t  primarySize,
int64_t  secondarySize,
nfu_status status,
int  userFlag 
)
nfu_status ptwXY_reallocateOverflowPoints ( ptwXYPoints ptwXY,
int64_t  size 
)
nfu_status ptwXY_reallocatePoints ( ptwXYPoints ptwXY,
int64_t  size,
int  forceSmallerResize 
)
nfu_status ptwXY_release ( ptwXYPoints ptwXY)
double ptwXY_setAccuracy ( ptwXYPoints ptwXY,
double  accuracy 
)

ptwXY_core.cc 파일의 379 번째 라인에서 정의되었습니다.

다음을 참조함 : ptwXYPoints_s::accuracy, ptwXY_minAccuracy.

다음에 의해서 참조됨 : ptwXY_setup().

double ptwXY_setBiSectionMax ( ptwXYPoints ptwXY,
double  biSectionMax 
)

ptwXY_core.cc 파일의 397 번째 라인에서 정의되었습니다.

다음을 참조함 : ptwXYPoints_s::biSectionMax, ptwXY_maxBiSectionMax.

다음에 의해서 참조됨 : ptwXY_setup().

nfu_status ptwXY_setup ( ptwXYPoints ptwXY,
ptwXY_interpolation  interpolation,
ptwXY_interpolationOtherInfo const *  interpolationOtherInfo,
double  biSectionMax,
double  accuracy,
int64_t  primarySize,
int64_t  secondarySize,
int  userFlag 
)
void ptwXY_setUserFlag ( ptwXYPoints ptwXY,
int  userFlag 
)

ptwXY_core.cc 파일의 365 번째 라인에서 정의되었습니다.

다음을 참조함 : ptwXYPoints_s::userFlag.

다음에 의해서 참조됨 : ptwXY_setup().

nfu_status ptwXY_setValueAtX ( ptwXYPoints ptwXY,
double  x,
double  y 
)
nfu_status ptwXY_setValueAtX_overrideIfClose ( ptwXYPoints ptwXY,
double  x,
double  y,
double  eps,
int  override 
)
nfu_status ptwXY_setXYData ( ptwXYPoints ptwXY,
int64_t  length,
double const *  xy 
)
nfu_status ptwXY_setXYDataFromXsAndYs ( ptwXYPoints ptwXY,
int64_t  length,
double const *  x,
double const *  y 
)
nfu_status ptwXY_setXYPairAtIndex ( ptwXYPoints ptwXY,
int64_t  index,
double  x,
double  y 
)
nfu_status ptwXY_simpleCoalescePoints ( ptwXYPoints ptwXY)
ptwXYPoints* ptwXY_slice ( ptwXYPoints ptwXY,
int64_t  index1,
int64_t  index2,
int64_t  secondarySize,
nfu_status status 
)
ptwXYPoints* ptwXY_xMaxSlice ( ptwXYPoints ptwXY,
double  xMax,
int64_t  secondarySize,
int  fill,
nfu_status status 
)

ptwXY_core.cc 파일의 326 번째 라인에서 정의되었습니다.

다음을 참조함 : ptwXYPoints_s::length, ptwXY_getXMin(), ptwXY_xSlice().

ptwXYPoints* ptwXY_xMinSlice ( ptwXYPoints ptwXY,
double  xMin,
int64_t  secondarySize,
int  fill,
nfu_status status 
)

ptwXY_core.cc 파일의 315 번째 라인에서 정의되었습니다.

다음을 참조함 : ptwXYPoints_s::length, ptwXY_getXMax(), ptwXY_xSlice().

ptwXYPoints* ptwXY_xSlice ( ptwXYPoints ptwXY,
double  xMin,
double  xMax,
int64_t  secondarySize,
int  fill,
nfu_status status 
)

변수 문서화

char const flatInterpolationString[] = "flat"
static

ptwXY_core.cc 파일의 21 번째 라인에서 정의되었습니다.

다음에 의해서 참조됨 : ptwXY_cloneToInterpolation(), ptwXY_setup().

char const linLinInterpolationString[] = "linear,linear"
static

ptwXY_core.cc 파일의 17 번째 라인에서 정의되었습니다.

다음에 의해서 참조됨 : ptwXY_cloneToInterpolation(), ptwXY_setup().

char const linLogInterpolationString[] = "linear,log"
static

ptwXY_core.cc 파일의 18 번째 라인에서 정의되었습니다.

다음에 의해서 참조됨 : ptwXY_cloneToInterpolation(), ptwXY_setup().

char const logLinInterpolationString[] = "log,linear"
static

ptwXY_core.cc 파일의 19 번째 라인에서 정의되었습니다.

다음에 의해서 참조됨 : ptwXY_cloneToInterpolation(), ptwXY_setup().

char const logLogInterpolationString[] = "log,log"
static

ptwXY_core.cc 파일의 20 번째 라인에서 정의되었습니다.

다음에 의해서 참조됨 : ptwXY_cloneToInterpolation(), ptwXY_setup().