IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 8, 2006, 4:26:44 PM (20 years ago)
Author:
jhoblitt
Message:

normalize psTrace() facility names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psMathUtils.c

    r8232 r8245  
    33 *  This file contains standard math routines.
    44 *
    5  *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2006-08-08 23:32:23 $
     5 *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2006-08-09 02:26:44 $
    77 *
    88 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    5858    long max; \
    5959    long mid; \
    60     psTrace(__func__, 4, "---- %s() begin ----\n", __func__); \
    61     /* psTrace(__func__, 6, "Determining the bin for: %f\n", x); */\
     60    psTrace("psLib.math", 4, "---- %s() begin ----\n", __func__); \
     61    /* psTrace("psLib.math", 6, "Determining the bin for: %f\n", x); */\
    6262    if (value < bounds[0]) { \
    6363        psLogMsg(__func__, PS_LOG_WARN, \
     
    7979        \
    8080        if (value == bounds[mid]) { \
    81             psTrace(__func__, 4, "---- %s(%d) end (1) ----\n", __func__, mid); \
     81            psTrace("psLib.math", 4, "---- %s(%d) end (1) ----\n", __func__, mid); \
    8282            return(mid); \
    8383        } else if (value < bounds[mid]) { \
     
    8888        mid = ((max+1)+min)/2; \
    8989    } \
    90     psTrace(__func__, 4, "---- %s(%d) end (2) ----\n", __func__, min); \
     90    psTrace("psLib.math", 4, "---- %s(%d) end (2) ----\n", __func__, min); \
    9191    return(min); \
    9292}
     
    135135#define VECTOR_INTERPOLATE_CASE(TYPE) \
    136136case PS_TYPE_##TYPE: { \
    137     psTrace(__func__, 4, "---- %s() begin %u-order.) (%d data points) ----\n", __func__, order, order+1); \
     137    psTrace("psLib.math", 4, "---- %s() begin %u-order.) (%d data points) ----\n", __func__, order, order+1); \
    138138    if (x->data.TYPE < domain->data.TYPE[0]) { \
    139139        psLogMsg(__func__, PS_LOG_WARN, "WARNING: x is outside the domain of input data.\n"); \
     
    173173    out->data.TYPE = p->data.TYPE[origin]; \
    174174    psFree(p); \
    175     psTrace(__func__, 4, "---- %s(....) end ----\n", __func__); \
     175    psTrace("psLib.math", 4, "---- %s(....) end ----\n", __func__); \
    176176    return(out); \
    177177}
     
    192192    const psScalar *x)
    193193{
    194     psTrace(__func__, 4, "---- %s() begin ----\n", __func__);
     194    psTrace("psLib.math", 4, "---- %s() begin ----\n", __func__);
    195195    PS_ASSERT_VECTOR_NON_NULL(domain, NULL);
    196196    PS_ASSERT_VECTOR_NON_NULL(range, NULL);
     
    275275{
    276276    PS_ASSERT_VECTOR_NON_NULL(myData, false);
    277     psTrace(__func__, 4, "---- %s() begin ----\n", __func__);
     277    psTrace("psLib.math", 4, "---- %s() begin ----\n", __func__);
    278278
    279279    switch (myData->type.type) {
     
    295295        }
    296296    }
    297     psTrace(__func__, 4, "---- %s() end ----\n", __func__);
     297    psTrace("psLib.math", 4, "---- %s() end ----\n", __func__);
    298298    return true;
    299299}
Note: See TracChangeset for help on using the changeset viewer.