third_party/inchi/INCHI_BASE/src/runichi3.c
void OAD_Polymer_DebugTrace( OAD_Polymer *p )
{
    int i;

    if (!p)
    {
        return;
    }

    ITRACE_( "\n\n* POLYMER INFO @ %-p (%-d group(s))", p, p->n );
    ITRACE_( "\n\n* %-d star atoms: ", p->n_pzz );
    for (i = 0; i < p->n_pzz; i++)
    {
        ITRACE_( " %-d", p->pzz[i] );
    }

    for (i = 0; i < p->n; i++)
    {
        ITRACE_( "\n* Polymer unit %-d", i );
        OAD_PolymerUnit_DebugTrace( p->units[i] );
    }
    ITRACE_( "\n* Really-do-PS = %-d", p->really_do_frame_shift );
    ITRACE_( "\n* Frame_shift_scheme = %-d", p->frame_shift_scheme );
    ITRACE_( "\n* Edit-repeats = %-d", p->edit_repeats );
    ITRACE_( "\n* End POLYMER INFO\n" );
    return;

}
/****************************************************************************
 Debug print the whole polymer data
****************************************************************************/
Debug print the whole polymer data
Debug print the whole polymer data
void OAD_Polymer_DebugTrace( OAD_Polymer *p )
{
    int i;
    if (!p)
    {
        return;
    }
    ITRACE_( "\n\n* POLYMER INFO @ %-p (%-d group(s))", p, p->n );
    ITRACE_( "\n\n* %-d star atoms: ", p->n_pzz );
    for (i = 0; i < p->n_pzz; i++)
    {
        ITRACE_( " %-d", p->pzz[i] );
    }
    for (i = 0; i < p->n; i++)
    {
        ITRACE_( "\n* Polymer unit %-d", i );
        OAD_PolymerUnit_DebugTrace( p->units[i] );
    }
    ITRACE_( "\n* Really-do-PS = %-d", p->really_do_frame_shift );
    ITRACE_( "\n* Frame_shift_scheme = %-d", p->frame_shift_scheme );
    ITRACE_( "\n* Edit-repeats = %-d", p->edit_repeats );
    ITRACE_( "\n* End POLYMER INFO\n" );
    return;
}
void OAD_Polymer_DebugTrace ( OAD_Polymer * p ) { int i ; if ( ! p ) { return ; } ITRACE_ ( " \n \n " , p , p -> n ) ; ITRACE_ ( " \n \n " , p -> n_pzz ) ; for ( i = 0 ; i < p -> n_pzz ; i ++ ) { ITRACE_ ( " " , p -> pzz [ i ] ) ; } for ( i = 0 ; i < p -> n ; i ++ ) { ITRACE_ ( " \n " , i ) ; OAD_PolymerUnit_DebugTrace ( p -> units [ i ] ) ; } ITRACE_ ( " \n " , p -> really_do_frame_shift ) ; ITRACE_ ( " \n " , p -> frame_shift_scheme ) ; ITRACE_ ( " \n " , p -> edit_repeats ) ; ITRACE_ ( " \n \n " ) ; return ; }
Debug print the whole polymer data
Debug print the whole polymer data