vic/drivers/cesm/src/vic_cesm_time.c
void
assert_time_insync(vic_clock  *vclock,
                   dmy_struct *dmy)
{
    if ((vclock->current_year != dmy->year) ||
        (vclock->current_month != dmy->month) ||
        (vclock->current_day != dmy->day) ||
        (vclock->current_dayseconds != dmy->dayseconds)) {
        log_err("Clocks out of sync");
    }
}
/******************************************************************************
 * @brief    Raise an error if vclock and dmy don't match
 *****************************************************************************/
@brief    Raise an error if vclock and dmy don't match
@brief Raise an error if vclock and dmy don ' t match
void
assert_time_insync(vic_clock  *vclock,
                   dmy_struct *dmy)
{
    if ((vclock->current_year != dmy->year) ||
        (vclock->current_month != dmy->month) ||
        (vclock->current_day != dmy->day) ||
        (vclock->current_dayseconds != dmy->dayseconds)) {
        log_err("Clocks out of sync");
    }
}
void assert_time_insync ( vic_clock * vclock , dmy_struct * dmy ) { if ( ( vclock -> current_year != dmy -> year ) || ( vclock -> current_month != dmy -> month ) || ( vclock -> current_day != dmy -> day ) || ( vclock -> current_dayseconds != dmy -> dayseconds ) ) { log_err ( " " ) ; } }
@brief    Raise an error if vclock and dmy don't match
@brief Raise an error if vclock and dmy don ' t match