Changeset 7451


Ignore:
Timestamp:
06/01/18 15:09:25 (4 months ago)
Author:
baker
Message:

remove #ifdef USE_LOGIT's

Location:
trunk/src/seismic_processing/rayloc_ew
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/seismic_processing/rayloc_ew/makefile.nt

    r7448 r7451  
    7373 
    7474.c.obj: 
    75         $(CC) $(GLOBALFLAGS) /nologo /DUSE_LOGIT \ 
     75        $(CC) $(GLOBALFLAGS) /nologo \ 
    7676                $(cflags) $(cdebug) $(cvarsmt) $(tflags) $< 
    7777 
  • trunk/src/seismic_processing/rayloc_ew/makefile.unix

    r7448 r7451  
    66SOLARIS_FLAGS = -lm -lposix4 
    77SPECIFIC_FLAGS = $($(PLATFORM)_FLAGS) 
    8  
    9 CPPFLAGS += -DUSE_LOGIT 
    108 
    119SOLARIS_FFLAGS = -f77=tab 
  • trunk/src/seismic_processing/rayloc_ew/rayloc1.c

    r7448 r7451  
    220220                char *rayLocMessage = NULL; 
    221221                unsigned int mes_length; 
    222 #ifdef USE_LOGIT 
    223222                int i; 
    224 #endif 
    225223 
    226224                RAYLOC_MESSAGE_HEADER_STRUCT *p_struct = NULL; 
     
    230228                if(retVal != GLOBAL_MSG_SUCCESS) 
    231229                { 
    232 #ifdef USE_LOGIT 
    233230                        logit("pt", "lib_rayloc: Failed to convert Input Message into structure\n"); 
    234 #endif 
    235231                        return RAYLOC_FAILED; 
    236232                } 
     
    238234 
    239235                sprintf(rayloc_in_fname, "%s/RayLocInput%s.txt", dirname, token); 
    240 #ifdef USE_LOGIT 
    241236                        logit("pt", "lib_rayloc: Processing event ID %ld (origin ID %ld) ; lat = %f; lon = %f; depth = %f\n", 
    242237                             p_loc.event_id, p_loc.origin_id, p_loc.lat, p_loc.lon, p_loc.depth); 
    243 #endif 
    244238                retVal = rayloc_msg_to_rayloc_input(&p_loc, unused_list, flags, rayloc_in_fname, stns); 
    245239                if(retVal != RAYLOC_SUCCESS) 
    246240                { 
    247 #ifdef USE_LOGIT 
    248241                        logit("pt", "lib_rayloc: Failed to write Input Structure to the file %s\n", rayloc_in_fname); 
    249 #endif 
    250242                        return retVal; 
    251243                } 
    252 #ifdef USE_LOGIT 
    253244                        logit("pt", "lib_rayloc: Wrote Input Structure to the file %s\n", rayloc_in_fname); 
    254 #endif 
    255245 
    256246                retVal = lib_rayloc_stub(token, dirname); 
    257247                if(retVal != RAYLOC_SUCCESS) 
    258248                { 
    259 #ifdef USE_LOGIT 
    260249                        logit("pt", "lib_rayloc: Failed to run RAYLOC FORTRAN CODE: retVal = %d\n", retVal); 
    261 #endif 
    262250                        return retVal; 
    263251                } 
     
    275263                if (retVal != RAYLOC_MSG_SUCCESS) 
    276264                { 
    277 #ifdef USE_LOGIT 
    278265                        logit("pt", "lib_rayloc: Failed to interpret RAYLOC output from file %s\n", rayloc_out_fname); 
    279 #endif 
    280266                        return retVal; 
    281267                } 
    282268 
    283 #ifdef USE_LOGIT 
    284269                logit("pt", "lib_rayloc: Processed RAYLOC output from file %s\n", rayloc_out_fname); 
    285270                logit("pt", "lib_rayloc: OUTPUT TYPE_RAYLOC message contains:\n"); 
     
    302287                             (p_struct->picks[0])->residual ); 
    303288                } 
    304 #endif 
    305289                rayLocMessage = rayloc_WriteRaylocHeaderBuffer(p_struct, &mes_length, &retVal); 
    306290                if (*out_message) 
Note: See TracChangeset for help on using the changeset viewer.