1653
1431
static PyObject *__pyx_pf_5adios_14read(CYTHON_UNUSED PyObject *__pyx_self, int64_t __pyx_v_fd_p, char *__pyx_v_name, PyArrayObject *__pyx_v_val); /* proto */
1654
1432
static PyObject *__pyx_pf_5adios_16close(CYTHON_UNUSED PyObject *__pyx_self, int64_t __pyx_v_fd_p); /* proto */
1655
1433
static PyObject *__pyx_pf_5adios_18finalize(CYTHON_UNUSED PyObject *__pyx_self, int __pyx_v_mype); /* proto */
1656
static PyObject *__pyx_pf_5adios_20init_noxml(CYTHON_UNUSED PyObject *__pyx_self, struct PyMPICommObject *__pyx_v_comm); /* proto */
1434
static PyObject *__pyx_pf_5adios_20init_noxml(CYTHON_UNUSED PyObject *__pyx_self, MPI_Comm __pyx_v_comm); /* proto */
1657
1435
static PyObject *__pyx_pf_5adios_22allocate_buffer(CYTHON_UNUSED PyObject *__pyx_self, int __pyx_v_when, uint64_t __pyx_v_buffer_size); /* proto */
1658
1436
static PyObject *__pyx_pf_5adios_24declare_group(CYTHON_UNUSED PyObject *__pyx_self, char *__pyx_v_name, char *__pyx_v_time_index, int __pyx_v_stats); /* proto */
1659
1437
static PyObject *__pyx_pf_5adios_26define_var(CYTHON_UNUSED PyObject *__pyx_self, int64_t __pyx_v_group_id, char *__pyx_v_name, char *__pyx_v_path, int __pyx_v_type, char *__pyx_v_dimensions, char *__pyx_v_global_dimensions, char *__pyx_v_local_offsets); /* proto */
1660
1438
static PyObject *__pyx_pf_5adios_28define_attribute(CYTHON_UNUSED PyObject *__pyx_self, int64_t __pyx_v_group, char *__pyx_v_name, char *__pyx_v_path, int __pyx_v_type, char *__pyx_v_value, char *__pyx_v_var); /* proto */
1661
1439
static PyObject *__pyx_pf_5adios_30select_method(CYTHON_UNUSED PyObject *__pyx_self, int64_t __pyx_v_group, char *__pyx_v_method, char *__pyx_v_parameters, char *__pyx_v_base_path); /* proto */
1662
static PyObject *__pyx_pf_5adios_32adios2nptype(CYTHON_UNUSED PyObject *__pyx_self, ADIOS_DATATYPES __pyx_v_t); /* proto */
1663
static int __pyx_pf_5adios_9AdiosFile___init__(struct __pyx_obj_5adios_AdiosFile *__pyx_v_self, char *__pyx_v_fname, struct PyMPICommObject *__pyx_v_comm); /* proto */
1664
static PyObject *__pyx_pf_5adios_9AdiosFile_2__del__(struct __pyx_obj_5adios_AdiosFile *__pyx_v_self); /* proto */
1665
static PyObject *__pyx_pf_5adios_9AdiosFile_4close(struct __pyx_obj_5adios_AdiosFile *__pyx_v_self); /* proto */
1666
static PyObject *__pyx_pf_5adios_9AdiosFile_6printself(struct __pyx_obj_5adios_AdiosFile *__pyx_v_self); /* proto */
1667
static PyObject *__pyx_pf_5adios_9AdiosFile_4name___get__(struct __pyx_obj_5adios_AdiosFile *__pyx_v_self); /* proto */
1668
static int __pyx_pf_5adios_9AdiosFile_4name_2__set__(struct __pyx_obj_5adios_AdiosFile *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1669
static int __pyx_pf_5adios_9AdiosFile_4name_4__del__(struct __pyx_obj_5adios_AdiosFile *__pyx_v_self); /* proto */
1670
static PyObject *__pyx_pf_5adios_9AdiosFile_12groups_count___get__(struct __pyx_obj_5adios_AdiosFile *__pyx_v_self); /* proto */
1671
static int __pyx_pf_5adios_9AdiosFile_12groups_count_2__set__(struct __pyx_obj_5adios_AdiosFile *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1672
static PyObject *__pyx_pf_5adios_9AdiosFile_10vars_count___get__(struct __pyx_obj_5adios_AdiosFile *__pyx_v_self); /* proto */
1673
static int __pyx_pf_5adios_9AdiosFile_10vars_count_2__set__(struct __pyx_obj_5adios_AdiosFile *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1674
static PyObject *__pyx_pf_5adios_9AdiosFile_11attrs_count___get__(struct __pyx_obj_5adios_AdiosFile *__pyx_v_self); /* proto */
1675
static int __pyx_pf_5adios_9AdiosFile_11attrs_count_2__set__(struct __pyx_obj_5adios_AdiosFile *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1676
static PyObject *__pyx_pf_5adios_9AdiosFile_10tidx_start___get__(struct __pyx_obj_5adios_AdiosFile *__pyx_v_self); /* proto */
1677
static int __pyx_pf_5adios_9AdiosFile_10tidx_start_2__set__(struct __pyx_obj_5adios_AdiosFile *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1678
static PyObject *__pyx_pf_5adios_9AdiosFile_10ntimesteps___get__(struct __pyx_obj_5adios_AdiosFile *__pyx_v_self); /* proto */
1679
static int __pyx_pf_5adios_9AdiosFile_10ntimesteps_2__set__(struct __pyx_obj_5adios_AdiosFile *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1680
static PyObject *__pyx_pf_5adios_9AdiosFile_7version___get__(struct __pyx_obj_5adios_AdiosFile *__pyx_v_self); /* proto */
1681
static int __pyx_pf_5adios_9AdiosFile_7version_2__set__(struct __pyx_obj_5adios_AdiosFile *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1682
static PyObject *__pyx_pf_5adios_9AdiosFile_9file_size___get__(struct __pyx_obj_5adios_AdiosFile *__pyx_v_self); /* proto */
1683
static int __pyx_pf_5adios_9AdiosFile_9file_size_2__set__(struct __pyx_obj_5adios_AdiosFile *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1684
static PyObject *__pyx_pf_5adios_9AdiosFile_10endianness___get__(struct __pyx_obj_5adios_AdiosFile *__pyx_v_self); /* proto */
1685
static int __pyx_pf_5adios_9AdiosFile_10endianness_2__set__(struct __pyx_obj_5adios_AdiosFile *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1686
static PyObject *__pyx_pf_5adios_9AdiosFile_5group___get__(struct __pyx_obj_5adios_AdiosFile *__pyx_v_self); /* proto */
1687
static int __pyx_pf_5adios_9AdiosFile_5group_2__set__(struct __pyx_obj_5adios_AdiosFile *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1688
static int __pyx_pf_5adios_9AdiosFile_5group_4__del__(struct __pyx_obj_5adios_AdiosFile *__pyx_v_self); /* proto */
1689
static int __pyx_pf_5adios_10AdiosGroup___init__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self, struct __pyx_obj_5adios_AdiosFile *__pyx_v_file, char *__pyx_v_name); /* proto */
1690
static PyObject *__pyx_pf_5adios_10AdiosGroup_2__del__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self); /* proto */
1691
static PyObject *__pyx_pf_5adios_10AdiosGroup_4close(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self); /* proto */
1692
static PyObject *__pyx_pf_5adios_10AdiosGroup_6printself(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self); /* proto */
1693
static PyObject *__pyx_pf_5adios_10AdiosGroup_4name___get__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self); /* proto */
1694
static int __pyx_pf_5adios_10AdiosGroup_4name_2__set__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1695
static int __pyx_pf_5adios_10AdiosGroup_4name_4__del__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self); /* proto */
1696
static PyObject *__pyx_pf_5adios_10AdiosGroup_5grpid___get__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self); /* proto */
1697
static int __pyx_pf_5adios_10AdiosGroup_5grpid_2__set__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1698
static PyObject *__pyx_pf_5adios_10AdiosGroup_10vars_count___get__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self); /* proto */
1699
static int __pyx_pf_5adios_10AdiosGroup_10vars_count_2__set__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1700
static PyObject *__pyx_pf_5adios_10AdiosGroup_11attrs_count___get__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self); /* proto */
1701
static int __pyx_pf_5adios_10AdiosGroup_11attrs_count_2__set__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1702
static PyObject *__pyx_pf_5adios_10AdiosGroup_8timestep___get__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self); /* proto */
1703
static int __pyx_pf_5adios_10AdiosGroup_8timestep_2__set__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1704
static PyObject *__pyx_pf_5adios_10AdiosGroup_12lasttimestep___get__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self); /* proto */
1705
static int __pyx_pf_5adios_10AdiosGroup_12lasttimestep_2__set__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1706
static PyObject *__pyx_pf_5adios_10AdiosGroup_3var___get__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self); /* proto */
1707
static int __pyx_pf_5adios_10AdiosGroup_3var_2__set__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1708
static int __pyx_pf_5adios_10AdiosGroup_3var_4__del__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self); /* proto */
1709
static int __pyx_pf_5adios_13AdiosVariable___init__(struct __pyx_obj_5adios_AdiosVariable *__pyx_v_self, struct __pyx_obj_5adios_AdiosGroup *__pyx_v_group, char *__pyx_v_name); /* proto */
1710
static PyObject *__pyx_pf_5adios_13AdiosVariable_2__del__(struct __pyx_obj_5adios_AdiosVariable *__pyx_v_self); /* proto */
1711
static PyObject *__pyx_pf_5adios_13AdiosVariable_4close(struct __pyx_obj_5adios_AdiosVariable *__pyx_v_self); /* proto */
1712
static PyObject *__pyx_pf_5adios_13AdiosVariable_6read(struct __pyx_obj_5adios_AdiosVariable *__pyx_v_self, PyObject *__pyx_v_offset, PyObject *__pyx_v_count); /* proto */
1713
static PyObject *__pyx_pf_5adios_13AdiosVariable_8printself(struct __pyx_obj_5adios_AdiosVariable *__pyx_v_self); /* proto */
1714
static PyObject *__pyx_pf_5adios_13AdiosVariable_4name___get__(struct __pyx_obj_5adios_AdiosVariable *__pyx_v_self); /* proto */
1715
static int __pyx_pf_5adios_13AdiosVariable_4name_2__set__(struct __pyx_obj_5adios_AdiosVariable *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1716
static int __pyx_pf_5adios_13AdiosVariable_4name_4__del__(struct __pyx_obj_5adios_AdiosVariable *__pyx_v_self); /* proto */
1717
static PyObject *__pyx_pf_5adios_13AdiosVariable_5varid___get__(struct __pyx_obj_5adios_AdiosVariable *__pyx_v_self); /* proto */
1718
static int __pyx_pf_5adios_13AdiosVariable_5varid_2__set__(struct __pyx_obj_5adios_AdiosVariable *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1719
static PyObject *__pyx_pf_5adios_13AdiosVariable_4type___get__(struct __pyx_obj_5adios_AdiosVariable *__pyx_v_self); /* proto */
1720
static int __pyx_pf_5adios_13AdiosVariable_4type_2__set__(struct __pyx_obj_5adios_AdiosVariable *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1721
static int __pyx_pf_5adios_13AdiosVariable_4type_4__del__(struct __pyx_obj_5adios_AdiosVariable *__pyx_v_self); /* proto */
1722
static PyObject *__pyx_pf_5adios_13AdiosVariable_4ndim___get__(struct __pyx_obj_5adios_AdiosVariable *__pyx_v_self); /* proto */
1723
static int __pyx_pf_5adios_13AdiosVariable_4ndim_2__set__(struct __pyx_obj_5adios_AdiosVariable *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1724
static PyObject *__pyx_pf_5adios_13AdiosVariable_4dims___get__(struct __pyx_obj_5adios_AdiosVariable *__pyx_v_self); /* proto */
1725
static int __pyx_pf_5adios_13AdiosVariable_4dims_2__set__(struct __pyx_obj_5adios_AdiosVariable *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1726
static int __pyx_pf_5adios_13AdiosVariable_4dims_4__del__(struct __pyx_obj_5adios_AdiosVariable *__pyx_v_self); /* proto */
1727
static PyObject *__pyx_pf_5adios_13AdiosVariable_7timedim___get__(struct __pyx_obj_5adios_AdiosVariable *__pyx_v_self); /* proto */
1728
static int __pyx_pf_5adios_13AdiosVariable_7timedim_2__set__(struct __pyx_obj_5adios_AdiosVariable *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1729
static PyObject *__pyx_pf_5adios_13AdiosVariable_21characteristics_count___get__(struct __pyx_obj_5adios_AdiosVariable *__pyx_v_self); /* proto */
1730
static int __pyx_pf_5adios_13AdiosVariable_21characteristics_count_2__set__(struct __pyx_obj_5adios_AdiosVariable *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1440
static PyObject *__pyx_pf_5adios_32read_init(CYTHON_UNUSED PyObject *__pyx_self, ADIOS_READ_METHOD __pyx_v_method, MPI_Comm __pyx_v_comm, char *__pyx_v_parameters); /* proto */
1441
static PyObject *__pyx_pf_5adios_34read_finalize(CYTHON_UNUSED PyObject *__pyx_self, ADIOS_READ_METHOD __pyx_v_method); /* proto */
1442
static int __pyx_pf_5adios_4file___init__(struct __pyx_obj_5adios_file *__pyx_v_self, char *__pyx_v_fname, ADIOS_READ_METHOD __pyx_v_method, MPI_Comm __pyx_v_comm); /* proto */
1443
static PyObject *__pyx_pf_5adios_4file_2__del__(struct __pyx_obj_5adios_file *__pyx_v_self); /* proto */
1444
static PyObject *__pyx_pf_5adios_4file_4close(struct __pyx_obj_5adios_file *__pyx_v_self); /* proto */
1445
static PyObject *__pyx_pf_5adios_4file_6printself(struct __pyx_obj_5adios_file *__pyx_v_self); /* proto */
1446
static PyObject *__pyx_pf_5adios_4file_4name___get__(struct __pyx_obj_5adios_file *__pyx_v_self); /* proto */
1447
static int __pyx_pf_5adios_4file_4name_2__set__(struct __pyx_obj_5adios_file *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1448
static int __pyx_pf_5adios_4file_4name_4__del__(struct __pyx_obj_5adios_file *__pyx_v_self); /* proto */
1449
static PyObject *__pyx_pf_5adios_4file_5nvars___get__(struct __pyx_obj_5adios_file *__pyx_v_self); /* proto */
1450
static int __pyx_pf_5adios_4file_5nvars_2__set__(struct __pyx_obj_5adios_file *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1451
static PyObject *__pyx_pf_5adios_4file_6nattrs___get__(struct __pyx_obj_5adios_file *__pyx_v_self); /* proto */
1452
static int __pyx_pf_5adios_4file_6nattrs_2__set__(struct __pyx_obj_5adios_file *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1453
static PyObject *__pyx_pf_5adios_4file_12current_step___get__(struct __pyx_obj_5adios_file *__pyx_v_self); /* proto */
1454
static int __pyx_pf_5adios_4file_12current_step_2__set__(struct __pyx_obj_5adios_file *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1455
static PyObject *__pyx_pf_5adios_4file_9last_step___get__(struct __pyx_obj_5adios_file *__pyx_v_self); /* proto */
1456
static int __pyx_pf_5adios_4file_9last_step_2__set__(struct __pyx_obj_5adios_file *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1457
static PyObject *__pyx_pf_5adios_4file_10endianness___get__(struct __pyx_obj_5adios_file *__pyx_v_self); /* proto */
1458
static int __pyx_pf_5adios_4file_10endianness_2__set__(struct __pyx_obj_5adios_file *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1459
static PyObject *__pyx_pf_5adios_4file_7version___get__(struct __pyx_obj_5adios_file *__pyx_v_self); /* proto */
1460
static int __pyx_pf_5adios_4file_7version_2__set__(struct __pyx_obj_5adios_file *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1461
static PyObject *__pyx_pf_5adios_4file_9file_size___get__(struct __pyx_obj_5adios_file *__pyx_v_self); /* proto */
1462
static int __pyx_pf_5adios_4file_9file_size_2__set__(struct __pyx_obj_5adios_file *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1463
static PyObject *__pyx_pf_5adios_4file_3var___get__(struct __pyx_obj_5adios_file *__pyx_v_self); /* proto */
1464
static int __pyx_pf_5adios_4file_3var_2__set__(struct __pyx_obj_5adios_file *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1465
static int __pyx_pf_5adios_4file_3var_4__del__(struct __pyx_obj_5adios_file *__pyx_v_self); /* proto */
1466
static PyObject *__pyx_pf_5adios_4file_4attr___get__(struct __pyx_obj_5adios_file *__pyx_v_self); /* proto */
1467
static int __pyx_pf_5adios_4file_4attr_2__set__(struct __pyx_obj_5adios_file *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1468
static int __pyx_pf_5adios_4file_4attr_4__del__(struct __pyx_obj_5adios_file *__pyx_v_self); /* proto */
1469
static int __pyx_pf_5adios_3var___init__(struct __pyx_obj_5adios_var *__pyx_v_self, struct __pyx_obj_5adios_file *__pyx_v_file, char *__pyx_v_name); /* proto */
1470
static PyObject *__pyx_pf_5adios_3var_2__del__(struct __pyx_obj_5adios_var *__pyx_v_self); /* proto */
1471
static PyObject *__pyx_pf_5adios_3var_4close(struct __pyx_obj_5adios_var *__pyx_v_self); /* proto */
1472
static PyObject *__pyx_pf_5adios_3var_6read(struct __pyx_obj_5adios_var *__pyx_v_self, PyObject *__pyx_v_offset, PyObject *__pyx_v_count, PyObject *__pyx_v_from_steps, PyObject *__pyx_v_nsteps); /* proto */
1473
static PyObject *__pyx_pf_5adios_3var_8printself(struct __pyx_obj_5adios_var *__pyx_v_self); /* proto */
1474
static PyObject *__pyx_pf_5adios_3var_4name___get__(struct __pyx_obj_5adios_var *__pyx_v_self); /* proto */
1475
static int __pyx_pf_5adios_3var_4name_2__set__(struct __pyx_obj_5adios_var *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1476
static int __pyx_pf_5adios_3var_4name_4__del__(struct __pyx_obj_5adios_var *__pyx_v_self); /* proto */
1477
static PyObject *__pyx_pf_5adios_3var_5varid___get__(struct __pyx_obj_5adios_var *__pyx_v_self); /* proto */
1478
static int __pyx_pf_5adios_3var_5varid_2__set__(struct __pyx_obj_5adios_var *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1479
static PyObject *__pyx_pf_5adios_3var_4type___get__(struct __pyx_obj_5adios_var *__pyx_v_self); /* proto */
1480
static int __pyx_pf_5adios_3var_4type_2__set__(struct __pyx_obj_5adios_var *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1481
static int __pyx_pf_5adios_3var_4type_4__del__(struct __pyx_obj_5adios_var *__pyx_v_self); /* proto */
1482
static PyObject *__pyx_pf_5adios_3var_4ndim___get__(struct __pyx_obj_5adios_var *__pyx_v_self); /* proto */
1483
static int __pyx_pf_5adios_3var_4ndim_2__set__(struct __pyx_obj_5adios_var *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1484
static PyObject *__pyx_pf_5adios_3var_4dims___get__(struct __pyx_obj_5adios_var *__pyx_v_self); /* proto */
1485
static int __pyx_pf_5adios_3var_4dims_2__set__(struct __pyx_obj_5adios_var *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1486
static int __pyx_pf_5adios_3var_4dims_4__del__(struct __pyx_obj_5adios_var *__pyx_v_self); /* proto */
1487
static PyObject *__pyx_pf_5adios_3var_6nsteps___get__(struct __pyx_obj_5adios_var *__pyx_v_self); /* proto */
1488
static int __pyx_pf_5adios_3var_6nsteps_2__set__(struct __pyx_obj_5adios_var *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
1489
static PyObject *__pyx_pf_5adios_36readvar(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_fname, PyObject *__pyx_v_varname); /* proto */
1490
static PyObject *__pyx_pf_5adios_38bpls(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_fname); /* proto */
1731
1491
static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, Py_buffer *__pyx_v_info, int __pyx_v_flags); /* proto */
1732
1492
static void __pyx_pf_5numpy_7ndarray_2__releasebuffer__(PyArrayObject *__pyx_v_self, Py_buffer *__pyx_v_info); /* proto */
1733
static PyObject *__pyx_tp_new_5adios_AdiosFile(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
1734
static PyObject *__pyx_tp_new_5adios_AdiosGroup(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
1735
static PyObject *__pyx_tp_new_5adios_AdiosVariable(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
1736
static char __pyx_k_3[] = "Only contiguous arrays are supported.";
1737
static char __pyx_k_4[] = "Reading ... ";
1738
static char __pyx_k_5[] = "(bytes)";
1739
static char __pyx_k_7[] = "%15s : %lu";
1740
static char __pyx_k_8[] = "%15s : %d";
1741
static char __pyx_k_9[] = "%15s : %s";
1742
static char __pyx_k_11[] = "Not an open file";
1743
static char __pyx_k_12[] = "/";
1744
static char __pyx_k_14[] = "=== AdiosFile ===";
1745
static char __pyx_k_15[] = "Not an open group";
1746
static char __pyx_k_16[] = "=== AdiosGroup ===";
1747
static char __pyx_k_17[] = "Data type is not supported yet";
1748
static char __pyx_k_19[] = "Offset dimension mismatch";
1749
static char __pyx_k_20[] = "Count dimension mismatch.";
1750
static char __pyx_k_21[] = "Count is larger than shape.";
1751
static char __pyx_k_22[] = "[WARNING] bytes read :";
1752
static char __pyx_k_23[] = "=== AdiosVariable ===";
1753
static char __pyx_k_24[] = "ndarray is not C contiguous";
1754
static char __pyx_k_26[] = "ndarray is not Fortran contiguous";
1755
static char __pyx_k_28[] = "Non-native byte order not supported";
1756
static char __pyx_k_30[] = "unknown dtype code in numpy.pxd (%d)";
1757
static char __pyx_k_31[] = "Format string allocated too short, see comment in numpy.pxd";
1758
static char __pyx_k_34[] = "Format string allocated too short.";
1759
static char __pyx_k_36[] = "\n ADIOS is freely available under the terms of the BSD license described\n in the COPYING file in the top level directory of this source distribution.\n\n Copyright (c) 2008 - 2009. UT-BATTELLE, LLC. All rights reserved.\n";
1760
static char __pyx_k_37[] = "mpi4py.MPI";
1761
static char __pyx_k_38[] = "*";
1762
static char __pyx_k__B[] = "B";
1763
static char __pyx_k__H[] = "H";
1764
static char __pyx_k__I[] = "I";
1765
static char __pyx_k__L[] = "L";
1766
static char __pyx_k__O[] = "O";
1767
static char __pyx_k__Q[] = "Q";
1768
static char __pyx_k__b[] = "b";
1769
static char __pyx_k__d[] = "d";
1770
static char __pyx_k__f[] = "f";
1771
static char __pyx_k__g[] = "g";
1772
static char __pyx_k__h[] = "h";
1773
static char __pyx_k__i[] = "i";
1774
static char __pyx_k__l[] = "l";
1775
static char __pyx_k__q[] = "q";
1776
static char __pyx_k__NO[] = "NO";
1777
static char __pyx_k__Zd[] = "Zd";
1778
static char __pyx_k__Zf[] = "Zf";
1779
static char __pyx_k__Zg[] = "Zg";
1780
static char __pyx_k__fh[] = "fh";
1781
static char __pyx_k__fp[] = "fp";
1782
static char __pyx_k__gh[] = "gh";
1783
static char __pyx_k__gp[] = "gp";
1784
static char __pyx_k__np[] = "np";
1785
static char __pyx_k__vp[] = "vp";
1786
static char __pyx_k__MPI[] = "MPI";
1787
static char __pyx_k__NOW[] = "NOW";
1788
static char __pyx_k__YES[] = "YES";
1789
static char __pyx_k__all[] = "all";
1790
static char __pyx_k__end[] = "end";
1791
static char __pyx_k__val[] = "val";
1792
static char __pyx_k__var[] = "var";
1793
static char __pyx_k__FLAG[] = "FLAG";
1794
static char __pyx_k__byte[] = "byte";
1795
static char __pyx_k__comm[] = "comm";
1796
static char __pyx_k__copy[] = "copy";
1797
static char __pyx_k__dims[] = "dims";
1798
static char __pyx_k__fd_p[] = "fd_p";
1799
static char __pyx_k__file[] = "file";
1800
static char __pyx_k__fill[] = "fill";
1801
static char __pyx_k__int8[] = "int8";
1802
static char __pyx_k__long[] = "long";
1803
static char __pyx_k__mode[] = "mode";
1804
static char __pyx_k__mype[] = "mype";
1805
static char __pyx_k__name[] = "name";
1806
static char __pyx_k__ndim[] = "ndim";
1807
static char __pyx_k__path[] = "path";
1808
static char __pyx_k__read[] = "read";
1809
static char __pyx_k__real[] = "real";
1810
static char __pyx_k__size[] = "size";
1811
static char __pyx_k__type[] = "type";
1812
static char __pyx_k__when[] = "when";
1813
static char __pyx_k__LATER[] = "LATER";
1814
static char __pyx_k__adios[] = "adios";
1815
static char __pyx_k__array[] = "array";
1816
static char __pyx_k__close[] = "close";
1817
static char __pyx_k__count[] = "count";
1818
static char __pyx_k__dtype[] = "dtype";
1819
static char __pyx_k__flags[] = "flags";
1820
static char __pyx_k__fname[] = "fname";
1821
static char __pyx_k__group[] = "group";
1822
static char __pyx_k__grpid[] = "grpid";
1823
static char __pyx_k__int16[] = "int16";
1824
static char __pyx_k__int32[] = "int32";
1825
static char __pyx_k__int64[] = "int64";
1826
static char __pyx_k__numpy[] = "numpy";
1827
static char __pyx_k__print[] = "print";
1828
static char __pyx_k__range[] = "range";
1829
static char __pyx_k__short[] = "short";
1830
static char __pyx_k__split[] = "split";
1831
static char __pyx_k__stats[] = "stats";
1832
static char __pyx_k__uint8[] = "uint8";
1833
static char __pyx_k__value[] = "value";
1834
static char __pyx_k__varid[] = "varid";
1835
static char __pyx_k__zeros[] = "zeros";
1836
static char __pyx_k__config[] = "config";
1837
static char __pyx_k__double[] = "double";
1838
static char __pyx_k__method[] = "method";
1839
static char __pyx_k__object[] = "object";
1840
static char __pyx_k__offset[] = "offset";
1841
static char __pyx_k__string[] = "string";
1842
static char __pyx_k__uint16[] = "uint16";
1843
static char __pyx_k__uint32[] = "uint32";
1844
static char __pyx_k__uint64[] = "uint64";
1845
static char __pyx_k__values[] = "values";
1846
static char __pyx_k__UNKNOWN[] = "UNKNOWN";
1847
static char __pyx_k__complex[] = "complex";
1848
static char __pyx_k__float32[] = "float32";
1849
static char __pyx_k__float64[] = "float64";
1850
static char __pyx_k__integer[] = "integer";
1851
static char __pyx_k__timedim[] = "timedim";
1852
static char __pyx_k__unknown[] = "unknown";
1853
static char __pyx_k__version[] = "version";
1854
static char __pyx_k__DATATYPE[] = "DATATYPE";
1855
static char __pyx_k____main__[] = "__main__";
1856
static char __pyx_k____test__[] = "__test__";
1857
static char __pyx_k__float128[] = "float128";
1858
static char __pyx_k__group_id[] = "group_id";
1859
static char __pyx_k__itemsize[] = "itemsize";
1860
static char __pyx_k____class__[] = "__class__";
1861
static char __pyx_k__base_path[] = "base_path";
1862
static char __pyx_k__complex64[] = "complex64";
1863
static char __pyx_k__data_size[] = "data_size";
1864
static char __pyx_k__file_size[] = "file_size";
1865
static char __pyx_k__printself[] = "printself";
1866
static char __pyx_k__COMM_WORLD[] = "COMM_WORLD";
1867
static char __pyx_k__ValueError[] = "ValueError";
1868
static char __pyx_k____import__[] = "__import__";
1869
static char __pyx_k____module__[] = "__module__";
1870
static char __pyx_k__complex128[] = "complex128";
1871
static char __pyx_k__contiguous[] = "contiguous";
1872
static char __pyx_k__dimensions[] = "dimensions";
1873
static char __pyx_k__endianness[] = "endianness";
1874
static char __pyx_k__group_name[] = "group_name";
1875
static char __pyx_k__ntimesteps[] = "ntimesteps";
1876
static char __pyx_k__parameters[] = "parameters";
1877
static char __pyx_k__tidx_start[] = "tidx_start";
1878
static char __pyx_k__time_index[] = "time_index";
1879
static char __pyx_k__vars_count[] = "vars_count";
1880
static char __pyx_k__attrs_count[] = "attrs_count";
1881
static char __pyx_k__buffer_size[] = "buffer_size";
1882
static char __pyx_k__long_double[] = "long_double";
1883
static char __pyx_k__RuntimeError[] = "RuntimeError";
1884
static char __pyx_k____qualname__[] = "__qualname__";
1885
static char __pyx_k__groups_count[] = "groups_count";
1886
static char __pyx_k__var_namelist[] = "var_namelist";
1887
static char __pyx_k____metaclass__[] = "__metaclass__";
1888
static char __pyx_k__attr_namelist[] = "attr_namelist";
1889
static char __pyx_k__local_offsets[] = "local_offsets";
1890
static char __pyx_k__unsigned_byte[] = "unsigned_byte";
1891
static char __pyx_k__unsigned_long[] = "unsigned_long";
1892
static char __pyx_k____pyx_vtable__[] = "__pyx_vtable__";
1893
static char __pyx_k__double_complex[] = "double_complex";
1894
static char __pyx_k__group_namelist[] = "group_namelist";
1895
static char __pyx_k__unsigned_short[] = "unsigned_short";
1896
static char __pyx_k__unsigned_integer[] = "unsigned_integer";
1897
static char __pyx_k__BUFFER_ALLOC_WHEN[] = "BUFFER_ALLOC_WHEN";
1898
static char __pyx_k__global_dimensions[] = "global_dimensions";
1899
static PyObject *__pyx_kp_s_11;
1900
static PyObject *__pyx_kp_s_12;
1901
static PyObject *__pyx_kp_s_14;
1902
static PyObject *__pyx_kp_s_15;
1903
static PyObject *__pyx_kp_s_16;
1904
static PyObject *__pyx_kp_s_17;
1905
static PyObject *__pyx_kp_s_19;
1906
static PyObject *__pyx_kp_s_20;
1907
static PyObject *__pyx_kp_s_21;
1908
static PyObject *__pyx_kp_s_22;
1909
static PyObject *__pyx_kp_s_23;
1910
static PyObject *__pyx_kp_u_24;
1911
static PyObject *__pyx_kp_u_26;
1912
static PyObject *__pyx_kp_u_28;
1913
static PyObject *__pyx_kp_s_3;
1914
static PyObject *__pyx_kp_u_30;
1915
static PyObject *__pyx_kp_u_31;
1916
static PyObject *__pyx_kp_u_34;
1917
static PyObject *__pyx_n_s_37;
1918
static PyObject *__pyx_n_s_38;
1919
static PyObject *__pyx_kp_s_4;
1920
static PyObject *__pyx_kp_s_5;
1921
static PyObject *__pyx_kp_s_7;
1922
static PyObject *__pyx_kp_s_8;
1923
static PyObject *__pyx_kp_s_9;
1924
static PyObject *__pyx_n_s__BUFFER_ALLOC_WHEN;
1925
static PyObject *__pyx_n_s__COMM_WORLD;
1926
static PyObject *__pyx_n_s__DATATYPE;
1927
static PyObject *__pyx_n_s__FLAG;
1928
static PyObject *__pyx_n_s__LATER;
1929
static PyObject *__pyx_n_s__MPI;
1930
static PyObject *__pyx_n_s__NO;
1931
static PyObject *__pyx_n_s__NOW;
1932
static PyObject *__pyx_n_s__RuntimeError;
1933
static PyObject *__pyx_n_s__UNKNOWN;
1934
static PyObject *__pyx_n_s__ValueError;
1935
static PyObject *__pyx_n_s__YES;
1936
static PyObject *__pyx_n_s____class__;
1937
static PyObject *__pyx_n_s____import__;
1938
static PyObject *__pyx_n_s____main__;
1939
static PyObject *__pyx_n_s____metaclass__;
1940
static PyObject *__pyx_n_s____module__;
1941
static PyObject *__pyx_n_s____pyx_vtable__;
1942
static PyObject *__pyx_n_s____qualname__;
1943
static PyObject *__pyx_n_s____test__;
1944
static PyObject *__pyx_n_s__adios;
1945
static PyObject *__pyx_n_s__all;
1946
static PyObject *__pyx_n_s__array;
1947
static PyObject *__pyx_n_s__attr_namelist;
1948
static PyObject *__pyx_n_s__attrs_count;
1949
static PyObject *__pyx_n_s__base_path;
1950
static PyObject *__pyx_n_s__buffer_size;
1951
static PyObject *__pyx_n_s__byte;
1952
static PyObject *__pyx_n_s__close;
1953
static PyObject *__pyx_n_s__comm;
1954
static PyObject *__pyx_n_s__complex;
1955
static PyObject *__pyx_n_s__complex128;
1956
static PyObject *__pyx_n_s__complex64;
1957
static PyObject *__pyx_n_s__config;
1958
static PyObject *__pyx_n_s__contiguous;
1959
static PyObject *__pyx_n_s__copy;
1960
static PyObject *__pyx_n_s__count;
1961
static PyObject *__pyx_n_s__data_size;
1962
static PyObject *__pyx_n_s__dimensions;
1963
static PyObject *__pyx_n_s__dims;
1964
static PyObject *__pyx_n_s__double;
1965
static PyObject *__pyx_n_s__double_complex;
1966
static PyObject *__pyx_n_s__dtype;
1967
static PyObject *__pyx_n_s__end;
1968
static PyObject *__pyx_n_s__endianness;
1969
static PyObject *__pyx_n_s__fd_p;
1970
static PyObject *__pyx_n_s__fh;
1971
static PyObject *__pyx_n_s__file;
1972
static PyObject *__pyx_n_s__file_size;
1973
static PyObject *__pyx_n_s__fill;
1974
static PyObject *__pyx_n_s__flags;
1975
static PyObject *__pyx_n_s__float128;
1976
static PyObject *__pyx_n_s__float32;
1977
static PyObject *__pyx_n_s__float64;
1978
static PyObject *__pyx_n_s__fname;
1979
static PyObject *__pyx_n_s__fp;
1980
static PyObject *__pyx_n_s__gh;
1981
static PyObject *__pyx_n_s__global_dimensions;
1982
static PyObject *__pyx_n_s__gp;
1983
static PyObject *__pyx_n_s__group;
1984
static PyObject *__pyx_n_s__group_id;
1985
static PyObject *__pyx_n_s__group_name;
1986
static PyObject *__pyx_n_s__group_namelist;
1987
static PyObject *__pyx_n_s__groups_count;
1988
static PyObject *__pyx_n_s__grpid;
1989
static PyObject *__pyx_n_s__int16;
1990
static PyObject *__pyx_n_s__int32;
1991
static PyObject *__pyx_n_s__int64;
1992
static PyObject *__pyx_n_s__int8;
1993
static PyObject *__pyx_n_s__integer;
1994
static PyObject *__pyx_n_s__itemsize;
1995
static PyObject *__pyx_n_s__local_offsets;
1996
static PyObject *__pyx_n_s__long;
1997
static PyObject *__pyx_n_s__long_double;
1998
static PyObject *__pyx_n_s__method;
1999
static PyObject *__pyx_n_s__mode;
2000
static PyObject *__pyx_n_s__mype;
2001
static PyObject *__pyx_n_s__name;
2002
static PyObject *__pyx_n_s__ndim;
2003
static PyObject *__pyx_n_s__np;
2004
static PyObject *__pyx_n_s__ntimesteps;
2005
static PyObject *__pyx_n_s__numpy;
2006
static PyObject *__pyx_n_s__object;
2007
static PyObject *__pyx_n_s__offset;
2008
static PyObject *__pyx_n_s__parameters;
2009
static PyObject *__pyx_n_s__path;
2010
static PyObject *__pyx_n_s__print;
2011
static PyObject *__pyx_n_s__printself;
2012
static PyObject *__pyx_n_s__range;
2013
static PyObject *__pyx_n_s__read;
2014
static PyObject *__pyx_n_s__real;
2015
static PyObject *__pyx_n_s__short;
2016
static PyObject *__pyx_n_s__size;
2017
static PyObject *__pyx_n_s__split;
2018
static PyObject *__pyx_n_s__stats;
2019
static PyObject *__pyx_n_s__string;
2020
static PyObject *__pyx_n_s__tidx_start;
2021
static PyObject *__pyx_n_s__time_index;
2022
static PyObject *__pyx_n_s__timedim;
2023
static PyObject *__pyx_n_s__type;
2024
static PyObject *__pyx_n_s__uint16;
2025
static PyObject *__pyx_n_s__uint32;
2026
static PyObject *__pyx_n_s__uint64;
2027
static PyObject *__pyx_n_s__uint8;
2028
static PyObject *__pyx_n_s__unknown;
2029
static PyObject *__pyx_n_s__unsigned_byte;
2030
static PyObject *__pyx_n_s__unsigned_integer;
2031
static PyObject *__pyx_n_s__unsigned_long;
2032
static PyObject *__pyx_n_s__unsigned_short;
2033
static PyObject *__pyx_n_s__val;
2034
static PyObject *__pyx_n_s__value;
2035
static PyObject *__pyx_n_s__values;
2036
static PyObject *__pyx_n_s__var;
2037
static PyObject *__pyx_n_s__var_namelist;
2038
static PyObject *__pyx_n_s__varid;
2039
static PyObject *__pyx_n_s__vars_count;
2040
static PyObject *__pyx_n_s__version;
2041
static PyObject *__pyx_n_s__vp;
2042
static PyObject *__pyx_n_s__when;
2043
static PyObject *__pyx_n_s__zeros;
1493
static PyObject *__pyx_tp_new_5adios_file(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
1494
static PyObject *__pyx_tp_new_5adios_var(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
1495
static char __pyx_k_B[] = "B";
1496
static char __pyx_k_H[] = "H";
1497
static char __pyx_k_I[] = "I";
1498
static char __pyx_k_L[] = "L";
1499
static char __pyx_k_O[] = "O";
1500
static char __pyx_k_Q[] = "Q";
1501
static char __pyx_k_b[] = "b";
1502
static char __pyx_k_d[] = "d";
1503
static char __pyx_k_f[] = "f";
1504
static char __pyx_k_g[] = "g";
1505
static char __pyx_k_h[] = "h";
1506
static char __pyx_k_i[] = "i";
1507
static char __pyx_k_k[] = "k";
1508
static char __pyx_k_l[] = "l";
1509
static char __pyx_k_q[] = "q";
1510
static char __pyx_k_v[] = "v";
1511
static char __pyx_k_NO[] = "NO";
1512
static char __pyx_k_Zd[] = "Zd";
1513
static char __pyx_k_Zf[] = "Zf";
1514
static char __pyx_k_Zg[] = "Zg";
1515
static char __pyx_k__6[] = "";
1516
static char __pyx_k_fh[] = "fh";
1517
static char __pyx_k_fp[] = "fp";
1518
static char __pyx_k_np[] = "np";
1519
static char __pyx_k_vp[] = "vp";
1520
static char __pyx_k_NOW[] = "NOW";
1521
static char __pyx_k_YES[] = "YES";
1522
static char __pyx_k__10[] = "/";
1523
static char __pyx_k_all[] = "all";
1524
static char __pyx_k_doc[] = "__doc__";
1525
static char __pyx_k_end[] = "end";
1526
static char __pyx_k_val[] = "val";
1527
static char __pyx_k_var[] = "var";
1528
static char __pyx_k_FLAG[] = "FLAG";
1529
static char __pyx_k_bpls[] = "bpls";
1530
static char __pyx_k_byte[] = "byte";
1531
static char __pyx_k_comm[] = "comm";
1532
static char __pyx_k_copy[] = "copy";
1533
static char __pyx_k_dims[] = "dims";
1534
static char __pyx_k_fd_p[] = "fd_p";
1535
static char __pyx_k_file[] = "file";
1536
static char __pyx_k_fill[] = "fill";
1537
static char __pyx_k_int8[] = "int8";
1538
static char __pyx_k_long[] = "long";
1539
static char __pyx_k_main[] = "__main__";
1540
static char __pyx_k_mode[] = "mode";
1541
static char __pyx_k_mype[] = "mype";
1542
static char __pyx_k_name[] = "name";
1543
static char __pyx_k_ndim[] = "ndim";
1544
static char __pyx_k_path[] = "path";
1545
static char __pyx_k_read[] = "read";
1546
static char __pyx_k_real[] = "real";
1547
static char __pyx_k_size[] = "size";
1548
static char __pyx_k_test[] = "__test__";
1549
static char __pyx_k_type[] = "type";
1550
static char __pyx_k_vars[] = "vars";
1551
static char __pyx_k_when[] = "when";
1552
static char __pyx_k_15s_d[] = "%15s : %d";
1553
static char __pyx_k_15s_s[] = "%15s : %s";
1554
static char __pyx_k_LATER[] = "LATER";
1555
static char __pyx_k_adios[] = "adios";
1556
static char __pyx_k_array[] = "array";
1557
static char __pyx_k_attrs[] = "attrs";
1558
static char __pyx_k_bytes[] = "(bytes)";
1559
static char __pyx_k_close[] = "close";
1560
static char __pyx_k_count[] = "count";
1561
static char __pyx_k_dtype[] = "dtype";
1562
static char __pyx_k_flags[] = "flags";
1563
static char __pyx_k_fname[] = "fname";
1564
static char __pyx_k_group[] = "group";
1565
static char __pyx_k_int16[] = "int16";
1566
static char __pyx_k_int32[] = "int32";
1567
static char __pyx_k_int64[] = "int64";
1568
static char __pyx_k_numpy[] = "numpy";
1569
static char __pyx_k_nvars[] = "nvars";
1570
static char __pyx_k_print[] = "print";
1571
static char __pyx_k_range[] = "range";
1572
static char __pyx_k_short[] = "short";
1573
static char __pyx_k_split[] = "split";
1574
static char __pyx_k_stats[] = "stats";
1575
static char __pyx_k_uint8[] = "uint8";
1576
static char __pyx_k_value[] = "value";
1577
static char __pyx_k_varid[] = "varid";
1578
static char __pyx_k_zeros[] = "zeros";
1579
static char __pyx_k_15s_lu[] = "%15s : %lu";
1580
static char __pyx_k_config[] = "config";
1581
static char __pyx_k_double[] = "double";
1582
static char __pyx_k_import[] = "__import__";
1583
static char __pyx_k_method[] = "method";
1584
static char __pyx_k_module[] = "__module__";
1585
static char __pyx_k_nattrs[] = "nattrs";
1586
static char __pyx_k_nsteps[] = "nsteps";
1587
static char __pyx_k_offset[] = "offset";
1588
static char __pyx_k_string[] = "string";
1589
static char __pyx_k_uint16[] = "uint16";
1590
static char __pyx_k_uint32[] = "uint32";
1591
static char __pyx_k_uint64[] = "uint64";
1592
static char __pyx_k_Reading[] = "Reading ... ";
1593
static char __pyx_k_UNKNOWN[] = "UNKNOWN";
1594
static char __pyx_k_complex[] = "complex";
1595
static char __pyx_k_float32[] = "float32";
1596
static char __pyx_k_float64[] = "float64";
1597
static char __pyx_k_integer[] = "integer";
1598
static char __pyx_k_prepare[] = "__prepare__";
1599
static char __pyx_k_readvar[] = "readvar";
1600
static char __pyx_k_unknown[] = "unknown";
1601
static char __pyx_k_varname[] = "varname";
1602
static char __pyx_k_version[] = "version";
1603
static char __pyx_k_DATATYPE[] = "DATATYPE";
1604
static char __pyx_k_float128[] = "float128";
1605
static char __pyx_k_group_id[] = "group_id";
1606
static char __pyx_k_itemsize[] = "itemsize";
1607
static char __pyx_k_iterkeys[] = "iterkeys";
1608
static char __pyx_k_qualname[] = "__qualname__";
1609
static char __pyx_k_AdiosFile[] = "=== AdiosFile ===";
1610
static char __pyx_k_base_path[] = "base_path";
1611
static char __pyx_k_complex64[] = "complex64";
1612
static char __pyx_k_data_size[] = "data_size";
1613
static char __pyx_k_file_size[] = "file_size";
1614
static char __pyx_k_last_step[] = "last_step";
1615
static char __pyx_k_metaclass[] = "__metaclass__";
1616
static char __pyx_k_printself[] = "printself";
1617
static char __pyx_k_ValueError[] = "ValueError";
1618
static char __pyx_k_complex128[] = "complex128";
1619
static char __pyx_k_contiguous[] = "contiguous";
1620
static char __pyx_k_dimensions[] = "dimensions";
1621
static char __pyx_k_endianness[] = "endianness";
1622
static char __pyx_k_from_steps[] = "from_steps";
1623
static char __pyx_k_group_name[] = "group_name";
1624
static char __pyx_k_parameters[] = "parameters";
1625
static char __pyx_k_pyx_vtable[] = "__pyx_vtable__";
1626
static char __pyx_k_time_index[] = "time_index";
1627
static char __pyx_k_time_steps[] = "time_steps";
1628
static char __pyx_k_buffer_size[] = "buffer_size";
1629
static char __pyx_k_long_double[] = "long_double";
1630
static char __pyx_k_RuntimeError[] = "RuntimeError";
1631
static char __pyx_k_current_step[] = "current_step";
1632
static char __pyx_k_var_namelist[] = "var_namelist";
1633
static char __pyx_k_AdiosVariable[] = "=== AdiosVariable ===";
1634
static char __pyx_k_attr_namelist[] = "attr_namelist";
1635
static char __pyx_k_local_offsets[] = "local_offsets";
1636
static char __pyx_k_unsigned_byte[] = "unsigned_byte";
1637
static char __pyx_k_unsigned_long[] = "unsigned_long";
1638
static char __pyx_k_double_complex[] = "double_complex";
1639
static char __pyx_k_unsigned_short[] = "unsigned_short";
1640
static char __pyx_k_Not_a_valid_var[] = "Not a valid var";
1641
static char __pyx_k_Not_an_open_var[] = "Not an open var";
1642
static char __pyx_k_Not_an_open_file[] = "Not an open file";
1643
static char __pyx_k_unsigned_integer[] = "unsigned_integer";
1644
static char __pyx_k_BUFFER_ALLOC_WHEN[] = "BUFFER_ALLOC_WHEN";
1645
static char __pyx_k_No_valid_variable[] = "No valid variable";
1646
static char __pyx_k_global_dimensions[] = "global_dimensions";
1647
static char __pyx_k_Not_an_open_variable[] = "Not an open variable";
1648
static char __pyx_k_Count_dimension_mismatch[] = "Count dimension mismatch.";
1649
static char __pyx_k_Offset_dimension_mismatch[] = "Offset dimension mismatch";
1650
static char __pyx_k_Count_is_larger_than_shape[] = "Count is larger than shape.";
1651
static char __pyx_k_Step_index_is_out_of_range[] = "Step index is out of range";
1652
static char __pyx_k_ndarray_is_not_C_contiguous[] = "ndarray is not C contiguous";
1653
static char __pyx_k_Data_type_is_not_supported_yet[] = "Data type is not supported yet";
1654
static char __pyx_k_ADIOS_is_freely_available_under[] = "\n ADIOS is freely available under the terms of the BSD license described\n in the COPYING file in the top level directory of this source distribution.\n\n Copyright (c) 2008 - 2009. UT-BATTELLE, LLC. All rights reserved.\n";
1655
static char __pyx_k_Users_jyc_project_adios_devel_w[] = "/Users/jyc/project/adios-devel/wrappers/numpy/adios.pyx";
1656
static char __pyx_k_unknown_dtype_code_in_numpy_pxd[] = "unknown dtype code in numpy.pxd (%d)";
1657
static char __pyx_k_Format_string_allocated_too_shor[] = "Format string allocated too short, see comment in numpy.pxd";
1658
static char __pyx_k_Non_native_byte_order_not_suppor[] = "Non-native byte order not supported";
1659
static char __pyx_k_Only_contiguous_arrays_are_suppo[] = "Only contiguous arrays are supported.";
1660
static char __pyx_k_ndarray_is_not_Fortran_contiguou[] = "ndarray is not Fortran contiguous";
1661
static char __pyx_k_Format_string_allocated_too_shor_2[] = "Format string allocated too short.";
1662
static PyObject *__pyx_kp_s_15s_d;
1663
static PyObject *__pyx_kp_s_15s_lu;
1664
static PyObject *__pyx_kp_s_15s_s;
1665
static PyObject *__pyx_kp_s_AdiosFile;
1666
static PyObject *__pyx_kp_s_AdiosVariable;
1667
static PyObject *__pyx_n_s_BUFFER_ALLOC_WHEN;
1668
static PyObject *__pyx_kp_s_Count_dimension_mismatch;
1669
static PyObject *__pyx_kp_s_Count_is_larger_than_shape;
1670
static PyObject *__pyx_n_s_DATATYPE;
1671
static PyObject *__pyx_kp_s_Data_type_is_not_supported_yet;
1672
static PyObject *__pyx_n_s_FLAG;
1673
static PyObject *__pyx_kp_u_Format_string_allocated_too_shor;
1674
static PyObject *__pyx_kp_u_Format_string_allocated_too_shor_2;
1675
static PyObject *__pyx_n_s_LATER;
1676
static PyObject *__pyx_n_s_NO;
1677
static PyObject *__pyx_n_s_NOW;
1678
static PyObject *__pyx_kp_s_No_valid_variable;
1679
static PyObject *__pyx_kp_u_Non_native_byte_order_not_suppor;
1680
static PyObject *__pyx_kp_s_Not_a_valid_var;
1681
static PyObject *__pyx_kp_s_Not_an_open_file;
1682
static PyObject *__pyx_kp_s_Not_an_open_var;
1683
static PyObject *__pyx_kp_s_Not_an_open_variable;
1684
static PyObject *__pyx_kp_s_Offset_dimension_mismatch;
1685
static PyObject *__pyx_kp_s_Only_contiguous_arrays_are_suppo;
1686
static PyObject *__pyx_kp_s_Reading;
1687
static PyObject *__pyx_n_s_RuntimeError;
1688
static PyObject *__pyx_kp_s_Step_index_is_out_of_range;
1689
static PyObject *__pyx_n_s_UNKNOWN;
1690
static PyObject *__pyx_kp_s_Users_jyc_project_adios_devel_w;
1691
static PyObject *__pyx_n_s_ValueError;
1692
static PyObject *__pyx_n_s_YES;
1693
static PyObject *__pyx_kp_s__10;
1694
static PyObject *__pyx_n_s_adios;
1695
static PyObject *__pyx_n_s_all;
1696
static PyObject *__pyx_n_s_array;
1697
static PyObject *__pyx_n_s_attr_namelist;
1698
static PyObject *__pyx_n_s_attrs;
1699
static PyObject *__pyx_n_s_base_path;
1700
static PyObject *__pyx_n_s_bpls;
1701
static PyObject *__pyx_n_s_buffer_size;
1702
static PyObject *__pyx_n_s_byte;
1703
static PyObject *__pyx_kp_s_bytes;
1704
static PyObject *__pyx_n_s_close;
1705
static PyObject *__pyx_n_s_comm;
1706
static PyObject *__pyx_n_s_complex;
1707
static PyObject *__pyx_n_s_complex128;
1708
static PyObject *__pyx_n_s_complex64;
1709
static PyObject *__pyx_n_s_config;
1710
static PyObject *__pyx_n_s_contiguous;
1711
static PyObject *__pyx_n_s_copy;
1712
static PyObject *__pyx_n_s_count;
1713
static PyObject *__pyx_n_s_current_step;
1714
static PyObject *__pyx_n_s_data_size;
1715
static PyObject *__pyx_n_s_dimensions;
1716
static PyObject *__pyx_n_s_dims;
1717
static PyObject *__pyx_n_s_doc;
1718
static PyObject *__pyx_n_s_double;
1719
static PyObject *__pyx_n_s_double_complex;
1720
static PyObject *__pyx_n_s_dtype;
1721
static PyObject *__pyx_n_s_end;
1722
static PyObject *__pyx_n_s_endianness;
1723
static PyObject *__pyx_n_s_f;
1724
static PyObject *__pyx_n_s_fd_p;
1725
static PyObject *__pyx_n_s_fh;
1726
static PyObject *__pyx_n_s_file;
1727
static PyObject *__pyx_n_s_file_size;
1728
static PyObject *__pyx_n_s_fill;
1729
static PyObject *__pyx_n_s_flags;
1730
static PyObject *__pyx_n_s_float128;
1731
static PyObject *__pyx_n_s_float32;
1732
static PyObject *__pyx_n_s_float64;
1733
static PyObject *__pyx_n_s_fname;
1734
static PyObject *__pyx_n_s_fp;
1735
static PyObject *__pyx_n_s_from_steps;
1736
static PyObject *__pyx_n_s_global_dimensions;
1737
static PyObject *__pyx_n_s_group;
1738
static PyObject *__pyx_n_s_group_id;
1739
static PyObject *__pyx_n_s_group_name;
1740
static PyObject *__pyx_n_s_import;
1741
static PyObject *__pyx_n_s_int16;
1742
static PyObject *__pyx_n_s_int32;
1743
static PyObject *__pyx_n_s_int64;
1744
static PyObject *__pyx_n_s_int8;
1745
static PyObject *__pyx_n_s_integer;
1746
static PyObject *__pyx_n_s_itemsize;
1747
static PyObject *__pyx_n_s_iterkeys;
1748
static PyObject *__pyx_n_s_k;
1749
static PyObject *__pyx_n_s_last_step;
1750
static PyObject *__pyx_n_s_local_offsets;
1751
static PyObject *__pyx_n_s_long;
1752
static PyObject *__pyx_n_s_long_double;
1753
static PyObject *__pyx_n_s_main;
1754
static PyObject *__pyx_n_s_metaclass;
1755
static PyObject *__pyx_n_s_method;
1756
static PyObject *__pyx_n_s_mode;
1757
static PyObject *__pyx_n_s_module;
1758
static PyObject *__pyx_n_s_mype;
1759
static PyObject *__pyx_n_s_name;
1760
static PyObject *__pyx_n_s_nattrs;
1761
static PyObject *__pyx_kp_u_ndarray_is_not_C_contiguous;
1762
static PyObject *__pyx_kp_u_ndarray_is_not_Fortran_contiguou;
1763
static PyObject *__pyx_n_s_ndim;
1764
static PyObject *__pyx_n_s_np;
1765
static PyObject *__pyx_n_s_nsteps;
1766
static PyObject *__pyx_n_s_numpy;
1767
static PyObject *__pyx_n_s_nvars;
1768
static PyObject *__pyx_n_s_offset;
1769
static PyObject *__pyx_n_s_parameters;
1770
static PyObject *__pyx_n_s_path;
1771
static PyObject *__pyx_n_s_prepare;
1772
static PyObject *__pyx_n_s_print;
1773
static PyObject *__pyx_n_s_printself;
1774
static PyObject *__pyx_n_s_pyx_vtable;
1775
static PyObject *__pyx_n_s_qualname;
1776
static PyObject *__pyx_n_s_range;
1777
static PyObject *__pyx_n_s_read;
1778
static PyObject *__pyx_n_s_readvar;
1779
static PyObject *__pyx_n_s_real;
1780
static PyObject *__pyx_n_s_short;
1781
static PyObject *__pyx_n_s_size;
1782
static PyObject *__pyx_n_s_split;
1783
static PyObject *__pyx_n_s_stats;
1784
static PyObject *__pyx_n_s_string;
1785
static PyObject *__pyx_n_s_test;
1786
static PyObject *__pyx_n_s_time_index;
1787
static PyObject *__pyx_n_s_time_steps;
1788
static PyObject *__pyx_n_s_type;
1789
static PyObject *__pyx_n_s_uint16;
1790
static PyObject *__pyx_n_s_uint32;
1791
static PyObject *__pyx_n_s_uint64;
1792
static PyObject *__pyx_n_s_uint8;
1793
static PyObject *__pyx_n_s_unknown;
1794
static PyObject *__pyx_kp_u_unknown_dtype_code_in_numpy_pxd;
1795
static PyObject *__pyx_n_s_unsigned_byte;
1796
static PyObject *__pyx_n_s_unsigned_integer;
1797
static PyObject *__pyx_n_s_unsigned_long;
1798
static PyObject *__pyx_n_s_unsigned_short;
1799
static PyObject *__pyx_n_s_v;
1800
static PyObject *__pyx_n_s_val;
1801
static PyObject *__pyx_n_s_value;
1802
static PyObject *__pyx_n_s_var;
1803
static PyObject *__pyx_n_s_var_namelist;
1804
static PyObject *__pyx_n_s_varid;
1805
static PyObject *__pyx_n_s_varname;
1806
static PyObject *__pyx_n_s_vars;
1807
static PyObject *__pyx_n_s_version;
1808
static PyObject *__pyx_n_s_vp;
1809
static PyObject *__pyx_n_s_when;
1810
static PyObject *__pyx_n_s_zeros;
2044
1811
static PyObject *__pyx_int_0;
2045
1812
static PyObject *__pyx_int_1;
2046
1813
static PyObject *__pyx_int_2;
4882
4647
__Pyx_INCREF(Py_None);
4883
__Pyx_DECREF(((PyObject *)__pyx_v_ntype));
4884
__pyx_v_ntype = ((PyObject*)Py_None);
4648
__Pyx_DECREF_SET(__pyx_v_ntype, ((PyObject*)Py_None));
4891
4655
* return ntype # <<<<<<<<<<<<<<
4657
* cdef printfile(ADIOS_FILE * f):
4895
4659
__Pyx_XDECREF(((PyObject *)__pyx_r));
4896
4660
__Pyx_INCREF(((PyObject *)__pyx_v_ntype));
4897
4661
__pyx_r = __pyx_v_ntype;
4900
__pyx_r = ((PyObject*)Py_None); __Pyx_INCREF(Py_None);
4903
__Pyx_XDECREF(__pyx_t_1);
4904
__Pyx_XDECREF(__pyx_t_2);
4905
__Pyx_AddTraceback("adios.adios2nptype", __pyx_clineno, __pyx_lineno, __pyx_filename);
4908
__Pyx_XDECREF(__pyx_v_ntype);
4909
__Pyx_XGIVEREF(__pyx_r);
4910
__Pyx_RefNannyFinishContext();
4914
/* Python wrapper */
4915
static PyObject *__pyx_pw_5adios_33adios2nptype(PyObject *__pyx_self, PyObject *__pyx_arg_t); /*proto*/
4916
static PyObject *__pyx_pw_5adios_33adios2nptype(PyObject *__pyx_self, PyObject *__pyx_arg_t) {
4917
ADIOS_DATATYPES __pyx_v_t;
4918
int __pyx_lineno = 0;
4919
const char *__pyx_filename = NULL;
4920
int __pyx_clineno = 0;
4921
PyObject *__pyx_r = 0;
4922
__Pyx_RefNannyDeclarations
4923
__Pyx_RefNannySetupContext("adios2nptype (wrapper)", 0);
4924
assert(__pyx_arg_t); {
4925
__pyx_v_t = ((ADIOS_DATATYPES)PyInt_AsLong(__pyx_arg_t)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4927
goto __pyx_L4_argument_unpacking_done;
4929
__Pyx_AddTraceback("adios.adios2nptype", __pyx_clineno, __pyx_lineno, __pyx_filename);
4930
__Pyx_RefNannyFinishContext();
4932
__pyx_L4_argument_unpacking_done:;
4933
__pyx_r = __pyx_pf_5adios_32adios2nptype(__pyx_self, ((ADIOS_DATATYPES)__pyx_v_t));
4934
__Pyx_RefNannyFinishContext();
4941
* cpdef type adios2nptype(ADIOS_DATATYPES t): # <<<<<<<<<<<<<<
4942
* cdef type ntype = None
4943
* if t == adios_byte:
4946
static PyObject *__pyx_pf_5adios_32adios2nptype(CYTHON_UNUSED PyObject *__pyx_self, ADIOS_DATATYPES __pyx_v_t) {
4947
PyObject *__pyx_r = NULL;
4948
__Pyx_RefNannyDeclarations
4949
PyObject *__pyx_t_1 = NULL;
4950
int __pyx_lineno = 0;
4951
const char *__pyx_filename = NULL;
4952
int __pyx_clineno = 0;
4953
__Pyx_RefNannySetupContext("adios2nptype", 0);
4954
__Pyx_XDECREF(__pyx_r);
4955
__pyx_t_1 = ((PyObject *)__pyx_f_5adios_adios2nptype(__pyx_v_t, 0)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4956
__Pyx_GOTREF(__pyx_t_1);
4957
__pyx_r = __pyx_t_1;
4961
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
4964
__Pyx_XDECREF(__pyx_t_1);
4965
__Pyx_AddTraceback("adios.adios2nptype", __pyx_clineno, __pyx_lineno, __pyx_filename);
4968
__Pyx_XGIVEREF(__pyx_r);
4969
__Pyx_RefNannyFinishContext();
4976
* cdef printAdiosFile(ADIOS_FILE * f): # <<<<<<<<<<<<<<
4977
* print '%15s : %lu' % ('fh', f.fh)
4978
* print '%15s : %d' % ('groups_count', f.groups_count)
4981
static PyObject *__pyx_f_5adios_printAdiosFile(ADIOS_FILE *__pyx_v_f) {
4983
PyObject *__pyx_r = NULL;
4984
__Pyx_RefNannyDeclarations
4985
PyObject *__pyx_t_1 = NULL;
4986
PyObject *__pyx_t_2 = NULL;
4989
int __pyx_lineno = 0;
4990
const char *__pyx_filename = NULL;
4991
int __pyx_clineno = 0;
4992
__Pyx_RefNannySetupContext("printAdiosFile", 0);
4994
4664
/* "adios.pyx":365
4996
* cdef printAdiosFile(ADIOS_FILE * f):
4665
* ## ====================
4667
* cdef type adios2nptype(ADIOS_DATATYPES t): # <<<<<<<<<<<<<<
4668
* cdef type ntype = None
4669
* if t == adios_byte:
4672
/* function exit code */
4674
__Pyx_XDECREF(__pyx_t_1);
4675
__Pyx_XDECREF(__pyx_t_2);
4676
__Pyx_AddTraceback("adios.adios2nptype", __pyx_clineno, __pyx_lineno, __pyx_filename);
4679
__Pyx_XDECREF(__pyx_v_ntype);
4680
__Pyx_XGIVEREF(__pyx_r);
4681
__Pyx_RefNannyFinishContext();
4688
* cdef printfile(ADIOS_FILE * f): # <<<<<<<<<<<<<<
4689
* print '%15s : %lu' % ('fh', f.fh)
4690
* print '%15s : %d' % ('nvars', f.nvars)
4693
static PyObject *__pyx_f_5adios_printfile(ADIOS_FILE *__pyx_v_f) {
4695
PyObject *__pyx_r = NULL;
4696
__Pyx_RefNannyDeclarations
4697
PyObject *__pyx_t_1 = NULL;
4698
PyObject *__pyx_t_2 = NULL;
4701
int __pyx_lineno = 0;
4702
const char *__pyx_filename = NULL;
4703
int __pyx_clineno = 0;
4704
__Pyx_RefNannySetupContext("printfile", 0);
4708
* cdef printfile(ADIOS_FILE * f):
4997
4709
* print '%15s : %lu' % ('fh', f.fh) # <<<<<<<<<<<<<<
4998
* print '%15s : %d' % ('groups_count', f.groups_count)
4999
* print '%15s : %d' % ('vars_count', f.vars_count)
5001
__pyx_t_1 = __Pyx_PyInt_to_py_uint64_t(__pyx_v_f->fh); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 365; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5002
__Pyx_GOTREF(__pyx_t_1);
5003
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 365; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5004
__Pyx_GOTREF(__pyx_t_2);
5005
__Pyx_INCREF(((PyObject *)__pyx_n_s__fh));
5006
PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__fh));
5007
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__fh));
5008
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
5009
__Pyx_GIVEREF(__pyx_t_1);
5011
__pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_7), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 365; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5012
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
5013
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5014
if (__Pyx_PrintOne(0, ((PyObject *)__pyx_t_1)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 365; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5015
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
5018
* cdef printAdiosFile(ADIOS_FILE * f):
5019
* print '%15s : %lu' % ('fh', f.fh)
5020
* print '%15s : %d' % ('groups_count', f.groups_count) # <<<<<<<<<<<<<<
5021
* print '%15s : %d' % ('vars_count', f.vars_count)
5022
* print '%15s : %d' % ('attrs_count', f.attrs_count)
5024
__pyx_t_1 = PyInt_FromLong(__pyx_v_f->groups_count); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 366; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5025
__Pyx_GOTREF(__pyx_t_1);
5026
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 366; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5027
__Pyx_GOTREF(__pyx_t_2);
5028
__Pyx_INCREF(((PyObject *)__pyx_n_s__groups_count));
5029
PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__groups_count));
5030
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__groups_count));
5031
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
5032
__Pyx_GIVEREF(__pyx_t_1);
5034
__pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_8), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 366; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5035
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
5036
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5037
if (__Pyx_PrintOne(0, ((PyObject *)__pyx_t_1)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 366; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5038
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
5041
* print '%15s : %lu' % ('fh', f.fh)
5042
* print '%15s : %d' % ('groups_count', f.groups_count)
5043
* print '%15s : %d' % ('vars_count', f.vars_count) # <<<<<<<<<<<<<<
5044
* print '%15s : %d' % ('attrs_count', f.attrs_count)
5045
* print '%15s : %d' % ('tidx_start', f.tidx_start)
5047
__pyx_t_1 = PyInt_FromLong(__pyx_v_f->vars_count); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 367; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5048
__Pyx_GOTREF(__pyx_t_1);
5049
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 367; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5050
__Pyx_GOTREF(__pyx_t_2);
5051
__Pyx_INCREF(((PyObject *)__pyx_n_s__vars_count));
5052
PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__vars_count));
5053
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__vars_count));
5054
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
5055
__Pyx_GIVEREF(__pyx_t_1);
5057
__pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_8), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 367; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5058
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
5059
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5060
if (__Pyx_PrintOne(0, ((PyObject *)__pyx_t_1)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 367; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5061
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
5064
* print '%15s : %d' % ('groups_count', f.groups_count)
5065
* print '%15s : %d' % ('vars_count', f.vars_count)
5066
* print '%15s : %d' % ('attrs_count', f.attrs_count) # <<<<<<<<<<<<<<
5067
* print '%15s : %d' % ('tidx_start', f.tidx_start)
5068
* print '%15s : %d' % ('ntimesteps', f.ntimesteps)
5070
__pyx_t_1 = PyInt_FromLong(__pyx_v_f->attrs_count); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 368; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5071
__Pyx_GOTREF(__pyx_t_1);
5072
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 368; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5073
__Pyx_GOTREF(__pyx_t_2);
5074
__Pyx_INCREF(((PyObject *)__pyx_n_s__attrs_count));
5075
PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__attrs_count));
5076
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__attrs_count));
5077
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
5078
__Pyx_GIVEREF(__pyx_t_1);
5080
__pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_8), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 368; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5081
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
5082
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5083
if (__Pyx_PrintOne(0, ((PyObject *)__pyx_t_1)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 368; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5084
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
5087
* print '%15s : %d' % ('vars_count', f.vars_count)
5088
* print '%15s : %d' % ('attrs_count', f.attrs_count)
5089
* print '%15s : %d' % ('tidx_start', f.tidx_start) # <<<<<<<<<<<<<<
5090
* print '%15s : %d' % ('ntimesteps', f.ntimesteps)
4710
* print '%15s : %d' % ('nvars', f.nvars)
4711
* print '%15s : %s' % ('var_namelist', [f.var_namelist[i] for i in range(f.nvars)])
4713
__pyx_t_1 = __Pyx_PyInt_From_uint64_t(__pyx_v_f->fh); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 399; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4714
__Pyx_GOTREF(__pyx_t_1);
4715
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 399; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4716
__Pyx_GOTREF(__pyx_t_2);
4717
__Pyx_INCREF(__pyx_n_s_fh);
4718
PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_fh);
4719
__Pyx_GIVEREF(__pyx_n_s_fh);
4720
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
4721
__Pyx_GIVEREF(__pyx_t_1);
4723
__pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_15s_lu, __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 399; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4724
__Pyx_GOTREF(__pyx_t_1);
4725
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4726
if (__Pyx_PrintOne(0, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 399; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4727
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4730
* cdef printfile(ADIOS_FILE * f):
4731
* print '%15s : %lu' % ('fh', f.fh)
4732
* print '%15s : %d' % ('nvars', f.nvars) # <<<<<<<<<<<<<<
4733
* print '%15s : %s' % ('var_namelist', [f.var_namelist[i] for i in range(f.nvars)])
4734
* print '%15s : %d' % ('nattrs', f.nattrs)
4736
__pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_f->nvars); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 400; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4737
__Pyx_GOTREF(__pyx_t_1);
4738
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 400; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4739
__Pyx_GOTREF(__pyx_t_2);
4740
__Pyx_INCREF(__pyx_n_s_nvars);
4741
PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_nvars);
4742
__Pyx_GIVEREF(__pyx_n_s_nvars);
4743
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
4744
__Pyx_GIVEREF(__pyx_t_1);
4746
__pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_15s_d, __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 400; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4747
__Pyx_GOTREF(__pyx_t_1);
4748
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4749
if (__Pyx_PrintOne(0, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 400; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4750
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4753
* print '%15s : %lu' % ('fh', f.fh)
4754
* print '%15s : %d' % ('nvars', f.nvars)
4755
* print '%15s : %s' % ('var_namelist', [f.var_namelist[i] for i in range(f.nvars)]) # <<<<<<<<<<<<<<
4756
* print '%15s : %d' % ('nattrs', f.nattrs)
4757
* print '%15s : %s' % ('attr_namelist', [f.attr_namelist[i] for i in range(f.nattrs)])
4759
__pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4760
__Pyx_GOTREF(__pyx_t_1);
4761
__pyx_t_3 = __pyx_v_f->nvars;
4762
for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
4763
__pyx_v_i = __pyx_t_4;
4764
__pyx_t_2 = __Pyx_PyBytes_FromString((__pyx_v_f->var_namelist[__pyx_v_i])); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4765
__Pyx_GOTREF(__pyx_t_2);
4766
if (unlikely(__Pyx_ListComp_Append(__pyx_t_1, (PyObject*)__pyx_t_2))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4767
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4769
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4770
__Pyx_GOTREF(__pyx_t_2);
4771
__Pyx_INCREF(__pyx_n_s_var_namelist);
4772
PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_var_namelist);
4773
__Pyx_GIVEREF(__pyx_n_s_var_namelist);
4774
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
4775
__Pyx_GIVEREF(__pyx_t_1);
4777
__pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_15s_s, __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4778
__Pyx_GOTREF(__pyx_t_1);
4779
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4780
if (__Pyx_PrintOne(0, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4781
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4784
* print '%15s : %d' % ('nvars', f.nvars)
4785
* print '%15s : %s' % ('var_namelist', [f.var_namelist[i] for i in range(f.nvars)])
4786
* print '%15s : %d' % ('nattrs', f.nattrs) # <<<<<<<<<<<<<<
4787
* print '%15s : %s' % ('attr_namelist', [f.attr_namelist[i] for i in range(f.nattrs)])
4788
* print '%15s : %d' % ('current_step', f.current_step)
4790
__pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_f->nattrs); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 402; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4791
__Pyx_GOTREF(__pyx_t_1);
4792
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 402; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4793
__Pyx_GOTREF(__pyx_t_2);
4794
__Pyx_INCREF(__pyx_n_s_nattrs);
4795
PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_nattrs);
4796
__Pyx_GIVEREF(__pyx_n_s_nattrs);
4797
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
4798
__Pyx_GIVEREF(__pyx_t_1);
4800
__pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_15s_d, __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 402; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4801
__Pyx_GOTREF(__pyx_t_1);
4802
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4803
if (__Pyx_PrintOne(0, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 402; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4804
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4807
* print '%15s : %s' % ('var_namelist', [f.var_namelist[i] for i in range(f.nvars)])
4808
* print '%15s : %d' % ('nattrs', f.nattrs)
4809
* print '%15s : %s' % ('attr_namelist', [f.attr_namelist[i] for i in range(f.nattrs)]) # <<<<<<<<<<<<<<
4810
* print '%15s : %d' % ('current_step', f.current_step)
4811
* print '%15s : %d' % ('last_step', f.last_step)
4813
__pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 403; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4814
__Pyx_GOTREF(__pyx_t_1);
4815
__pyx_t_3 = __pyx_v_f->nattrs;
4816
for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
4817
__pyx_v_i = __pyx_t_4;
4818
__pyx_t_2 = __Pyx_PyBytes_FromString((__pyx_v_f->attr_namelist[__pyx_v_i])); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 403; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4819
__Pyx_GOTREF(__pyx_t_2);
4820
if (unlikely(__Pyx_ListComp_Append(__pyx_t_1, (PyObject*)__pyx_t_2))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 403; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4821
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4823
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 403; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4824
__Pyx_GOTREF(__pyx_t_2);
4825
__Pyx_INCREF(__pyx_n_s_attr_namelist);
4826
PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_attr_namelist);
4827
__Pyx_GIVEREF(__pyx_n_s_attr_namelist);
4828
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
4829
__Pyx_GIVEREF(__pyx_t_1);
4831
__pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_15s_s, __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 403; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4832
__Pyx_GOTREF(__pyx_t_1);
4833
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4834
if (__Pyx_PrintOne(0, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 403; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4835
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4838
* print '%15s : %d' % ('nattrs', f.nattrs)
4839
* print '%15s : %s' % ('attr_namelist', [f.attr_namelist[i] for i in range(f.nattrs)])
4840
* print '%15s : %d' % ('current_step', f.current_step) # <<<<<<<<<<<<<<
4841
* print '%15s : %d' % ('last_step', f.last_step)
4842
* print '%15s : %s' % ('path', f.path)
4844
__pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_f->current_step); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4845
__Pyx_GOTREF(__pyx_t_1);
4846
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4847
__Pyx_GOTREF(__pyx_t_2);
4848
__Pyx_INCREF(__pyx_n_s_current_step);
4849
PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_current_step);
4850
__Pyx_GIVEREF(__pyx_n_s_current_step);
4851
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
4852
__Pyx_GIVEREF(__pyx_t_1);
4854
__pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_15s_d, __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4855
__Pyx_GOTREF(__pyx_t_1);
4856
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4857
if (__Pyx_PrintOne(0, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4858
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4861
* print '%15s : %s' % ('attr_namelist', [f.attr_namelist[i] for i in range(f.nattrs)])
4862
* print '%15s : %d' % ('current_step', f.current_step)
4863
* print '%15s : %d' % ('last_step', f.last_step) # <<<<<<<<<<<<<<
4864
* print '%15s : %s' % ('path', f.path)
4865
* print '%15s : %d' % ('endianness', f.endianness)
4867
__pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_f->last_step); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 405; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4868
__Pyx_GOTREF(__pyx_t_1);
4869
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 405; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4870
__Pyx_GOTREF(__pyx_t_2);
4871
__Pyx_INCREF(__pyx_n_s_last_step);
4872
PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_last_step);
4873
__Pyx_GIVEREF(__pyx_n_s_last_step);
4874
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
4875
__Pyx_GIVEREF(__pyx_t_1);
4877
__pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_15s_d, __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 405; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4878
__Pyx_GOTREF(__pyx_t_1);
4879
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4880
if (__Pyx_PrintOne(0, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 405; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4881
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4884
* print '%15s : %d' % ('current_step', f.current_step)
4885
* print '%15s : %d' % ('last_step', f.last_step)
4886
* print '%15s : %s' % ('path', f.path) # <<<<<<<<<<<<<<
4887
* print '%15s : %d' % ('endianness', f.endianness)
5091
4888
* print '%15s : %d' % ('version', f.version)
5093
__pyx_t_1 = PyInt_FromLong(__pyx_v_f->tidx_start); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4890
__pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_f->path); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 406; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5094
4891
__Pyx_GOTREF(__pyx_t_1);
5095
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4892
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 406; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5096
4893
__Pyx_GOTREF(__pyx_t_2);
5097
__Pyx_INCREF(((PyObject *)__pyx_n_s__tidx_start));
5098
PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__tidx_start));
5099
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__tidx_start));
4894
__Pyx_INCREF(__pyx_n_s_path);
4895
PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_path);
4896
__Pyx_GIVEREF(__pyx_n_s_path);
5100
4897
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
5101
4898
__Pyx_GIVEREF(__pyx_t_1);
5103
__pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_8), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5104
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
5105
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5106
if (__Pyx_PrintOne(0, ((PyObject *)__pyx_t_1)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5107
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
4900
__pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_15s_s, __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 406; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4901
__Pyx_GOTREF(__pyx_t_1);
4902
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4903
if (__Pyx_PrintOne(0, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 406; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4904
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5110
* print '%15s : %d' % ('attrs_count', f.attrs_count)
5111
* print '%15s : %d' % ('tidx_start', f.tidx_start)
5112
* print '%15s : %d' % ('ntimesteps', f.ntimesteps) # <<<<<<<<<<<<<<
4907
* print '%15s : %d' % ('last_step', f.last_step)
4908
* print '%15s : %s' % ('path', f.path)
4909
* print '%15s : %d' % ('endianness', f.endianness) # <<<<<<<<<<<<<<
5113
4910
* print '%15s : %d' % ('version', f.version)
5114
4911
* print '%15s : %lu' % ('file_size', f.file_size)
5116
__pyx_t_1 = PyInt_FromLong(__pyx_v_f->ntimesteps); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 370; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4913
__pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_f->endianness); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 407; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5117
4914
__Pyx_GOTREF(__pyx_t_1);
5118
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 370; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4915
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 407; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5119
4916
__Pyx_GOTREF(__pyx_t_2);
5120
__Pyx_INCREF(((PyObject *)__pyx_n_s__ntimesteps));
5121
PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__ntimesteps));
5122
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__ntimesteps));
4917
__Pyx_INCREF(__pyx_n_s_endianness);
4918
PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_endianness);
4919
__Pyx_GIVEREF(__pyx_n_s_endianness);
5123
4920
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
5124
4921
__Pyx_GIVEREF(__pyx_t_1);
5126
__pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_8), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 370; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5127
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
5128
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5129
if (__Pyx_PrintOne(0, ((PyObject *)__pyx_t_1)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 370; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5130
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
4923
__pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_15s_d, __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 407; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4924
__Pyx_GOTREF(__pyx_t_1);
4925
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4926
if (__Pyx_PrintOne(0, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 407; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4927
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5133
* print '%15s : %d' % ('tidx_start', f.tidx_start)
5134
* print '%15s : %d' % ('ntimesteps', f.ntimesteps)
4930
* print '%15s : %s' % ('path', f.path)
4931
* print '%15s : %d' % ('endianness', f.endianness)
5135
4932
* print '%15s : %d' % ('version', f.version) # <<<<<<<<<<<<<<
5136
4933
* print '%15s : %lu' % ('file_size', f.file_size)
5137
* print '%15s : %d' % ('endianness', f.endianness)
5139
__pyx_t_1 = PyInt_FromLong(__pyx_v_f->version); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 371; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4936
__pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_f->version); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5140
4937
__Pyx_GOTREF(__pyx_t_1);
5141
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 371; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4938
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5142
4939
__Pyx_GOTREF(__pyx_t_2);
5143
__Pyx_INCREF(((PyObject *)__pyx_n_s__version));
5144
PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__version));
5145
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__version));
4940
__Pyx_INCREF(__pyx_n_s_version);
4941
PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_version);
4942
__Pyx_GIVEREF(__pyx_n_s_version);
5146
4943
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
5147
4944
__Pyx_GIVEREF(__pyx_t_1);
5149
__pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_8), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 371; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5150
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
5151
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5152
if (__Pyx_PrintOne(0, ((PyObject *)__pyx_t_1)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 371; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5153
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
4946
__pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_15s_d, __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4947
__Pyx_GOTREF(__pyx_t_1);
4948
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4949
if (__Pyx_PrintOne(0, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4950
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5156
* print '%15s : %d' % ('ntimesteps', f.ntimesteps)
4953
* print '%15s : %d' % ('endianness', f.endianness)
5157
4954
* print '%15s : %d' % ('version', f.version)
5158
4955
* print '%15s : %lu' % ('file_size', f.file_size) # <<<<<<<<<<<<<<
5159
* print '%15s : %d' % ('endianness', f.endianness)
5160
* print '%15s : %s' % ('group_namelist', [f.group_namelist[i] for i in range(f.groups_count)])
5162
__pyx_t_1 = __Pyx_PyInt_to_py_uint64_t(__pyx_v_f->file_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 372; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5163
__Pyx_GOTREF(__pyx_t_1);
5164
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 372; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5165
__Pyx_GOTREF(__pyx_t_2);
5166
__Pyx_INCREF(((PyObject *)__pyx_n_s__file_size));
5167
PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__file_size));
5168
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__file_size));
5169
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
5170
__Pyx_GIVEREF(__pyx_t_1);
5172
__pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_7), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 372; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5173
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
5174
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5175
if (__Pyx_PrintOne(0, ((PyObject *)__pyx_t_1)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 372; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5176
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
5179
* print '%15s : %d' % ('version', f.version)
5180
* print '%15s : %lu' % ('file_size', f.file_size)
5181
* print '%15s : %d' % ('endianness', f.endianness) # <<<<<<<<<<<<<<
5182
* print '%15s : %s' % ('group_namelist', [f.group_namelist[i] for i in range(f.groups_count)])
5185
__pyx_t_1 = PyInt_FromLong(__pyx_v_f->endianness); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 373; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5186
__Pyx_GOTREF(__pyx_t_1);
5187
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 373; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5188
__Pyx_GOTREF(__pyx_t_2);
5189
__Pyx_INCREF(((PyObject *)__pyx_n_s__endianness));
5190
PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__endianness));
5191
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__endianness));
5192
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
5193
__Pyx_GIVEREF(__pyx_t_1);
5195
__pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_8), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 373; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5196
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
5197
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5198
if (__Pyx_PrintOne(0, ((PyObject *)__pyx_t_1)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 373; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5199
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
5202
* print '%15s : %lu' % ('file_size', f.file_size)
5203
* print '%15s : %d' % ('endianness', f.endianness)
5204
* print '%15s : %s' % ('group_namelist', [f.group_namelist[i] for i in range(f.groups_count)]) # <<<<<<<<<<<<<<
5206
* cdef printAdiosGroup(ADIOS_GROUP * g):
5208
__pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 374; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5209
__Pyx_GOTREF(__pyx_t_1);
5210
__pyx_t_3 = __pyx_v_f->groups_count;
5211
for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
5212
__pyx_v_i = __pyx_t_4;
5213
__pyx_t_2 = __Pyx_PyBytes_FromString((__pyx_v_f->group_namelist[__pyx_v_i])); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 374; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5214
__Pyx_GOTREF(((PyObject *)__pyx_t_2));
5215
if (unlikely(__Pyx_ListComp_Append(__pyx_t_1, (PyObject*)__pyx_t_2))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 374; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5216
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5218
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 374; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5219
__Pyx_GOTREF(__pyx_t_2);
5220
__Pyx_INCREF(((PyObject *)__pyx_n_s__group_namelist));
5221
PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__group_namelist));
5222
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__group_namelist));
5223
PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_t_1));
5224
__Pyx_GIVEREF(((PyObject *)__pyx_t_1));
5226
__pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_9), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 374; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5227
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
5228
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5229
if (__Pyx_PrintOne(0, ((PyObject *)__pyx_t_1)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 374; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5230
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
5232
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
5235
__Pyx_XDECREF(__pyx_t_1);
5236
__Pyx_XDECREF(__pyx_t_2);
5237
__Pyx_AddTraceback("adios.printAdiosFile", __pyx_clineno, __pyx_lineno, __pyx_filename);
5240
__Pyx_XGIVEREF(__pyx_r);
5241
__Pyx_RefNannyFinishContext();
5246
* print '%15s : %s' % ('group_namelist', [f.group_namelist[i] for i in range(f.groups_count)])
5248
* cdef printAdiosGroup(ADIOS_GROUP * g): # <<<<<<<<<<<<<<
5249
* print '%15s : %lu' % ('gh', g.gh)
5250
* print '%15s : %d' % ('grpid', g.grpid)
5253
static PyObject *__pyx_f_5adios_printAdiosGroup(ADIOS_GROUP *__pyx_v_g) {
5255
PyObject *__pyx_r = NULL;
5256
__Pyx_RefNannyDeclarations
5257
PyObject *__pyx_t_1 = NULL;
5258
PyObject *__pyx_t_2 = NULL;
5261
int __pyx_lineno = 0;
5262
const char *__pyx_filename = NULL;
5263
int __pyx_clineno = 0;
5264
__Pyx_RefNannySetupContext("printAdiosGroup", 0);
5268
* cdef printAdiosGroup(ADIOS_GROUP * g):
5269
* print '%15s : %lu' % ('gh', g.gh) # <<<<<<<<<<<<<<
5270
* print '%15s : %d' % ('grpid', g.grpid)
5271
* print '%15s : %d' % ('vars_count', g.vars_count)
5273
__pyx_t_1 = __Pyx_PyInt_to_py_uint64_t(__pyx_v_g->gh); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5274
__Pyx_GOTREF(__pyx_t_1);
5275
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5276
__Pyx_GOTREF(__pyx_t_2);
5277
__Pyx_INCREF(((PyObject *)__pyx_n_s__gh));
5278
PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__gh));
5279
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__gh));
5280
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
5281
__Pyx_GIVEREF(__pyx_t_1);
5283
__pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_7), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5284
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
5285
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5286
if (__Pyx_PrintOne(0, ((PyObject *)__pyx_t_1)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5287
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
5290
* cdef printAdiosGroup(ADIOS_GROUP * g):
5291
* print '%15s : %lu' % ('gh', g.gh)
5292
* print '%15s : %d' % ('grpid', g.grpid) # <<<<<<<<<<<<<<
5293
* print '%15s : %d' % ('vars_count', g.vars_count)
5294
* print '%15s : %s' % ('var_namelist', [g.var_namelist[i] for i in range(g.vars_count)])
5296
__pyx_t_1 = PyInt_FromLong(__pyx_v_g->grpid); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 378; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5297
__Pyx_GOTREF(__pyx_t_1);
5298
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 378; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5299
__Pyx_GOTREF(__pyx_t_2);
5300
__Pyx_INCREF(((PyObject *)__pyx_n_s__grpid));
5301
PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__grpid));
5302
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__grpid));
5303
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
5304
__Pyx_GIVEREF(__pyx_t_1);
5306
__pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_8), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 378; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5307
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
5308
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5309
if (__Pyx_PrintOne(0, ((PyObject *)__pyx_t_1)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 378; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5310
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
5313
* print '%15s : %lu' % ('gh', g.gh)
5314
* print '%15s : %d' % ('grpid', g.grpid)
5315
* print '%15s : %d' % ('vars_count', g.vars_count) # <<<<<<<<<<<<<<
5316
* print '%15s : %s' % ('var_namelist', [g.var_namelist[i] for i in range(g.vars_count)])
5317
* print '%15s : %d' % ('attrs_count', g.attrs_count)
5319
__pyx_t_1 = PyInt_FromLong(__pyx_v_g->vars_count); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 379; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5320
__Pyx_GOTREF(__pyx_t_1);
5321
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 379; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5322
__Pyx_GOTREF(__pyx_t_2);
5323
__Pyx_INCREF(((PyObject *)__pyx_n_s__vars_count));
5324
PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__vars_count));
5325
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__vars_count));
5326
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
5327
__Pyx_GIVEREF(__pyx_t_1);
5329
__pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_8), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 379; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5330
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
5331
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5332
if (__Pyx_PrintOne(0, ((PyObject *)__pyx_t_1)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 379; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5333
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
5336
* print '%15s : %d' % ('grpid', g.grpid)
5337
* print '%15s : %d' % ('vars_count', g.vars_count)
5338
* print '%15s : %s' % ('var_namelist', [g.var_namelist[i] for i in range(g.vars_count)]) # <<<<<<<<<<<<<<
5339
* print '%15s : %d' % ('attrs_count', g.attrs_count)
5340
* print '%15s : %s' % ('attr_namelist', [g.attr_namelist[i] for i in range(g.attrs_count)])
5342
__pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5343
__Pyx_GOTREF(__pyx_t_1);
5344
__pyx_t_3 = __pyx_v_g->vars_count;
5345
for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
5346
__pyx_v_i = __pyx_t_4;
5347
__pyx_t_2 = __Pyx_PyBytes_FromString((__pyx_v_g->var_namelist[__pyx_v_i])); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5348
__Pyx_GOTREF(((PyObject *)__pyx_t_2));
5349
if (unlikely(__Pyx_ListComp_Append(__pyx_t_1, (PyObject*)__pyx_t_2))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5350
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5352
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5353
__Pyx_GOTREF(__pyx_t_2);
5354
__Pyx_INCREF(((PyObject *)__pyx_n_s__var_namelist));
5355
PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__var_namelist));
5356
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__var_namelist));
5357
PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_t_1));
5358
__Pyx_GIVEREF(((PyObject *)__pyx_t_1));
5360
__pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_9), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5361
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
5362
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5363
if (__Pyx_PrintOne(0, ((PyObject *)__pyx_t_1)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5364
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
5367
* print '%15s : %d' % ('vars_count', g.vars_count)
5368
* print '%15s : %s' % ('var_namelist', [g.var_namelist[i] for i in range(g.vars_count)])
5369
* print '%15s : %d' % ('attrs_count', g.attrs_count) # <<<<<<<<<<<<<<
5370
* print '%15s : %s' % ('attr_namelist', [g.attr_namelist[i] for i in range(g.attrs_count)])
5371
* print '%15s : %lu' % ('fp', <unsigned long> g.fp)
5373
__pyx_t_1 = PyInt_FromLong(__pyx_v_g->attrs_count); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5374
__Pyx_GOTREF(__pyx_t_1);
5375
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5376
__Pyx_GOTREF(__pyx_t_2);
5377
__Pyx_INCREF(((PyObject *)__pyx_n_s__attrs_count));
5378
PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__attrs_count));
5379
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__attrs_count));
5380
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
5381
__Pyx_GIVEREF(__pyx_t_1);
5383
__pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_8), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5384
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
5385
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5386
if (__Pyx_PrintOne(0, ((PyObject *)__pyx_t_1)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5387
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
5390
* print '%15s : %s' % ('var_namelist', [g.var_namelist[i] for i in range(g.vars_count)])
5391
* print '%15s : %d' % ('attrs_count', g.attrs_count)
5392
* print '%15s : %s' % ('attr_namelist', [g.attr_namelist[i] for i in range(g.attrs_count)]) # <<<<<<<<<<<<<<
5393
* print '%15s : %lu' % ('fp', <unsigned long> g.fp)
5396
__pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 382; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5397
__Pyx_GOTREF(__pyx_t_1);
5398
__pyx_t_3 = __pyx_v_g->attrs_count;
5399
for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
5400
__pyx_v_i = __pyx_t_4;
5401
__pyx_t_2 = __Pyx_PyBytes_FromString((__pyx_v_g->attr_namelist[__pyx_v_i])); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 382; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5402
__Pyx_GOTREF(((PyObject *)__pyx_t_2));
5403
if (unlikely(__Pyx_ListComp_Append(__pyx_t_1, (PyObject*)__pyx_t_2))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 382; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5404
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5406
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 382; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5407
__Pyx_GOTREF(__pyx_t_2);
5408
__Pyx_INCREF(((PyObject *)__pyx_n_s__attr_namelist));
5409
PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__attr_namelist));
5410
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__attr_namelist));
5411
PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_t_1));
5412
__Pyx_GIVEREF(((PyObject *)__pyx_t_1));
5414
__pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_9), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 382; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5415
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
5416
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5417
if (__Pyx_PrintOne(0, ((PyObject *)__pyx_t_1)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 382; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5418
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
5421
* print '%15s : %d' % ('attrs_count', g.attrs_count)
5422
* print '%15s : %s' % ('attr_namelist', [g.attr_namelist[i] for i in range(g.attrs_count)])
5423
* print '%15s : %lu' % ('fp', <unsigned long> g.fp) # <<<<<<<<<<<<<<
5425
* cdef printAdiosVariable(ADIOS_VARINFO * v):
5427
__pyx_t_1 = PyLong_FromUnsignedLong(((unsigned long)__pyx_v_g->fp)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 383; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5428
__Pyx_GOTREF(__pyx_t_1);
5429
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 383; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5430
__Pyx_GOTREF(__pyx_t_2);
5431
__Pyx_INCREF(((PyObject *)__pyx_n_s__fp));
5432
PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__fp));
5433
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__fp));
5434
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
5435
__Pyx_GIVEREF(__pyx_t_1);
5437
__pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_7), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 383; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5438
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
5439
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5440
if (__Pyx_PrintOne(0, ((PyObject *)__pyx_t_1)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 383; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5441
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
5443
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
5446
__Pyx_XDECREF(__pyx_t_1);
5447
__Pyx_XDECREF(__pyx_t_2);
5448
__Pyx_AddTraceback("adios.printAdiosGroup", __pyx_clineno, __pyx_lineno, __pyx_filename);
5451
__Pyx_XGIVEREF(__pyx_r);
5452
__Pyx_RefNannyFinishContext();
5457
* print '%15s : %lu' % ('fp', <unsigned long> g.fp)
5459
* cdef printAdiosVariable(ADIOS_VARINFO * v): # <<<<<<<<<<<<<<
5460
* print '%15s : %d' % ('grpid', v.grpid)
5461
* print '%15s : %d' % ('varid', v.varid)
5464
static PyObject *__pyx_f_5adios_printAdiosVariable(ADIOS_VARINFO *__pyx_v_v) {
5466
PyObject *__pyx_r = NULL;
5467
__Pyx_RefNannyDeclarations
5468
PyObject *__pyx_t_1 = NULL;
5469
PyObject *__pyx_t_2 = NULL;
5472
int __pyx_lineno = 0;
5473
const char *__pyx_filename = NULL;
5474
int __pyx_clineno = 0;
5475
__Pyx_RefNannySetupContext("printAdiosVariable", 0);
5479
* cdef printAdiosVariable(ADIOS_VARINFO * v):
5480
* print '%15s : %d' % ('grpid', v.grpid) # <<<<<<<<<<<<<<
4957
* cdef printvar(ADIOS_VARINFO * v):
4959
__pyx_t_1 = __Pyx_PyInt_From_uint64_t(__pyx_v_f->file_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 409; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4960
__Pyx_GOTREF(__pyx_t_1);
4961
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 409; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4962
__Pyx_GOTREF(__pyx_t_2);
4963
__Pyx_INCREF(__pyx_n_s_file_size);
4964
PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_file_size);
4965
__Pyx_GIVEREF(__pyx_n_s_file_size);
4966
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
4967
__Pyx_GIVEREF(__pyx_t_1);
4969
__pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_15s_lu, __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 409; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4970
__Pyx_GOTREF(__pyx_t_1);
4971
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4972
if (__Pyx_PrintOne(0, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 409; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4973
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4978
* cdef printfile(ADIOS_FILE * f): # <<<<<<<<<<<<<<
4979
* print '%15s : %lu' % ('fh', f.fh)
4980
* print '%15s : %d' % ('nvars', f.nvars)
4983
/* function exit code */
4984
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
4987
__Pyx_XDECREF(__pyx_t_1);
4988
__Pyx_XDECREF(__pyx_t_2);
4989
__Pyx_AddTraceback("adios.printfile", __pyx_clineno, __pyx_lineno, __pyx_filename);
4992
__Pyx_XGIVEREF(__pyx_r);
4993
__Pyx_RefNannyFinishContext();
4998
* print '%15s : %lu' % ('file_size', f.file_size)
5000
* cdef printvar(ADIOS_VARINFO * v): # <<<<<<<<<<<<<<
5481
5001
* print '%15s : %d' % ('varid', v.varid)
5482
5002
* print '%15s : %s' % ('type', adios2nptype(v.type))
5484
__pyx_t_1 = PyInt_FromLong(__pyx_v_v->grpid); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 386; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5485
__Pyx_GOTREF(__pyx_t_1);
5486
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 386; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5487
__Pyx_GOTREF(__pyx_t_2);
5488
__Pyx_INCREF(((PyObject *)__pyx_n_s__grpid));
5489
PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__grpid));
5490
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__grpid));
5491
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
5492
__Pyx_GIVEREF(__pyx_t_1);
5494
__pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_8), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 386; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5495
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
5496
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5497
if (__Pyx_PrintOne(0, ((PyObject *)__pyx_t_1)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 386; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5498
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
5501
* cdef printAdiosVariable(ADIOS_VARINFO * v):
5502
* print '%15s : %d' % ('grpid', v.grpid)
5005
static PyObject *__pyx_f_5adios_printvar(ADIOS_VARINFO *__pyx_v_v) {
5007
PyObject *__pyx_r = NULL;
5008
__Pyx_RefNannyDeclarations
5009
PyObject *__pyx_t_1 = NULL;
5010
PyObject *__pyx_t_2 = NULL;
5013
int __pyx_lineno = 0;
5014
const char *__pyx_filename = NULL;
5015
int __pyx_clineno = 0;
5016
__Pyx_RefNannySetupContext("printvar", 0);
5020
* cdef printvar(ADIOS_VARINFO * v):
5503
5021
* print '%15s : %d' % ('varid', v.varid) # <<<<<<<<<<<<<<
5504
5022
* print '%15s : %s' % ('type', adios2nptype(v.type))
5505
5023
* print '%15s : %d' % ('ndim', v.ndim)
5507
__pyx_t_1 = PyInt_FromLong(__pyx_v_v->varid); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 387; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5025
__pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_v->varid); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5508
5026
__Pyx_GOTREF(__pyx_t_1);
5509
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 387; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5027
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5510
5028
__Pyx_GOTREF(__pyx_t_2);
5511
__Pyx_INCREF(((PyObject *)__pyx_n_s__varid));
5512
PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__varid));
5513
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__varid));
5029
__Pyx_INCREF(__pyx_n_s_varid);
5030
PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_varid);
5031
__Pyx_GIVEREF(__pyx_n_s_varid);
5514
5032
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
5515
5033
__Pyx_GIVEREF(__pyx_t_1);
5517
__pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_8), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 387; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5518
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
5519
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5520
if (__Pyx_PrintOne(0, ((PyObject *)__pyx_t_1)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 387; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5521
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
5035
__pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_15s_d, __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5036
__Pyx_GOTREF(__pyx_t_1);
5037
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5038
if (__Pyx_PrintOne(0, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5039
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5524
* print '%15s : %d' % ('grpid', v.grpid)
5042
* cdef printvar(ADIOS_VARINFO * v):
5525
5043
* print '%15s : %d' % ('varid', v.varid)
5526
5044
* print '%15s : %s' % ('type', adios2nptype(v.type)) # <<<<<<<<<<<<<<
5527
5045
* print '%15s : %d' % ('ndim', v.ndim)
5528
5046
* print '%15s : %s' % ('dims', [v.dims[i] for i in range(v.ndim)])
5530
__pyx_t_1 = ((PyObject *)__pyx_f_5adios_adios2nptype(__pyx_v_v->type, 0)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 388; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5048
__pyx_t_1 = ((PyObject *)__pyx_f_5adios_adios2nptype(__pyx_v_v->type)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 413; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5531
5049
__Pyx_GOTREF(__pyx_t_1);
5532
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 388; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5050
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 413; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5533
5051
__Pyx_GOTREF(__pyx_t_2);
5534
__Pyx_INCREF(((PyObject *)__pyx_n_s__type));
5535
PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__type));
5536
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__type));
5052
__Pyx_INCREF(__pyx_n_s_type);
5053
PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_type);
5054
__Pyx_GIVEREF(__pyx_n_s_type);
5537
5055
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
5538
5056
__Pyx_GIVEREF(__pyx_t_1);
5540
__pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_9), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 388; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5541
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
5542
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5543
if (__Pyx_PrintOne(0, ((PyObject *)__pyx_t_1)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 388; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5544
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
5058
__pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_15s_s, __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 413; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5059
__Pyx_GOTREF(__pyx_t_1);
5060
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5061
if (__Pyx_PrintOne(0, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 413; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5062
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5547
5065
* print '%15s : %d' % ('varid', v.varid)
5548
5066
* print '%15s : %s' % ('type', adios2nptype(v.type))
5549
5067
* print '%15s : %d' % ('ndim', v.ndim) # <<<<<<<<<<<<<<
5550
5068
* print '%15s : %s' % ('dims', [v.dims[i] for i in range(v.ndim)])
5551
* print '%15s : %d' % ('timedim', v.timedim)
5069
* print '%15s : %d' % ('nsteps', v.nsteps)
5553
__pyx_t_1 = PyInt_FromLong(__pyx_v_v->ndim); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 389; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5071
__pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_v->ndim); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 414; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5554
5072
__Pyx_GOTREF(__pyx_t_1);
5555
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 389; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5073
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 414; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5556
5074
__Pyx_GOTREF(__pyx_t_2);
5557
__Pyx_INCREF(((PyObject *)__pyx_n_s__ndim));
5558
PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__ndim));
5559
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__ndim));
5075
__Pyx_INCREF(__pyx_n_s_ndim);
5076
PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_ndim);
5077
__Pyx_GIVEREF(__pyx_n_s_ndim);
5560
5078
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
5561
5079
__Pyx_GIVEREF(__pyx_t_1);
5563
__pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_8), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 389; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5564
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
5565
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5566
if (__Pyx_PrintOne(0, ((PyObject *)__pyx_t_1)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 389; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5567
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
5081
__pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_15s_d, __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 414; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5082
__Pyx_GOTREF(__pyx_t_1);
5083
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5084
if (__Pyx_PrintOne(0, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 414; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5085
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5570
5088
* print '%15s : %s' % ('type', adios2nptype(v.type))
5571
5089
* print '%15s : %d' % ('ndim', v.ndim)
5572
5090
* print '%15s : %s' % ('dims', [v.dims[i] for i in range(v.ndim)]) # <<<<<<<<<<<<<<
5573
* print '%15s : %d' % ('timedim', v.timedim)
5091
* print '%15s : %d' % ('nsteps', v.nsteps)
5576
__pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5094
__pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 415; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5577
5095
__Pyx_GOTREF(__pyx_t_1);
5578
5096
__pyx_t_3 = __pyx_v_v->ndim;
5579
5097
for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
5580
5098
__pyx_v_i = __pyx_t_4;
5581
__pyx_t_2 = __Pyx_PyInt_to_py_uint64_t((__pyx_v_v->dims[__pyx_v_i])); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5099
__pyx_t_2 = __Pyx_PyInt_From_uint64_t((__pyx_v_v->dims[__pyx_v_i])); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 415; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5582
5100
__Pyx_GOTREF(__pyx_t_2);
5583
if (unlikely(__Pyx_ListComp_Append(__pyx_t_1, (PyObject*)__pyx_t_2))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5101
if (unlikely(__Pyx_ListComp_Append(__pyx_t_1, (PyObject*)__pyx_t_2))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 415; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5584
5102
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5586
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5104
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 415; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5587
5105
__Pyx_GOTREF(__pyx_t_2);
5588
__Pyx_INCREF(((PyObject *)__pyx_n_s__dims));
5589
PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__dims));
5590
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__dims));
5591
PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_t_1));
5592
__Pyx_GIVEREF(((PyObject *)__pyx_t_1));
5106
__Pyx_INCREF(__pyx_n_s_dims);
5107
PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_dims);
5108
__Pyx_GIVEREF(__pyx_n_s_dims);
5109
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
5110
__Pyx_GIVEREF(__pyx_t_1);
5594
__pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_9), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5595
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
5596
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5597
if (__Pyx_PrintOne(0, ((PyObject *)__pyx_t_1)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5598
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
5112
__pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_15s_s, __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 415; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5113
__Pyx_GOTREF(__pyx_t_1);
5114
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5115
if (__Pyx_PrintOne(0, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 415; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5116
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5601
5119
* print '%15s : %d' % ('ndim', v.ndim)
5602
5120
* print '%15s : %s' % ('dims', [v.dims[i] for i in range(v.ndim)])
5603
* print '%15s : %d' % ('timedim', v.timedim) # <<<<<<<<<<<<<<
5121
* print '%15s : %d' % ('nsteps', v.nsteps) # <<<<<<<<<<<<<<
5605
* cdef adios2scalar(ADIOS_DATATYPES t, void * val):
5123
* ## ====================
5607
__pyx_t_1 = PyInt_FromLong(__pyx_v_v->timedim); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 391; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5125
__pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_v->nsteps); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 416; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5608
5126
__Pyx_GOTREF(__pyx_t_1);
5609
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 391; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5127
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 416; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5610
5128
__Pyx_GOTREF(__pyx_t_2);
5611
__Pyx_INCREF(((PyObject *)__pyx_n_s__timedim));
5612
PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__timedim));
5613
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__timedim));
5129
__Pyx_INCREF(__pyx_n_s_nsteps);
5130
PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_nsteps);
5131
__Pyx_GIVEREF(__pyx_n_s_nsteps);
5614
5132
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
5615
5133
__Pyx_GIVEREF(__pyx_t_1);
5617
__pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_8), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 391; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5618
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
5619
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5620
if (__Pyx_PrintOne(0, ((PyObject *)__pyx_t_1)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 391; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5621
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
5135
__pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_15s_d, __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 416; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5136
__Pyx_GOTREF(__pyx_t_1);
5137
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5138
if (__Pyx_PrintOne(0, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 416; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5139
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5142
* print '%15s : %lu' % ('file_size', f.file_size)
5144
* cdef printvar(ADIOS_VARINFO * v): # <<<<<<<<<<<<<<
5145
* print '%15s : %d' % ('varid', v.varid)
5146
* print '%15s : %s' % ('type', adios2nptype(v.type))
5149
/* function exit code */
5623
5150
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
5625
5152
__pyx_L1_error:;
5626
5153
__Pyx_XDECREF(__pyx_t_1);
5627
5154
__Pyx_XDECREF(__pyx_t_2);
5628
__Pyx_AddTraceback("adios.printAdiosVariable", __pyx_clineno, __pyx_lineno, __pyx_filename);
5631
__Pyx_XGIVEREF(__pyx_r);
5632
__Pyx_RefNannyFinishContext();
5637
* print '%15s : %d' % ('timedim', v.timedim)
5639
* cdef adios2scalar(ADIOS_DATATYPES t, void * val): # <<<<<<<<<<<<<<
5640
* if t == adios_byte :
5641
* return (<char *> val)[0]
5644
static PyObject *__pyx_f_5adios_adios2scalar(ADIOS_DATATYPES __pyx_v_t, void *__pyx_v_val) {
5645
PyObject *__pyx_r = NULL;
5646
__Pyx_RefNannyDeclarations
5647
PyObject *__pyx_t_1 = NULL;
5648
int __pyx_lineno = 0;
5649
const char *__pyx_filename = NULL;
5650
int __pyx_clineno = 0;
5651
__Pyx_RefNannySetupContext("adios2scalar", 0);
5654
* elif t == adios_double:
5655
* return (<double *> val)[0]
5656
* elif t == adios_long_double: # <<<<<<<<<<<<<<
5657
* return (<long double *> val)[0]
5660
switch (__pyx_v_t) {
5664
* cdef adios2scalar(ADIOS_DATATYPES t, void * val):
5665
* if t == adios_byte : # <<<<<<<<<<<<<<
5666
* return (<char *> val)[0]
5667
* elif t == adios_short:
5672
* cdef adios2scalar(ADIOS_DATATYPES t, void * val):
5673
* if t == adios_byte :
5674
* return (<char *> val)[0] # <<<<<<<<<<<<<<
5675
* elif t == adios_short:
5676
* return (<short *> val)[0]
5678
__Pyx_XDECREF(__pyx_r);
5679
__pyx_t_1 = PyInt_FromLong((((char *)__pyx_v_val)[0])); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 395; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5680
__Pyx_GOTREF(__pyx_t_1);
5681
__pyx_r = __pyx_t_1;
5687
* if t == adios_byte :
5688
* return (<char *> val)[0]
5689
* elif t == adios_short: # <<<<<<<<<<<<<<
5690
* return (<short *> val)[0]
5691
* elif t == adios_integer:
5696
* return (<char *> val)[0]
5697
* elif t == adios_short:
5698
* return (<short *> val)[0] # <<<<<<<<<<<<<<
5699
* elif t == adios_integer:
5700
* return (<int *> val)[0]
5702
__Pyx_XDECREF(__pyx_r);
5703
__pyx_t_1 = PyInt_FromLong((((short *)__pyx_v_val)[0])); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 397; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5704
__Pyx_GOTREF(__pyx_t_1);
5705
__pyx_r = __pyx_t_1;
5711
* elif t == adios_short:
5712
* return (<short *> val)[0]
5713
* elif t == adios_integer: # <<<<<<<<<<<<<<
5714
* return (<int *> val)[0]
5715
* elif t == adios_long:
5720
* return (<short *> val)[0]
5721
* elif t == adios_integer:
5722
* return (<int *> val)[0] # <<<<<<<<<<<<<<
5723
* elif t == adios_long:
5724
* return (<long *> val)[0]
5726
__Pyx_XDECREF(__pyx_r);
5727
__pyx_t_1 = PyInt_FromLong((((int *)__pyx_v_val)[0])); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 399; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5728
__Pyx_GOTREF(__pyx_t_1);
5729
__pyx_r = __pyx_t_1;
5735
* elif t == adios_integer:
5736
* return (<int *> val)[0]
5737
* elif t == adios_long: # <<<<<<<<<<<<<<
5738
* return (<long *> val)[0]
5739
* elif t == adios_unsigned_byte:
5744
* return (<int *> val)[0]
5745
* elif t == adios_long:
5746
* return (<long *> val)[0] # <<<<<<<<<<<<<<
5747
* elif t == adios_unsigned_byte:
5748
* return (<unsigned char *> val)[0]
5750
__Pyx_XDECREF(__pyx_r);
5751
__pyx_t_1 = PyInt_FromLong((((long *)__pyx_v_val)[0])); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5752
__Pyx_GOTREF(__pyx_t_1);
5753
__pyx_r = __pyx_t_1;
5759
* elif t == adios_long:
5760
* return (<long *> val)[0]
5761
* elif t == adios_unsigned_byte: # <<<<<<<<<<<<<<
5762
* return (<unsigned char *> val)[0]
5763
* elif t == adios_unsigned_short:
5765
case adios_unsigned_byte:
5768
* return (<long *> val)[0]
5769
* elif t == adios_unsigned_byte:
5770
* return (<unsigned char *> val)[0] # <<<<<<<<<<<<<<
5771
* elif t == adios_unsigned_short:
5772
* return (<unsigned short *> val)[0]
5774
__Pyx_XDECREF(__pyx_r);
5775
__pyx_t_1 = PyInt_FromLong((((unsigned char *)__pyx_v_val)[0])); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 403; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5776
__Pyx_GOTREF(__pyx_t_1);
5777
__pyx_r = __pyx_t_1;
5783
* elif t == adios_unsigned_byte:
5784
* return (<unsigned char *> val)[0]
5785
* elif t == adios_unsigned_short: # <<<<<<<<<<<<<<
5786
* return (<unsigned short *> val)[0]
5787
* elif t == adios_unsigned_integer:
5789
case adios_unsigned_short:
5792
* return (<unsigned char *> val)[0]
5793
* elif t == adios_unsigned_short:
5794
* return (<unsigned short *> val)[0] # <<<<<<<<<<<<<<
5795
* elif t == adios_unsigned_integer:
5796
* return (<unsigned int *> val)[0]
5798
__Pyx_XDECREF(__pyx_r);
5799
__pyx_t_1 = PyInt_FromLong((((unsigned short *)__pyx_v_val)[0])); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 405; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5800
__Pyx_GOTREF(__pyx_t_1);
5801
__pyx_r = __pyx_t_1;
5807
* elif t == adios_unsigned_short:
5808
* return (<unsigned short *> val)[0]
5809
* elif t == adios_unsigned_integer: # <<<<<<<<<<<<<<
5810
* return (<unsigned int *> val)[0]
5811
* elif t == adios_unsigned_long:
5813
case adios_unsigned_integer:
5816
* return (<unsigned short *> val)[0]
5817
* elif t == adios_unsigned_integer:
5818
* return (<unsigned int *> val)[0] # <<<<<<<<<<<<<<
5819
* elif t == adios_unsigned_long:
5820
* return (<unsigned long *> val)[0]
5822
__Pyx_XDECREF(__pyx_r);
5823
__pyx_t_1 = PyLong_FromUnsignedLong((((unsigned int *)__pyx_v_val)[0])); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 407; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5824
__Pyx_GOTREF(__pyx_t_1);
5825
__pyx_r = __pyx_t_1;
5831
* elif t == adios_unsigned_integer:
5832
* return (<unsigned int *> val)[0]
5833
* elif t == adios_unsigned_long: # <<<<<<<<<<<<<<
5834
* return (<unsigned long *> val)[0]
5835
* elif t == adios_real:
5837
case adios_unsigned_long:
5840
* return (<unsigned int *> val)[0]
5841
* elif t == adios_unsigned_long:
5842
* return (<unsigned long *> val)[0] # <<<<<<<<<<<<<<
5843
* elif t == adios_real:
5844
* return (<float *> val)[0]
5846
__Pyx_XDECREF(__pyx_r);
5847
__pyx_t_1 = PyLong_FromUnsignedLong((((unsigned long *)__pyx_v_val)[0])); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 409; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5848
__Pyx_GOTREF(__pyx_t_1);
5849
__pyx_r = __pyx_t_1;
5855
* elif t == adios_unsigned_long:
5856
* return (<unsigned long *> val)[0]
5857
* elif t == adios_real: # <<<<<<<<<<<<<<
5858
* return (<float *> val)[0]
5859
* elif t == adios_double:
5864
* return (<unsigned long *> val)[0]
5865
* elif t == adios_real:
5866
* return (<float *> val)[0] # <<<<<<<<<<<<<<
5867
* elif t == adios_double:
5868
* return (<double *> val)[0]
5870
__Pyx_XDECREF(__pyx_r);
5871
__pyx_t_1 = PyFloat_FromDouble((((float *)__pyx_v_val)[0])); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 411; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5872
__Pyx_GOTREF(__pyx_t_1);
5873
__pyx_r = __pyx_t_1;
5879
* elif t == adios_real:
5880
* return (<float *> val)[0]
5881
* elif t == adios_double: # <<<<<<<<<<<<<<
5882
* return (<double *> val)[0]
5883
* elif t == adios_long_double:
5888
* return (<float *> val)[0]
5889
* elif t == adios_double:
5890
* return (<double *> val)[0] # <<<<<<<<<<<<<<
5891
* elif t == adios_long_double:
5892
* return (<long double *> val)[0]
5894
__Pyx_XDECREF(__pyx_r);
5895
__pyx_t_1 = PyFloat_FromDouble((((double *)__pyx_v_val)[0])); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 413; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5896
__Pyx_GOTREF(__pyx_t_1);
5897
__pyx_r = __pyx_t_1;
5903
* elif t == adios_double:
5904
* return (<double *> val)[0]
5905
* elif t == adios_long_double: # <<<<<<<<<<<<<<
5906
* return (<long double *> val)[0]
5909
case adios_long_double:
5912
* return (<double *> val)[0]
5913
* elif t == adios_long_double:
5914
* return (<long double *> val)[0] # <<<<<<<<<<<<<<
5918
__Pyx_XDECREF(__pyx_r);
5919
__pyx_t_1 = PyFloat_FromDouble((((long double *)__pyx_v_val)[0])); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 415; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5920
__Pyx_GOTREF(__pyx_t_1);
5921
__pyx_r = __pyx_t_1;
5928
* return (<long double *> val)[0]
5930
* return None # <<<<<<<<<<<<<<
5934
__Pyx_XDECREF(__pyx_r);
5935
__Pyx_INCREF(Py_None);
5941
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
5944
__Pyx_XDECREF(__pyx_t_1);
5945
__Pyx_AddTraceback("adios.adios2scalar", __pyx_clineno, __pyx_lineno, __pyx_filename);
5948
__Pyx_XGIVEREF(__pyx_r);
5949
__Pyx_RefNannyFinishContext();
5953
/* Python wrapper */
5954
static int __pyx_pw_5adios_9AdiosFile_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
5955
static int __pyx_pw_5adios_9AdiosFile_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
5155
__Pyx_AddTraceback("adios.printvar", __pyx_clineno, __pyx_lineno, __pyx_filename);
5158
__Pyx_XGIVEREF(__pyx_r);
5159
__Pyx_RefNannyFinishContext();
5164
* ## ====================
5166
* cpdef read_init(ADIOS_READ_METHOD method = ADIOS_READ_METHOD_BP, # <<<<<<<<<<<<<<
5167
* MPI_Comm comm = MPI_COMM_WORLD,
5168
* char * parameters = ""):
5171
static PyObject *__pyx_pw_5adios_33read_init(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
5172
static PyObject *__pyx_f_5adios_read_init(CYTHON_UNUSED int __pyx_skip_dispatch, struct __pyx_opt_args_5adios_read_init *__pyx_optional_args) {
5173
ADIOS_READ_METHOD __pyx_v_method = __pyx_k__4;
5174
MPI_Comm __pyx_v_comm = __pyx_k__5;
5175
char *__pyx_v_parameters = ((char *)__pyx_k__6);
5176
PyObject *__pyx_r = NULL;
5177
__Pyx_RefNannyDeclarations
5178
PyObject *__pyx_t_1 = NULL;
5179
int __pyx_lineno = 0;
5180
const char *__pyx_filename = NULL;
5181
int __pyx_clineno = 0;
5182
__Pyx_RefNannySetupContext("read_init", 0);
5183
if (__pyx_optional_args) {
5184
if (__pyx_optional_args->__pyx_n > 0) {
5185
__pyx_v_method = __pyx_optional_args->method;
5186
if (__pyx_optional_args->__pyx_n > 1) {
5187
__pyx_v_comm = __pyx_optional_args->comm;
5188
if (__pyx_optional_args->__pyx_n > 2) {
5189
__pyx_v_parameters = __pyx_optional_args->parameters;
5196
* MPI_Comm comm = MPI_COMM_WORLD,
5197
* char * parameters = ""):
5198
* return adios_read_init_method (method, comm, parameters) # <<<<<<<<<<<<<<
5202
__Pyx_XDECREF(__pyx_r);
5203
__pyx_t_1 = __Pyx_PyInt_From_int(adios_read_init_method(__pyx_v_method, __pyx_v_comm, __pyx_v_parameters)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 425; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5204
__Pyx_GOTREF(__pyx_t_1);
5205
__pyx_r = __pyx_t_1;
5210
* ## ====================
5212
* cpdef read_init(ADIOS_READ_METHOD method = ADIOS_READ_METHOD_BP, # <<<<<<<<<<<<<<
5213
* MPI_Comm comm = MPI_COMM_WORLD,
5214
* char * parameters = ""):
5217
/* function exit code */
5219
__Pyx_XDECREF(__pyx_t_1);
5220
__Pyx_AddTraceback("adios.read_init", __pyx_clineno, __pyx_lineno, __pyx_filename);
5223
__Pyx_XGIVEREF(__pyx_r);
5224
__Pyx_RefNannyFinishContext();
5228
/* Python wrapper */
5229
static PyObject *__pyx_pw_5adios_33read_init(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
5230
static PyObject *__pyx_pw_5adios_33read_init(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
5231
ADIOS_READ_METHOD __pyx_v_method;
5232
MPI_Comm __pyx_v_comm;
5233
char *__pyx_v_parameters;
5234
int __pyx_lineno = 0;
5235
const char *__pyx_filename = NULL;
5236
int __pyx_clineno = 0;
5237
PyObject *__pyx_r = 0;
5238
__Pyx_RefNannyDeclarations
5239
__Pyx_RefNannySetupContext("read_init (wrapper)", 0);
5241
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_method,&__pyx_n_s_comm,&__pyx_n_s_parameters,0};
5242
PyObject* values[3] = {0,0,0};
5243
if (unlikely(__pyx_kwds)) {
5245
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
5247
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
5248
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
5249
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
5251
default: goto __pyx_L5_argtuple_error;
5253
kw_args = PyDict_Size(__pyx_kwds);
5257
PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_method);
5258
if (value) { values[0] = value; kw_args--; }
5262
PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_comm);
5263
if (value) { values[1] = value; kw_args--; }
5267
PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_parameters);
5268
if (value) { values[2] = value; kw_args--; }
5271
if (unlikely(kw_args > 0)) {
5272
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "read_init") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 422; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5275
switch (PyTuple_GET_SIZE(__pyx_args)) {
5276
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
5277
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
5278
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
5280
default: goto __pyx_L5_argtuple_error;
5284
__pyx_v_method = ((ADIOS_READ_METHOD)PyInt_AsLong(values[0])); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 422; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5286
__pyx_v_method = __pyx_k__4;
5289
__pyx_v_comm = __Pyx_PyInt_As_MPI_Comm(values[1]); if (unlikely((__pyx_v_comm == (MPI_Comm)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 423; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5291
__pyx_v_comm = __pyx_k__5;
5294
__pyx_v_parameters = __Pyx_PyObject_AsString(values[2]); if (unlikely((!__pyx_v_parameters) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 424; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5296
__pyx_v_parameters = ((char *)__pyx_k__6);
5299
goto __pyx_L4_argument_unpacking_done;
5300
__pyx_L5_argtuple_error:;
5301
__Pyx_RaiseArgtupleInvalid("read_init", 0, 0, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 422; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5303
__Pyx_AddTraceback("adios.read_init", __pyx_clineno, __pyx_lineno, __pyx_filename);
5304
__Pyx_RefNannyFinishContext();
5306
__pyx_L4_argument_unpacking_done:;
5307
__pyx_r = __pyx_pf_5adios_32read_init(__pyx_self, __pyx_v_method, __pyx_v_comm, __pyx_v_parameters);
5309
/* function exit code */
5310
__Pyx_RefNannyFinishContext();
5314
static PyObject *__pyx_pf_5adios_32read_init(CYTHON_UNUSED PyObject *__pyx_self, ADIOS_READ_METHOD __pyx_v_method, MPI_Comm __pyx_v_comm, char *__pyx_v_parameters) {
5315
PyObject *__pyx_r = NULL;
5316
__Pyx_RefNannyDeclarations
5317
PyObject *__pyx_t_1 = NULL;
5318
struct __pyx_opt_args_5adios_read_init __pyx_t_2;
5319
int __pyx_lineno = 0;
5320
const char *__pyx_filename = NULL;
5321
int __pyx_clineno = 0;
5322
__Pyx_RefNannySetupContext("read_init", 0);
5323
__Pyx_XDECREF(__pyx_r);
5324
__pyx_t_2.__pyx_n = 3;
5325
__pyx_t_2.method = __pyx_v_method;
5326
__pyx_t_2.comm = __pyx_v_comm;
5327
__pyx_t_2.parameters = __pyx_v_parameters;
5328
__pyx_t_1 = __pyx_f_5adios_read_init(0, &__pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 422; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5329
__Pyx_GOTREF(__pyx_t_1);
5330
__pyx_r = __pyx_t_1;
5334
/* function exit code */
5336
__Pyx_XDECREF(__pyx_t_1);
5337
__Pyx_AddTraceback("adios.read_init", __pyx_clineno, __pyx_lineno, __pyx_filename);
5340
__Pyx_XGIVEREF(__pyx_r);
5341
__Pyx_RefNannyFinishContext();
5348
* cpdef read_finalize(ADIOS_READ_METHOD method = ADIOS_READ_METHOD_BP): # <<<<<<<<<<<<<<
5349
* return adios_read_finalize_method (method)
5353
static PyObject *__pyx_pw_5adios_35read_finalize(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
5354
static PyObject *__pyx_f_5adios_read_finalize(CYTHON_UNUSED int __pyx_skip_dispatch, struct __pyx_opt_args_5adios_read_finalize *__pyx_optional_args) {
5355
ADIOS_READ_METHOD __pyx_v_method = __pyx_k__7;
5356
PyObject *__pyx_r = NULL;
5357
__Pyx_RefNannyDeclarations
5358
PyObject *__pyx_t_1 = NULL;
5359
int __pyx_lineno = 0;
5360
const char *__pyx_filename = NULL;
5361
int __pyx_clineno = 0;
5362
__Pyx_RefNannySetupContext("read_finalize", 0);
5363
if (__pyx_optional_args) {
5364
if (__pyx_optional_args->__pyx_n > 0) {
5365
__pyx_v_method = __pyx_optional_args->method;
5371
* cpdef read_finalize(ADIOS_READ_METHOD method = ADIOS_READ_METHOD_BP):
5372
* return adios_read_finalize_method (method) # <<<<<<<<<<<<<<
5376
__Pyx_XDECREF(__pyx_r);
5377
__pyx_t_1 = __Pyx_PyInt_From_int(adios_read_finalize_method(__pyx_v_method)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 429; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5378
__Pyx_GOTREF(__pyx_t_1);
5379
__pyx_r = __pyx_t_1;
5386
* cpdef read_finalize(ADIOS_READ_METHOD method = ADIOS_READ_METHOD_BP): # <<<<<<<<<<<<<<
5387
* return adios_read_finalize_method (method)
5391
/* function exit code */
5393
__Pyx_XDECREF(__pyx_t_1);
5394
__Pyx_AddTraceback("adios.read_finalize", __pyx_clineno, __pyx_lineno, __pyx_filename);
5397
__Pyx_XGIVEREF(__pyx_r);
5398
__Pyx_RefNannyFinishContext();
5402
/* Python wrapper */
5403
static PyObject *__pyx_pw_5adios_35read_finalize(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
5404
static PyObject *__pyx_pw_5adios_35read_finalize(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
5405
ADIOS_READ_METHOD __pyx_v_method;
5406
int __pyx_lineno = 0;
5407
const char *__pyx_filename = NULL;
5408
int __pyx_clineno = 0;
5409
PyObject *__pyx_r = 0;
5410
__Pyx_RefNannyDeclarations
5411
__Pyx_RefNannySetupContext("read_finalize (wrapper)", 0);
5413
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_method,0};
5414
PyObject* values[1] = {0};
5415
if (unlikely(__pyx_kwds)) {
5417
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
5419
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
5421
default: goto __pyx_L5_argtuple_error;
5423
kw_args = PyDict_Size(__pyx_kwds);
5427
PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_method);
5428
if (value) { values[0] = value; kw_args--; }
5431
if (unlikely(kw_args > 0)) {
5432
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "read_finalize") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 428; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5435
switch (PyTuple_GET_SIZE(__pyx_args)) {
5436
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
5438
default: goto __pyx_L5_argtuple_error;
5442
__pyx_v_method = ((ADIOS_READ_METHOD)PyInt_AsLong(values[0])); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 428; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5444
__pyx_v_method = __pyx_k__7;
5447
goto __pyx_L4_argument_unpacking_done;
5448
__pyx_L5_argtuple_error:;
5449
__Pyx_RaiseArgtupleInvalid("read_finalize", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 428; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5451
__Pyx_AddTraceback("adios.read_finalize", __pyx_clineno, __pyx_lineno, __pyx_filename);
5452
__Pyx_RefNannyFinishContext();
5454
__pyx_L4_argument_unpacking_done:;
5455
__pyx_r = __pyx_pf_5adios_34read_finalize(__pyx_self, __pyx_v_method);
5457
/* function exit code */
5458
__Pyx_RefNannyFinishContext();
5462
static PyObject *__pyx_pf_5adios_34read_finalize(CYTHON_UNUSED PyObject *__pyx_self, ADIOS_READ_METHOD __pyx_v_method) {
5463
PyObject *__pyx_r = NULL;
5464
__Pyx_RefNannyDeclarations
5465
PyObject *__pyx_t_1 = NULL;
5466
struct __pyx_opt_args_5adios_read_finalize __pyx_t_2;
5467
int __pyx_lineno = 0;
5468
const char *__pyx_filename = NULL;
5469
int __pyx_clineno = 0;
5470
__Pyx_RefNannySetupContext("read_finalize", 0);
5471
__Pyx_XDECREF(__pyx_r);
5472
__pyx_t_2.__pyx_n = 1;
5473
__pyx_t_2.method = __pyx_v_method;
5474
__pyx_t_1 = __pyx_f_5adios_read_finalize(0, &__pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 428; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5475
__Pyx_GOTREF(__pyx_t_1);
5476
__pyx_r = __pyx_t_1;
5480
/* function exit code */
5482
__Pyx_XDECREF(__pyx_t_1);
5483
__Pyx_AddTraceback("adios.read_finalize", __pyx_clineno, __pyx_lineno, __pyx_filename);
5486
__Pyx_XGIVEREF(__pyx_r);
5487
__Pyx_RefNannyFinishContext();
5492
* cpdef public dict attr
5494
* def __init__(self, char * fname, # <<<<<<<<<<<<<<
5495
* ADIOS_READ_METHOD method = ADIOS_READ_METHOD_BP,
5496
* MPI_Comm comm = MPI_COMM_WORLD):
5499
/* Python wrapper */
5500
static int __pyx_pw_5adios_4file_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
5501
static int __pyx_pw_5adios_4file_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
5956
5502
char *__pyx_v_fname;
5957
struct PyMPICommObject *__pyx_v_comm = 0;
5503
ADIOS_READ_METHOD __pyx_v_method;
5504
MPI_Comm __pyx_v_comm;
5958
5505
int __pyx_lineno = 0;
5959
5506
const char *__pyx_filename = NULL;
5960
5507
int __pyx_clineno = 0;
6043
5593
int __pyx_clineno = 0;
6044
5594
__Pyx_RefNannySetupContext("__init__", 0);
6048
* def __init__(self, char * fname, MPI.Comm comm = MPI.COMM_WORLD):
6049
* self.fp = NULL # <<<<<<<<<<<<<<
6053
__pyx_v_self->fp = NULL;
6056
* def __init__(self, char * fname, MPI.Comm comm = MPI.COMM_WORLD):
6058
* self.group = {} # <<<<<<<<<<<<<<
6060
* self.fp = adios_fopen(fname, comm.ob_mpi)
6062
__pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 442; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6063
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
6064
__Pyx_GIVEREF(((PyObject *)__pyx_t_1));
6065
__Pyx_GOTREF(__pyx_v_self->group);
6066
__Pyx_DECREF(((PyObject *)__pyx_v_self->group));
6067
__pyx_v_self->group = ((PyObject*)__pyx_t_1);
6073
* self.fp = adios_fopen(fname, comm.ob_mpi) # <<<<<<<<<<<<<<
6074
* assert self.fp != NULL, 'Not an open file'
6077
__pyx_v_self->fp = adios_fopen(__pyx_v_fname, __pyx_v_comm->ob_mpi);
6081
* self.fp = adios_fopen(fname, comm.ob_mpi)
6082
* assert self.fp != NULL, 'Not an open file' # <<<<<<<<<<<<<<
6084
* self.name = fname.split('/')[-1] ## basename
6086
#ifndef CYTHON_WITHOUT_ASSERTIONS
6087
if (unlikely(!((__pyx_v_self->fp != NULL) != 0))) {
6088
PyErr_SetObject(PyExc_AssertionError, ((PyObject *)__pyx_kp_s_11));
6089
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 445; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6094
* assert self.fp != NULL, 'Not an open file'
6096
* self.name = fname.split('/')[-1] ## basename # <<<<<<<<<<<<<<
6097
* self.groups_count = self.fp.groups_count
6098
* self.vars_count = self.fp.vars_count
6100
__pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_fname); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6101
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
6102
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_t_1), __pyx_n_s__split); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6103
__Pyx_GOTREF(__pyx_t_2);
6104
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
6105
__pyx_t_1 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_k_tuple_13), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6106
__Pyx_GOTREF(__pyx_t_1);
6107
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
6108
__pyx_t_2 = __Pyx_GetItemInt(__pyx_t_1, -1, sizeof(long), PyInt_FromLong, 0, 1, 1); if (!__pyx_t_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6109
__Pyx_GOTREF(__pyx_t_2);
6110
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6111
if (!(likely(PyBytes_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected bytes, got %.200s", Py_TYPE(__pyx_t_2)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6112
__Pyx_GIVEREF(__pyx_t_2);
6113
__Pyx_GOTREF(__pyx_v_self->name);
6114
__Pyx_DECREF(((PyObject *)__pyx_v_self->name));
6115
__pyx_v_self->name = ((PyObject*)__pyx_t_2);
6120
* self.name = fname.split('/')[-1] ## basename
6121
* self.groups_count = self.fp.groups_count # <<<<<<<<<<<<<<
6122
* self.vars_count = self.fp.vars_count
6123
* self.attrs_count = self.fp.attrs_count
6125
__pyx_t_3 = __pyx_v_self->fp->groups_count;
6126
__pyx_v_self->groups_count = __pyx_t_3;
6129
* self.name = fname.split('/')[-1] ## basename
6130
* self.groups_count = self.fp.groups_count
6131
* self.vars_count = self.fp.vars_count # <<<<<<<<<<<<<<
6132
* self.attrs_count = self.fp.attrs_count
6133
* self.tidx_start = self.fp.tidx_start
6135
__pyx_t_3 = __pyx_v_self->fp->vars_count;
6136
__pyx_v_self->vars_count = __pyx_t_3;
6139
* self.groups_count = self.fp.groups_count
6140
* self.vars_count = self.fp.vars_count
6141
* self.attrs_count = self.fp.attrs_count # <<<<<<<<<<<<<<
6142
* self.tidx_start = self.fp.tidx_start
6143
* self.ntimesteps = self.fp.ntimesteps
6145
__pyx_t_3 = __pyx_v_self->fp->attrs_count;
6146
__pyx_v_self->attrs_count = __pyx_t_3;
6148
5596
/* "adios.pyx":451
6149
* self.vars_count = self.fp.vars_count
6150
* self.attrs_count = self.fp.attrs_count
6151
* self.tidx_start = self.fp.tidx_start # <<<<<<<<<<<<<<
6152
* self.ntimesteps = self.fp.ntimesteps
6153
* self.version = self.fp.version
5597
* ADIOS_READ_METHOD method = ADIOS_READ_METHOD_BP,
5598
* MPI_Comm comm = MPI_COMM_WORLD):
5599
* self.fp = NULL # <<<<<<<<<<<<<<
6155
__pyx_t_3 = __pyx_v_self->fp->tidx_start;
6156
__pyx_v_self->tidx_start = __pyx_t_3;
5603
__pyx_v_self->fp = NULL;
6158
5605
/* "adios.pyx":452
6159
* self.attrs_count = self.fp.attrs_count
6160
* self.tidx_start = self.fp.tidx_start
6161
* self.ntimesteps = self.fp.ntimesteps # <<<<<<<<<<<<<<
6162
* self.version = self.fp.version
6163
* self.file_size = self.fp.file_size
5606
* MPI_Comm comm = MPI_COMM_WORLD):
5608
* self.var = {} # <<<<<<<<<<<<<<
6165
__pyx_t_3 = __pyx_v_self->fp->ntimesteps;
6166
__pyx_v_self->ntimesteps = __pyx_t_3;
5612
__pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 452; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5613
__Pyx_GOTREF(__pyx_t_1);
5614
__Pyx_GIVEREF(__pyx_t_1);
5615
__Pyx_GOTREF(__pyx_v_self->var);
5616
__Pyx_DECREF(__pyx_v_self->var);
5617
__pyx_v_self->var = ((PyObject*)__pyx_t_1);
6168
5620
/* "adios.pyx":453
6169
* self.tidx_start = self.fp.tidx_start
6170
* self.ntimesteps = self.fp.ntimesteps
6171
* self.version = self.fp.version # <<<<<<<<<<<<<<
6172
* self.file_size = self.fp.file_size
6173
* self.endianness = self.fp.endianness
5623
* self.attr = {} # <<<<<<<<<<<<<<
5625
* self.fp = adios_read_open_file(fname, method, comm)
5627
__pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 453; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5628
__Pyx_GOTREF(__pyx_t_1);
5629
__Pyx_GIVEREF(__pyx_t_1);
5630
__Pyx_GOTREF(__pyx_v_self->attr);
5631
__Pyx_DECREF(__pyx_v_self->attr);
5632
__pyx_v_self->attr = ((PyObject*)__pyx_t_1);
5638
* self.fp = adios_read_open_file(fname, method, comm) # <<<<<<<<<<<<<<
5639
* assert self.fp != NULL, 'Not an open file'
5642
__pyx_v_self->fp = adios_read_open_file(__pyx_v_fname, __pyx_v_method, __pyx_v_comm);
5646
* self.fp = adios_read_open_file(fname, method, comm)
5647
* assert self.fp != NULL, 'Not an open file' # <<<<<<<<<<<<<<
5649
* self.name = fname.split('/')[-1] ## basename
5651
#ifndef CYTHON_WITHOUT_ASSERTIONS
5652
if (unlikely(!Py_OptimizeFlag)) {
5653
if (unlikely(!((__pyx_v_self->fp != NULL) != 0))) {
5654
PyErr_SetObject(PyExc_AssertionError, __pyx_kp_s_Not_an_open_file);
5655
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 456; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5661
* assert self.fp != NULL, 'Not an open file'
5663
* self.name = fname.split('/')[-1] ## basename # <<<<<<<<<<<<<<
5664
* self.nvars = self.fp.nvars
5665
* self.nattrs = self.fp.nattrs
5667
__pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_fname); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5668
__Pyx_GOTREF(__pyx_t_1);
5669
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_split); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5670
__Pyx_GOTREF(__pyx_t_2);
5671
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5672
__pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_tuple__11, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5673
__Pyx_GOTREF(__pyx_t_1);
5674
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5675
__pyx_t_2 = __Pyx_GetItemInt(__pyx_t_1, -1, long, 1, __Pyx_PyInt_From_long, 0, 1, 1); if (unlikely(__pyx_t_2 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 458; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
5676
__Pyx_GOTREF(__pyx_t_2);
5677
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5678
if (!(likely(PyBytes_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "bytes", Py_TYPE(__pyx_t_2)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5679
__Pyx_GIVEREF(__pyx_t_2);
5680
__Pyx_GOTREF(__pyx_v_self->name);
5681
__Pyx_DECREF(__pyx_v_self->name);
5682
__pyx_v_self->name = ((PyObject*)__pyx_t_2);
5687
* self.name = fname.split('/')[-1] ## basename
5688
* self.nvars = self.fp.nvars # <<<<<<<<<<<<<<
5689
* self.nattrs = self.fp.nattrs
5690
* self.current_step = self.fp.current_step
5692
__pyx_t_3 = __pyx_v_self->fp->nvars;
5693
__pyx_v_self->nvars = __pyx_t_3;
5696
* self.name = fname.split('/')[-1] ## basename
5697
* self.nvars = self.fp.nvars
5698
* self.nattrs = self.fp.nattrs # <<<<<<<<<<<<<<
5699
* self.current_step = self.fp.current_step
5700
* self.last_step = self.fp.last_step
5702
__pyx_t_3 = __pyx_v_self->fp->nattrs;
5703
__pyx_v_self->nattrs = __pyx_t_3;
5706
* self.nvars = self.fp.nvars
5707
* self.nattrs = self.fp.nattrs
5708
* self.current_step = self.fp.current_step # <<<<<<<<<<<<<<
5709
* self.last_step = self.fp.last_step
5710
* self.endianness = self.fp.endianness
5712
__pyx_t_3 = __pyx_v_self->fp->current_step;
5713
__pyx_v_self->current_step = __pyx_t_3;
5716
* self.nattrs = self.fp.nattrs
5717
* self.current_step = self.fp.current_step
5718
* self.last_step = self.fp.last_step # <<<<<<<<<<<<<<
5719
* self.endianness = self.fp.endianness
5720
* self.version = self.fp.version
5722
__pyx_t_3 = __pyx_v_self->fp->last_step;
5723
__pyx_v_self->last_step = __pyx_t_3;
5726
* self.current_step = self.fp.current_step
5727
* self.last_step = self.fp.last_step
5728
* self.endianness = self.fp.endianness # <<<<<<<<<<<<<<
5729
* self.version = self.fp.version
5730
* self.file_size = self.fp.file_size
5732
__pyx_t_3 = __pyx_v_self->fp->endianness;
5733
__pyx_v_self->endianness = __pyx_t_3;
5736
* self.last_step = self.fp.last_step
5737
* self.endianness = self.fp.endianness
5738
* self.version = self.fp.version # <<<<<<<<<<<<<<
5739
* self.file_size = self.fp.file_size
6175
5742
__pyx_t_3 = __pyx_v_self->fp->version;
6176
5743
__pyx_v_self->version = __pyx_t_3;
6179
* self.ntimesteps = self.fp.ntimesteps
6180
* self.version = self.fp.version
6181
* self.file_size = self.fp.file_size # <<<<<<<<<<<<<<
6182
* self.endianness = self.fp.endianness
5746
* self.endianness = self.fp.endianness
5747
* self.version = self.fp.version
5748
* self.file_size = self.fp.file_size # <<<<<<<<<<<<<<
5750
* for varname in [self.fp.var_namelist[i] for i in range(self.nvars)]:
6185
5752
__pyx_t_4 = __pyx_v_self->fp->file_size;
6186
5753
__pyx_v_self->file_size = __pyx_t_4;
6189
* self.version = self.fp.version
6190
* self.file_size = self.fp.file_size
6191
* self.endianness = self.fp.endianness # <<<<<<<<<<<<<<
6195
__pyx_t_3 = __pyx_v_self->fp->endianness;
6196
__pyx_v_self->endianness = __pyx_t_3;
6201
* for grpname in [self.fp.group_namelist[i] for i in range(self.groups_count)]: # <<<<<<<<<<<<<<
6202
* g = AdiosGroup(self, grpname)
6203
* self.group[grpname] = g
6205
__pyx_t_2 = PyList_New(0); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5756
* self.file_size = self.fp.file_size
5758
* for varname in [self.fp.var_namelist[i] for i in range(self.nvars)]: # <<<<<<<<<<<<<<
5759
* self.var[varname] = var(self, varname)
5762
__pyx_t_2 = PyList_New(0); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 467; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6206
5763
__Pyx_GOTREF(__pyx_t_2);
6207
__pyx_t_3 = __pyx_v_self->groups_count;
5764
__pyx_t_3 = __pyx_v_self->nvars;
6208
5765
for (__pyx_t_5 = 0; __pyx_t_5 < __pyx_t_3; __pyx_t_5+=1) {
6209
5766
__pyx_v_i = __pyx_t_5;
6210
__pyx_t_1 = __Pyx_PyBytes_FromString((__pyx_v_self->fp->group_namelist[__pyx_v_i])); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6211
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
6212
if (unlikely(__Pyx_ListComp_Append(__pyx_t_2, (PyObject*)__pyx_t_1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6213
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
5767
__pyx_t_1 = __Pyx_PyBytes_FromString((__pyx_v_self->fp->var_namelist[__pyx_v_i])); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 467; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5768
__Pyx_GOTREF(__pyx_t_1);
5769
if (unlikely(__Pyx_ListComp_Append(__pyx_t_2, (PyObject*)__pyx_t_1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 467; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5770
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6215
__pyx_t_1 = ((PyObject *)__pyx_t_2); __Pyx_INCREF(__pyx_t_1); __pyx_t_6 = 0;
6216
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
5772
__pyx_t_1 = __pyx_t_2; __Pyx_INCREF(__pyx_t_1); __pyx_t_6 = 0;
5773
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
6218
5775
if (__pyx_t_6 >= PyList_GET_SIZE(__pyx_t_1)) break;
6219
5776
#if CYTHON_COMPILING_IN_CPYTHON
6220
__pyx_t_2 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_6); __Pyx_INCREF(__pyx_t_2); __pyx_t_6++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5777
__pyx_t_2 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_6); __Pyx_INCREF(__pyx_t_2); __pyx_t_6++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 467; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6222
__pyx_t_2 = PySequence_ITEM(__pyx_t_1, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5779
__pyx_t_2 = PySequence_ITEM(__pyx_t_1, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 467; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6224
__Pyx_XDECREF(__pyx_v_grpname);
6225
__pyx_v_grpname = __pyx_t_2;
5781
__Pyx_XDECREF_SET(__pyx_v_varname, __pyx_t_2);
6230
* for grpname in [self.fp.group_namelist[i] for i in range(self.groups_count)]:
6231
* g = AdiosGroup(self, grpname) # <<<<<<<<<<<<<<
6232
* self.group[grpname] = g
5786
* for varname in [self.fp.var_namelist[i] for i in range(self.nvars)]:
5787
* self.var[varname] = var(self, varname) # <<<<<<<<<<<<<<
5789
* def __del__(self):
6235
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5791
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 468; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6236
5792
__Pyx_GOTREF(__pyx_t_2);
6237
5793
__Pyx_INCREF(((PyObject *)__pyx_v_self));
6238
5794
PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
6239
5795
__Pyx_GIVEREF(((PyObject *)__pyx_v_self));
6240
__Pyx_INCREF(__pyx_v_grpname);
6241
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_grpname);
6242
__Pyx_GIVEREF(__pyx_v_grpname);
6243
__pyx_t_7 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_5adios_AdiosGroup)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5796
__Pyx_INCREF(__pyx_v_varname);
5797
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_varname);
5798
__Pyx_GIVEREF(__pyx_v_varname);
5799
__pyx_t_7 = __Pyx_PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_5adios_var)), __pyx_t_2, NULL); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 468; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6244
5800
__Pyx_GOTREF(__pyx_t_7);
6245
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
6246
__Pyx_XDECREF(((PyObject *)__pyx_v_g));
6247
__pyx_v_g = ((struct __pyx_obj_5adios_AdiosGroup *)__pyx_t_7);
6251
* for grpname in [self.fp.group_namelist[i] for i in range(self.groups_count)]:
6252
* g = AdiosGroup(self, grpname)
6253
* self.group[grpname] = g # <<<<<<<<<<<<<<
6255
* def __del__(self):
6257
if (unlikely(((PyObject *)__pyx_v_self->group) == Py_None)) {
5801
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5802
if (unlikely(__pyx_v_self->var == Py_None)) {
6258
5803
PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
6259
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 460; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5804
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 468; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6261
if (PyDict_SetItem(((PyObject *)__pyx_v_self->group), __pyx_v_grpname, ((PyObject *)__pyx_v_g)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 460; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5806
if (unlikely(PyDict_SetItem(__pyx_v_self->var, __pyx_v_varname, __pyx_t_7) < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 468; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5807
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
6263
5809
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5812
* cpdef public dict attr
5814
* def __init__(self, char * fname, # <<<<<<<<<<<<<<
5815
* ADIOS_READ_METHOD method = ADIOS_READ_METHOD_BP,
5816
* MPI_Comm comm = MPI_COMM_WORLD):
5819
/* function exit code */
6267
5822
__pyx_L1_error:;
6268
5823
__Pyx_XDECREF(__pyx_t_1);
6269
5824
__Pyx_XDECREF(__pyx_t_2);
6270
5825
__Pyx_XDECREF(__pyx_t_7);
6271
__Pyx_AddTraceback("adios.AdiosFile.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
5826
__Pyx_AddTraceback("adios.file.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
6274
__Pyx_XDECREF((PyObject *)__pyx_v_g);
6275
__Pyx_XDECREF(__pyx_v_grpname);
5829
__Pyx_XDECREF(__pyx_v_varname);
6276
5830
__Pyx_RefNannyFinishContext();
6277
5831
return __pyx_r;
5835
* self.var[varname] = var(self, varname)
5837
* def __del__(self): # <<<<<<<<<<<<<<
6280
5842
/* Python wrapper */
6281
static PyObject *__pyx_pw_5adios_9AdiosFile_3__del__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
6282
static PyObject *__pyx_pw_5adios_9AdiosFile_3__del__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
5843
static PyObject *__pyx_pw_5adios_4file_3__del__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
5844
static PyObject *__pyx_pw_5adios_4file_3__del__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
6283
5845
PyObject *__pyx_r = 0;
6284
5846
__Pyx_RefNannyDeclarations
6285
5847
__Pyx_RefNannySetupContext("__del__ (wrapper)", 0);
6286
__pyx_r = __pyx_pf_5adios_9AdiosFile_2__del__(((struct __pyx_obj_5adios_AdiosFile *)__pyx_v_self));
5848
__pyx_r = __pyx_pf_5adios_4file_2__del__(((struct __pyx_obj_5adios_file *)__pyx_v_self));
5850
/* function exit code */
6287
5851
__Pyx_RefNannyFinishContext();
6288
5852
return __pyx_r;
6292
* self.group[grpname] = g
6294
* def __del__(self): # <<<<<<<<<<<<<<
6299
static PyObject *__pyx_pf_5adios_9AdiosFile_2__del__(struct __pyx_obj_5adios_AdiosFile *__pyx_v_self) {
5855
static PyObject *__pyx_pf_5adios_4file_2__del__(struct __pyx_obj_5adios_file *__pyx_v_self) {
6300
5856
PyObject *__pyx_r = NULL;
6301
5857
__Pyx_RefNannyDeclarations
6302
5858
PyObject *__pyx_t_1 = NULL;
7599
7178
__Pyx_DECREF(((PyObject *)__pyx_v_self->file));
7600
7179
__pyx_v_self->file = __pyx_v_file;
7603
* def __init__(self, AdiosFile file, char * name):
7605
* self.var = {} # <<<<<<<<<<<<<<
7607
* self.gp = adios_gopen(self.file.fp, name)
7609
__pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7610
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
7611
__Pyx_GIVEREF(((PyObject *)__pyx_t_1));
7612
__Pyx_GOTREF(__pyx_v_self->var);
7613
__Pyx_DECREF(((PyObject *)__pyx_v_self->var));
7614
__pyx_v_self->var = ((PyObject*)__pyx_t_1);
7620
* self.gp = adios_gopen(self.file.fp, name) # <<<<<<<<<<<<<<
7621
* assert self.gp != NULL, 'Not an open group'
7624
__pyx_v_self->gp = adios_gopen(__pyx_v_self->file->fp, __pyx_v_name);
7626
7181
/* "adios.pyx":499
7628
* self.gp = adios_gopen(self.file.fp, name)
7629
* assert self.gp != NULL, 'Not an open group' # <<<<<<<<<<<<<<
7182
* def __init__(self, file file, char * name):
7184
* self.vp = NULL # <<<<<<<<<<<<<<
7186
* assert self.file.fp != NULL, 'Not an open file'
7633
#ifndef CYTHON_WITHOUT_ASSERTIONS
7634
if (unlikely(!((__pyx_v_self->gp != NULL) != 0))) {
7635
PyErr_SetObject(PyExc_AssertionError, ((PyObject *)__pyx_kp_s_15));
7636
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 499; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7188
__pyx_v_self->vp = NULL;
7640
7190
/* "adios.pyx":501
7641
* assert self.gp != NULL, 'Not an open group'
7643
* self.name = name # <<<<<<<<<<<<<<
7644
* self.grpid = self.gp.grpid
7645
* self.vars_count = self.gp.vars_count
7193
* assert self.file.fp != NULL, 'Not an open file' # <<<<<<<<<<<<<<
7194
* self.vp = adios_inq_var(self.file.fp, name)
7195
* assert self.vp != NULL, 'Not a valid var'
7647
__pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_name); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 501; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7648
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
7649
__Pyx_GIVEREF(((PyObject *)__pyx_t_1));
7650
__Pyx_GOTREF(__pyx_v_self->name);
7651
__Pyx_DECREF(((PyObject *)__pyx_v_self->name));
7652
__pyx_v_self->name = ((PyObject*)__pyx_t_1);
7197
#ifndef CYTHON_WITHOUT_ASSERTIONS
7198
if (unlikely(!Py_OptimizeFlag)) {
7199
if (unlikely(!((__pyx_v_self->file->fp != NULL) != 0))) {
7200
PyErr_SetObject(PyExc_AssertionError, __pyx_kp_s_Not_an_open_file);
7201
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 501; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7655
7206
/* "adios.pyx":502
7658
* self.grpid = self.gp.grpid # <<<<<<<<<<<<<<
7659
* self.vars_count = self.gp.vars_count
7660
* self.attrs_count = self.gp.attrs_count
7208
* assert self.file.fp != NULL, 'Not an open file'
7209
* self.vp = adios_inq_var(self.file.fp, name) # <<<<<<<<<<<<<<
7210
* assert self.vp != NULL, 'Not a valid var'
7662
__pyx_t_2 = __pyx_v_self->gp->grpid;
7663
__pyx_v_self->grpid = __pyx_t_2;
7213
__pyx_v_self->vp = adios_inq_var(__pyx_v_self->file->fp, __pyx_v_name);
7665
7215
/* "adios.pyx":503
7667
* self.grpid = self.gp.grpid
7668
* self.vars_count = self.gp.vars_count # <<<<<<<<<<<<<<
7669
* self.attrs_count = self.gp.attrs_count
7670
* self.timestep = self.gp.timestep
7672
__pyx_t_2 = __pyx_v_self->gp->vars_count;
7673
__pyx_v_self->vars_count = __pyx_t_2;
7676
* self.grpid = self.gp.grpid
7677
* self.vars_count = self.gp.vars_count
7678
* self.attrs_count = self.gp.attrs_count # <<<<<<<<<<<<<<
7679
* self.timestep = self.gp.timestep
7680
* self.lasttimestep = self.gp.lasttimestep
7682
__pyx_t_2 = __pyx_v_self->gp->attrs_count;
7683
__pyx_v_self->attrs_count = __pyx_t_2;
7216
* assert self.file.fp != NULL, 'Not an open file'
7217
* self.vp = adios_inq_var(self.file.fp, name)
7218
* assert self.vp != NULL, 'Not a valid var' # <<<<<<<<<<<<<<
7222
#ifndef CYTHON_WITHOUT_ASSERTIONS
7223
if (unlikely(!Py_OptimizeFlag)) {
7224
if (unlikely(!((__pyx_v_self->vp != NULL) != 0))) {
7225
PyErr_SetObject(PyExc_AssertionError, __pyx_kp_s_Not_a_valid_var);
7226
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 503; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7685
7231
/* "adios.pyx":505
7686
* self.vars_count = self.gp.vars_count
7687
* self.attrs_count = self.gp.attrs_count
7688
* self.timestep = self.gp.timestep # <<<<<<<<<<<<<<
7689
* self.lasttimestep = self.gp.lasttimestep
7232
* assert self.vp != NULL, 'Not a valid var'
7234
* self.name = name # <<<<<<<<<<<<<<
7235
* self.varid = self.vp.varid
7236
* self.type = adios2nptype(self.vp.type)
7692
__pyx_t_2 = __pyx_v_self->gp->timestep;
7693
__pyx_v_self->timestep = __pyx_t_2;
7238
__pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_name); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 505; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7239
__Pyx_GOTREF(__pyx_t_1);
7240
__Pyx_GIVEREF(__pyx_t_1);
7241
__Pyx_GOTREF(__pyx_v_self->name);
7242
__Pyx_DECREF(__pyx_v_self->name);
7243
__pyx_v_self->name = ((PyObject*)__pyx_t_1);
7695
7246
/* "adios.pyx":506
7696
* self.attrs_count = self.gp.attrs_count
7697
* self.timestep = self.gp.timestep
7698
* self.lasttimestep = self.gp.lasttimestep # <<<<<<<<<<<<<<
7700
* cdef AdiosVariable v
7702
__pyx_t_2 = __pyx_v_self->gp->lasttimestep;
7703
__pyx_v_self->lasttimestep = __pyx_t_2;
7707
* cdef AdiosVariable v
7708
* for varname in [self.gp.var_namelist[i] for i in range(self.vars_count)]: # <<<<<<<<<<<<<<
7709
* v = AdiosVariable(self, varname)
7710
* self.var[varname] = v
7712
__pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 509; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7713
__Pyx_GOTREF(__pyx_t_1);
7714
__pyx_t_2 = __pyx_v_self->vars_count;
7715
for (__pyx_t_3 = 0; __pyx_t_3 < __pyx_t_2; __pyx_t_3+=1) {
7716
__pyx_v_i = __pyx_t_3;
7717
__pyx_t_4 = __Pyx_PyBytes_FromString((__pyx_v_self->gp->var_namelist[__pyx_v_i])); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 509; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7718
__Pyx_GOTREF(((PyObject *)__pyx_t_4));
7719
if (unlikely(__Pyx_ListComp_Append(__pyx_t_1, (PyObject*)__pyx_t_4))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 509; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7720
__Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
7722
__pyx_t_4 = ((PyObject *)__pyx_t_1); __Pyx_INCREF(__pyx_t_4); __pyx_t_5 = 0;
7723
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
7725
if (__pyx_t_5 >= PyList_GET_SIZE(__pyx_t_4)) break;
7726
#if CYTHON_COMPILING_IN_CPYTHON
7727
__pyx_t_1 = PyList_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_1); __pyx_t_5++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 509; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7729
__pyx_t_1 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 509; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7731
__Pyx_XDECREF(__pyx_v_varname);
7732
__pyx_v_varname = __pyx_t_1;
7736
* cdef AdiosVariable v
7737
* for varname in [self.gp.var_namelist[i] for i in range(self.vars_count)]:
7738
* v = AdiosVariable(self, varname) # <<<<<<<<<<<<<<
7739
* self.var[varname] = v
7742
__pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 510; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7743
__Pyx_GOTREF(__pyx_t_1);
7744
__Pyx_INCREF(((PyObject *)__pyx_v_self));
7745
PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_self));
7746
__Pyx_GIVEREF(((PyObject *)__pyx_v_self));
7747
__Pyx_INCREF(__pyx_v_varname);
7748
PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_varname);
7749
__Pyx_GIVEREF(__pyx_v_varname);
7750
__pyx_t_6 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_5adios_AdiosVariable)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 510; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7751
__Pyx_GOTREF(__pyx_t_6);
7752
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
7753
__Pyx_XDECREF(((PyObject *)__pyx_v_v));
7754
__pyx_v_v = ((struct __pyx_obj_5adios_AdiosVariable *)__pyx_t_6);
7758
* for varname in [self.gp.var_namelist[i] for i in range(self.vars_count)]:
7759
* v = AdiosVariable(self, varname)
7760
* self.var[varname] = v # <<<<<<<<<<<<<<
7762
* def __del__(self):
7764
if (unlikely(((PyObject *)__pyx_v_self->var) == Py_None)) {
7765
PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
7766
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 511; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7768
if (PyDict_SetItem(((PyObject *)__pyx_v_self->var), __pyx_v_varname, ((PyObject *)__pyx_v_v)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 511; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7770
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
7775
__Pyx_XDECREF(__pyx_t_1);
7776
__Pyx_XDECREF(__pyx_t_4);
7777
__Pyx_XDECREF(__pyx_t_6);
7778
__Pyx_AddTraceback("adios.AdiosGroup.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
7781
__Pyx_XDECREF((PyObject *)__pyx_v_v);
7782
__Pyx_XDECREF(__pyx_v_varname);
7783
__Pyx_RefNannyFinishContext();
7787
/* Python wrapper */
7788
static PyObject *__pyx_pw_5adios_10AdiosGroup_3__del__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
7789
static PyObject *__pyx_pw_5adios_10AdiosGroup_3__del__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
7790
PyObject *__pyx_r = 0;
7791
__Pyx_RefNannyDeclarations
7792
__Pyx_RefNannySetupContext("__del__ (wrapper)", 0);
7793
__pyx_r = __pyx_pf_5adios_10AdiosGroup_2__del__(((struct __pyx_obj_5adios_AdiosGroup *)__pyx_v_self));
7794
__Pyx_RefNannyFinishContext();
7799
* self.var[varname] = v
7801
* def __del__(self): # <<<<<<<<<<<<<<
7806
static PyObject *__pyx_pf_5adios_10AdiosGroup_2__del__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self) {
7807
PyObject *__pyx_r = NULL;
7808
__Pyx_RefNannyDeclarations
7809
PyObject *__pyx_t_1 = NULL;
7810
int __pyx_lineno = 0;
7811
const char *__pyx_filename = NULL;
7812
int __pyx_clineno = 0;
7813
__Pyx_RefNannySetupContext("__del__", 0);
7817
* def __del__(self):
7818
* self.close() # <<<<<<<<<<<<<<
7820
* cpdef close(self):
7822
__pyx_t_1 = ((struct __pyx_vtabstruct_5adios_AdiosGroup *)__pyx_v_self->__pyx_vtab)->close(__pyx_v_self, 0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 514; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7823
__Pyx_GOTREF(__pyx_t_1);
7824
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7826
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
7829
__Pyx_XDECREF(__pyx_t_1);
7830
__Pyx_AddTraceback("adios.AdiosGroup.__del__", __pyx_clineno, __pyx_lineno, __pyx_filename);
7833
__Pyx_XGIVEREF(__pyx_r);
7834
__Pyx_RefNannyFinishContext();
7841
* cpdef close(self): # <<<<<<<<<<<<<<
7842
* assert self.gp != NULL, 'Not an open file'
7843
* for v in self.var.values():
7846
static PyObject *__pyx_pw_5adios_10AdiosGroup_5close(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
7847
static PyObject *__pyx_f_5adios_10AdiosGroup_close(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self, int __pyx_skip_dispatch) {
7848
PyObject *__pyx_v_v = NULL;
7849
PyObject *__pyx_r = NULL;
7850
__Pyx_RefNannyDeclarations
7851
PyObject *__pyx_t_1 = NULL;
7852
PyObject *__pyx_t_2 = NULL;
7853
Py_ssize_t __pyx_t_3;
7854
PyObject *(*__pyx_t_4)(PyObject *);
7855
PyObject *__pyx_t_5 = NULL;
7856
int __pyx_lineno = 0;
7857
const char *__pyx_filename = NULL;
7858
int __pyx_clineno = 0;
7859
__Pyx_RefNannySetupContext("close", 0);
7860
/* Check if called by wrapper */
7861
if (unlikely(__pyx_skip_dispatch)) ;
7862
/* Check if overridden in Python */
7863
else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) {
7864
__pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__close); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 516; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7865
__Pyx_GOTREF(__pyx_t_1);
7866
if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_5adios_10AdiosGroup_5close)) {
7867
__Pyx_XDECREF(__pyx_r);
7868
__pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 516; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7869
__Pyx_GOTREF(__pyx_t_2);
7870
__pyx_r = __pyx_t_2;
7872
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7875
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7880
* cpdef close(self):
7881
* assert self.gp != NULL, 'Not an open file' # <<<<<<<<<<<<<<
7882
* for v in self.var.values():
7885
#ifndef CYTHON_WITHOUT_ASSERTIONS
7886
if (unlikely(!((__pyx_v_self->gp != NULL) != 0))) {
7887
PyErr_SetObject(PyExc_AssertionError, ((PyObject *)__pyx_kp_s_11));
7888
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 517; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7893
* cpdef close(self):
7894
* assert self.gp != NULL, 'Not an open file'
7895
* for v in self.var.values(): # <<<<<<<<<<<<<<
7897
* adios_gclose(self.gp)
7899
if (unlikely(((PyObject *)__pyx_v_self->var) == Py_None)) {
7900
PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%s'", "values");
7901
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 518; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7903
__pyx_t_1 = __Pyx_PyDict_Values(__pyx_v_self->var); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 518; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7904
__Pyx_GOTREF(__pyx_t_1);
7905
if (PyList_CheckExact(__pyx_t_1) || PyTuple_CheckExact(__pyx_t_1)) {
7906
__pyx_t_2 = __pyx_t_1; __Pyx_INCREF(__pyx_t_2); __pyx_t_3 = 0;
7909
__pyx_t_3 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 518; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7910
__Pyx_GOTREF(__pyx_t_2);
7911
__pyx_t_4 = Py_TYPE(__pyx_t_2)->tp_iternext;
7913
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7915
if (!__pyx_t_4 && PyList_CheckExact(__pyx_t_2)) {
7916
if (__pyx_t_3 >= PyList_GET_SIZE(__pyx_t_2)) break;
7917
#if CYTHON_COMPILING_IN_CPYTHON
7918
__pyx_t_1 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_1); __pyx_t_3++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 518; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7920
__pyx_t_1 = PySequence_ITEM(__pyx_t_2, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 518; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7922
} else if (!__pyx_t_4 && PyTuple_CheckExact(__pyx_t_2)) {
7923
if (__pyx_t_3 >= PyTuple_GET_SIZE(__pyx_t_2)) break;
7924
#if CYTHON_COMPILING_IN_CPYTHON
7925
__pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_1); __pyx_t_3++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 518; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7927
__pyx_t_1 = PySequence_ITEM(__pyx_t_2, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 518; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7930
__pyx_t_1 = __pyx_t_4(__pyx_t_2);
7931
if (unlikely(!__pyx_t_1)) {
7932
if (PyErr_Occurred()) {
7933
if (likely(PyErr_ExceptionMatches(PyExc_StopIteration))) PyErr_Clear();
7934
else {__pyx_filename = __pyx_f[0]; __pyx_lineno = 518; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7938
__Pyx_GOTREF(__pyx_t_1);
7940
__Pyx_XDECREF(__pyx_v_v);
7941
__pyx_v_v = __pyx_t_1;
7945
* assert self.gp != NULL, 'Not an open file'
7946
* for v in self.var.values():
7947
* v.close() # <<<<<<<<<<<<<<
7948
* adios_gclose(self.gp)
7951
__pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_v, __pyx_n_s__close); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 519; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7952
__Pyx_GOTREF(__pyx_t_1);
7953
__pyx_t_5 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 519; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7954
__Pyx_GOTREF(__pyx_t_5);
7955
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7956
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
7958
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
7961
* for v in self.var.values():
7963
* adios_gclose(self.gp) # <<<<<<<<<<<<<<
7967
adios_gclose(__pyx_v_self->gp);
7971
* adios_gclose(self.gp)
7972
* self.gp = NULL # <<<<<<<<<<<<<<
7974
* cpdef printself(self):
7976
__pyx_v_self->gp = NULL;
7978
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
7981
__Pyx_XDECREF(__pyx_t_1);
7982
__Pyx_XDECREF(__pyx_t_2);
7983
__Pyx_XDECREF(__pyx_t_5);
7984
__Pyx_AddTraceback("adios.AdiosGroup.close", __pyx_clineno, __pyx_lineno, __pyx_filename);
7987
__Pyx_XDECREF(__pyx_v_v);
7988
__Pyx_XGIVEREF(__pyx_r);
7989
__Pyx_RefNannyFinishContext();
7993
/* Python wrapper */
7994
static PyObject *__pyx_pw_5adios_10AdiosGroup_5close(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
7995
static PyObject *__pyx_pw_5adios_10AdiosGroup_5close(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
7996
PyObject *__pyx_r = 0;
7997
__Pyx_RefNannyDeclarations
7998
__Pyx_RefNannySetupContext("close (wrapper)", 0);
7999
__pyx_r = __pyx_pf_5adios_10AdiosGroup_4close(((struct __pyx_obj_5adios_AdiosGroup *)__pyx_v_self));
8000
__Pyx_RefNannyFinishContext();
8007
* cpdef close(self): # <<<<<<<<<<<<<<
8008
* assert self.gp != NULL, 'Not an open file'
8009
* for v in self.var.values():
8012
static PyObject *__pyx_pf_5adios_10AdiosGroup_4close(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self) {
8013
PyObject *__pyx_r = NULL;
8014
__Pyx_RefNannyDeclarations
8015
PyObject *__pyx_t_1 = NULL;
8016
int __pyx_lineno = 0;
8017
const char *__pyx_filename = NULL;
8018
int __pyx_clineno = 0;
8019
__Pyx_RefNannySetupContext("close", 0);
8020
__Pyx_XDECREF(__pyx_r);
8021
__pyx_t_1 = ((struct __pyx_vtabstruct_5adios_AdiosGroup *)__pyx_v_self->__pyx_vtab)->close(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 516; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8022
__Pyx_GOTREF(__pyx_t_1);
8023
__pyx_r = __pyx_t_1;
8027
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
8030
__Pyx_XDECREF(__pyx_t_1);
8031
__Pyx_AddTraceback("adios.AdiosGroup.close", __pyx_clineno, __pyx_lineno, __pyx_filename);
8034
__Pyx_XGIVEREF(__pyx_r);
8035
__Pyx_RefNannyFinishContext();
8042
* cpdef printself(self): # <<<<<<<<<<<<<<
8043
* assert self.gp != NULL, 'Not an open file'
8044
* print '=== AdiosGroup ==='
8047
static PyObject *__pyx_pw_5adios_10AdiosGroup_7printself(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
8048
static PyObject *__pyx_f_5adios_10AdiosGroup_printself(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self, int __pyx_skip_dispatch) {
8049
PyObject *__pyx_r = NULL;
8050
__Pyx_RefNannyDeclarations
8051
PyObject *__pyx_t_1 = NULL;
8052
PyObject *__pyx_t_2 = NULL;
8053
int __pyx_lineno = 0;
8054
const char *__pyx_filename = NULL;
8055
int __pyx_clineno = 0;
8056
__Pyx_RefNannySetupContext("printself", 0);
8057
/* Check if called by wrapper */
8058
if (unlikely(__pyx_skip_dispatch)) ;
8059
/* Check if overridden in Python */
8060
else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) {
8061
__pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s__printself); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 523; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8062
__Pyx_GOTREF(__pyx_t_1);
8063
if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_5adios_10AdiosGroup_7printself)) {
8064
__Pyx_XDECREF(__pyx_r);
8065
__pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 523; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8066
__Pyx_GOTREF(__pyx_t_2);
8067
__pyx_r = __pyx_t_2;
8069
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8072
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8077
* cpdef printself(self):
8078
* assert self.gp != NULL, 'Not an open file' # <<<<<<<<<<<<<<
8079
* print '=== AdiosGroup ==='
8080
* print '%15s : %lu' % ('gp', <unsigned long> self.gp)
8082
#ifndef CYTHON_WITHOUT_ASSERTIONS
8083
if (unlikely(!((__pyx_v_self->gp != NULL) != 0))) {
8084
PyErr_SetObject(PyExc_AssertionError, ((PyObject *)__pyx_kp_s_11));
8085
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 524; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8090
* cpdef printself(self):
8091
* assert self.gp != NULL, 'Not an open file'
8092
* print '=== AdiosGroup ===' # <<<<<<<<<<<<<<
8093
* print '%15s : %lu' % ('gp', <unsigned long> self.gp)
8094
* printAdiosGroup(self.gp)
8096
if (__Pyx_PrintOne(0, ((PyObject *)__pyx_kp_s_16)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8099
* assert self.gp != NULL, 'Not an open file'
8100
* print '=== AdiosGroup ==='
8101
* print '%15s : %lu' % ('gp', <unsigned long> self.gp) # <<<<<<<<<<<<<<
8102
* printAdiosGroup(self.gp)
8105
__pyx_t_1 = PyLong_FromUnsignedLong(((unsigned long)__pyx_v_self->gp)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 526; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8106
__Pyx_GOTREF(__pyx_t_1);
8107
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 526; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8108
__Pyx_GOTREF(__pyx_t_2);
8109
__Pyx_INCREF(((PyObject *)__pyx_n_s__gp));
8110
PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__gp));
8111
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__gp));
8112
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
8113
__Pyx_GIVEREF(__pyx_t_1);
8115
__pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_7), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 526; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8116
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
8117
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
8118
if (__Pyx_PrintOne(0, ((PyObject *)__pyx_t_1)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 526; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8119
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
8122
* print '=== AdiosGroup ==='
8123
* print '%15s : %lu' % ('gp', <unsigned long> self.gp)
8124
* printAdiosGroup(self.gp) # <<<<<<<<<<<<<<
8126
* cdef class AdiosVariable:
8128
__pyx_t_1 = __pyx_f_5adios_printAdiosGroup(__pyx_v_self->gp); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 527; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8129
__Pyx_GOTREF(__pyx_t_1);
8130
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8132
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
8135
__Pyx_XDECREF(__pyx_t_1);
8136
__Pyx_XDECREF(__pyx_t_2);
8137
__Pyx_AddTraceback("adios.AdiosGroup.printself", __pyx_clineno, __pyx_lineno, __pyx_filename);
8140
__Pyx_XGIVEREF(__pyx_r);
8141
__Pyx_RefNannyFinishContext();
8145
/* Python wrapper */
8146
static PyObject *__pyx_pw_5adios_10AdiosGroup_7printself(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
8147
static PyObject *__pyx_pw_5adios_10AdiosGroup_7printself(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
8148
PyObject *__pyx_r = 0;
8149
__Pyx_RefNannyDeclarations
8150
__Pyx_RefNannySetupContext("printself (wrapper)", 0);
8151
__pyx_r = __pyx_pf_5adios_10AdiosGroup_6printself(((struct __pyx_obj_5adios_AdiosGroup *)__pyx_v_self));
8152
__Pyx_RefNannyFinishContext();
8159
* cpdef printself(self): # <<<<<<<<<<<<<<
8160
* assert self.gp != NULL, 'Not an open file'
8161
* print '=== AdiosGroup ==='
8164
static PyObject *__pyx_pf_5adios_10AdiosGroup_6printself(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self) {
8165
PyObject *__pyx_r = NULL;
8166
__Pyx_RefNannyDeclarations
8167
PyObject *__pyx_t_1 = NULL;
8168
int __pyx_lineno = 0;
8169
const char *__pyx_filename = NULL;
8170
int __pyx_clineno = 0;
8171
__Pyx_RefNannySetupContext("printself", 0);
8172
__Pyx_XDECREF(__pyx_r);
8173
__pyx_t_1 = ((struct __pyx_vtabstruct_5adios_AdiosGroup *)__pyx_v_self->__pyx_vtab)->printself(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 523; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8174
__Pyx_GOTREF(__pyx_t_1);
8175
__pyx_r = __pyx_t_1;
8179
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
8182
__Pyx_XDECREF(__pyx_t_1);
8183
__Pyx_AddTraceback("adios.AdiosGroup.printself", __pyx_clineno, __pyx_lineno, __pyx_filename);
8186
__Pyx_XGIVEREF(__pyx_r);
8187
__Pyx_RefNannyFinishContext();
8191
/* Python wrapper */
8192
static PyObject *__pyx_pw_5adios_10AdiosGroup_4name_1__get__(PyObject *__pyx_v_self); /*proto*/
8193
static PyObject *__pyx_pw_5adios_10AdiosGroup_4name_1__get__(PyObject *__pyx_v_self) {
8194
PyObject *__pyx_r = 0;
8195
__Pyx_RefNannyDeclarations
8196
__Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
8197
__pyx_r = __pyx_pf_5adios_10AdiosGroup_4name___get__(((struct __pyx_obj_5adios_AdiosGroup *)__pyx_v_self));
8198
__Pyx_RefNannyFinishContext();
8204
* """ Public Memeber """
8205
* cpdef public bytes name # <<<<<<<<<<<<<<
8206
* cpdef public int grpid
8207
* cpdef public int vars_count
8210
static PyObject *__pyx_pf_5adios_10AdiosGroup_4name___get__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self) {
8211
PyObject *__pyx_r = NULL;
8212
__Pyx_RefNannyDeclarations
8213
__Pyx_RefNannySetupContext("__get__", 0);
8214
__Pyx_XDECREF(__pyx_r);
8215
__Pyx_INCREF(((PyObject *)__pyx_v_self->name));
8216
__pyx_r = ((PyObject *)__pyx_v_self->name);
8219
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
8221
__Pyx_XGIVEREF(__pyx_r);
8222
__Pyx_RefNannyFinishContext();
8226
/* Python wrapper */
8227
static int __pyx_pw_5adios_10AdiosGroup_4name_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
8228
static int __pyx_pw_5adios_10AdiosGroup_4name_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
8230
__Pyx_RefNannyDeclarations
8231
__Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
8232
__pyx_r = __pyx_pf_5adios_10AdiosGroup_4name_2__set__(((struct __pyx_obj_5adios_AdiosGroup *)__pyx_v_self), ((PyObject *)__pyx_v_value));
8233
__Pyx_RefNannyFinishContext();
8237
static int __pyx_pf_5adios_10AdiosGroup_4name_2__set__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self, PyObject *__pyx_v_value) {
8239
__Pyx_RefNannyDeclarations
8240
int __pyx_lineno = 0;
8241
const char *__pyx_filename = NULL;
8242
int __pyx_clineno = 0;
8243
__Pyx_RefNannySetupContext("__set__", 0);
8244
if (!(likely(PyBytes_CheckExact(__pyx_v_value))||((__pyx_v_value) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected bytes, got %.200s", Py_TYPE(__pyx_v_value)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 485; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8245
__Pyx_INCREF(__pyx_v_value);
8246
__Pyx_GIVEREF(__pyx_v_value);
8247
__Pyx_GOTREF(__pyx_v_self->name);
8248
__Pyx_DECREF(((PyObject *)__pyx_v_self->name));
8249
__pyx_v_self->name = ((PyObject*)__pyx_v_value);
8254
__Pyx_AddTraceback("adios.AdiosGroup.name.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
8257
__Pyx_RefNannyFinishContext();
8261
/* Python wrapper */
8262
static int __pyx_pw_5adios_10AdiosGroup_4name_5__del__(PyObject *__pyx_v_self); /*proto*/
8263
static int __pyx_pw_5adios_10AdiosGroup_4name_5__del__(PyObject *__pyx_v_self) {
8265
__Pyx_RefNannyDeclarations
8266
__Pyx_RefNannySetupContext("__del__ (wrapper)", 0);
8267
__pyx_r = __pyx_pf_5adios_10AdiosGroup_4name_4__del__(((struct __pyx_obj_5adios_AdiosGroup *)__pyx_v_self));
8268
__Pyx_RefNannyFinishContext();
8272
static int __pyx_pf_5adios_10AdiosGroup_4name_4__del__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self) {
8274
__Pyx_RefNannyDeclarations
8275
__Pyx_RefNannySetupContext("__del__", 0);
8276
__Pyx_INCREF(Py_None);
8277
__Pyx_GIVEREF(Py_None);
8278
__Pyx_GOTREF(__pyx_v_self->name);
8279
__Pyx_DECREF(((PyObject *)__pyx_v_self->name));
8280
__pyx_v_self->name = ((PyObject*)Py_None);
8283
__Pyx_RefNannyFinishContext();
8287
/* Python wrapper */
8288
static PyObject *__pyx_pw_5adios_10AdiosGroup_5grpid_1__get__(PyObject *__pyx_v_self); /*proto*/
8289
static PyObject *__pyx_pw_5adios_10AdiosGroup_5grpid_1__get__(PyObject *__pyx_v_self) {
8290
PyObject *__pyx_r = 0;
8291
__Pyx_RefNannyDeclarations
8292
__Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
8293
__pyx_r = __pyx_pf_5adios_10AdiosGroup_5grpid___get__(((struct __pyx_obj_5adios_AdiosGroup *)__pyx_v_self));
8294
__Pyx_RefNannyFinishContext();
8299
* """ Public Memeber """
8300
* cpdef public bytes name
8301
* cpdef public int grpid # <<<<<<<<<<<<<<
8302
* cpdef public int vars_count
8303
* cpdef public int attrs_count
8306
static PyObject *__pyx_pf_5adios_10AdiosGroup_5grpid___get__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self) {
8307
PyObject *__pyx_r = NULL;
8308
__Pyx_RefNannyDeclarations
8309
PyObject *__pyx_t_1 = NULL;
8310
int __pyx_lineno = 0;
8311
const char *__pyx_filename = NULL;
8312
int __pyx_clineno = 0;
8313
__Pyx_RefNannySetupContext("__get__", 0);
8314
__Pyx_XDECREF(__pyx_r);
8315
__pyx_t_1 = PyInt_FromLong(__pyx_v_self->grpid); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 486; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8316
__Pyx_GOTREF(__pyx_t_1);
8317
__pyx_r = __pyx_t_1;
8321
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
8324
__Pyx_XDECREF(__pyx_t_1);
8325
__Pyx_AddTraceback("adios.AdiosGroup.grpid.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
8328
__Pyx_XGIVEREF(__pyx_r);
8329
__Pyx_RefNannyFinishContext();
8333
/* Python wrapper */
8334
static int __pyx_pw_5adios_10AdiosGroup_5grpid_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
8335
static int __pyx_pw_5adios_10AdiosGroup_5grpid_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
8337
__Pyx_RefNannyDeclarations
8338
__Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
8339
__pyx_r = __pyx_pf_5adios_10AdiosGroup_5grpid_2__set__(((struct __pyx_obj_5adios_AdiosGroup *)__pyx_v_self), ((PyObject *)__pyx_v_value));
8340
__Pyx_RefNannyFinishContext();
8344
static int __pyx_pf_5adios_10AdiosGroup_5grpid_2__set__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self, PyObject *__pyx_v_value) {
8346
__Pyx_RefNannyDeclarations
8348
int __pyx_lineno = 0;
8349
const char *__pyx_filename = NULL;
8350
int __pyx_clineno = 0;
8351
__Pyx_RefNannySetupContext("__set__", 0);
8352
__pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 486; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8353
__pyx_v_self->grpid = __pyx_t_1;
8358
__Pyx_AddTraceback("adios.AdiosGroup.grpid.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
8361
__Pyx_RefNannyFinishContext();
8365
/* Python wrapper */
8366
static PyObject *__pyx_pw_5adios_10AdiosGroup_10vars_count_1__get__(PyObject *__pyx_v_self); /*proto*/
8367
static PyObject *__pyx_pw_5adios_10AdiosGroup_10vars_count_1__get__(PyObject *__pyx_v_self) {
8368
PyObject *__pyx_r = 0;
8369
__Pyx_RefNannyDeclarations
8370
__Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
8371
__pyx_r = __pyx_pf_5adios_10AdiosGroup_10vars_count___get__(((struct __pyx_obj_5adios_AdiosGroup *)__pyx_v_self));
8372
__Pyx_RefNannyFinishContext();
8377
* cpdef public bytes name
8378
* cpdef public int grpid
8379
* cpdef public int vars_count # <<<<<<<<<<<<<<
8380
* cpdef public int attrs_count
8381
* cpdef public int timestep
8384
static PyObject *__pyx_pf_5adios_10AdiosGroup_10vars_count___get__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self) {
8385
PyObject *__pyx_r = NULL;
8386
__Pyx_RefNannyDeclarations
8387
PyObject *__pyx_t_1 = NULL;
8388
int __pyx_lineno = 0;
8389
const char *__pyx_filename = NULL;
8390
int __pyx_clineno = 0;
8391
__Pyx_RefNannySetupContext("__get__", 0);
8392
__Pyx_XDECREF(__pyx_r);
8393
__pyx_t_1 = PyInt_FromLong(__pyx_v_self->vars_count); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 487; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8394
__Pyx_GOTREF(__pyx_t_1);
8395
__pyx_r = __pyx_t_1;
8399
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
8402
__Pyx_XDECREF(__pyx_t_1);
8403
__Pyx_AddTraceback("adios.AdiosGroup.vars_count.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
8406
__Pyx_XGIVEREF(__pyx_r);
8407
__Pyx_RefNannyFinishContext();
8411
/* Python wrapper */
8412
static int __pyx_pw_5adios_10AdiosGroup_10vars_count_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
8413
static int __pyx_pw_5adios_10AdiosGroup_10vars_count_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
8415
__Pyx_RefNannyDeclarations
8416
__Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
8417
__pyx_r = __pyx_pf_5adios_10AdiosGroup_10vars_count_2__set__(((struct __pyx_obj_5adios_AdiosGroup *)__pyx_v_self), ((PyObject *)__pyx_v_value));
8418
__Pyx_RefNannyFinishContext();
8422
static int __pyx_pf_5adios_10AdiosGroup_10vars_count_2__set__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self, PyObject *__pyx_v_value) {
8424
__Pyx_RefNannyDeclarations
8426
int __pyx_lineno = 0;
8427
const char *__pyx_filename = NULL;
8428
int __pyx_clineno = 0;
8429
__Pyx_RefNannySetupContext("__set__", 0);
8430
__pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 487; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8431
__pyx_v_self->vars_count = __pyx_t_1;
8436
__Pyx_AddTraceback("adios.AdiosGroup.vars_count.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
8439
__Pyx_RefNannyFinishContext();
8443
/* Python wrapper */
8444
static PyObject *__pyx_pw_5adios_10AdiosGroup_11attrs_count_1__get__(PyObject *__pyx_v_self); /*proto*/
8445
static PyObject *__pyx_pw_5adios_10AdiosGroup_11attrs_count_1__get__(PyObject *__pyx_v_self) {
8446
PyObject *__pyx_r = 0;
8447
__Pyx_RefNannyDeclarations
8448
__Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
8449
__pyx_r = __pyx_pf_5adios_10AdiosGroup_11attrs_count___get__(((struct __pyx_obj_5adios_AdiosGroup *)__pyx_v_self));
8450
__Pyx_RefNannyFinishContext();
8455
* cpdef public int grpid
8456
* cpdef public int vars_count
8457
* cpdef public int attrs_count # <<<<<<<<<<<<<<
8458
* cpdef public int timestep
8459
* cpdef public int lasttimestep
8462
static PyObject *__pyx_pf_5adios_10AdiosGroup_11attrs_count___get__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self) {
8463
PyObject *__pyx_r = NULL;
8464
__Pyx_RefNannyDeclarations
8465
PyObject *__pyx_t_1 = NULL;
8466
int __pyx_lineno = 0;
8467
const char *__pyx_filename = NULL;
8468
int __pyx_clineno = 0;
8469
__Pyx_RefNannySetupContext("__get__", 0);
8470
__Pyx_XDECREF(__pyx_r);
8471
__pyx_t_1 = PyInt_FromLong(__pyx_v_self->attrs_count); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 488; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8472
__Pyx_GOTREF(__pyx_t_1);
8473
__pyx_r = __pyx_t_1;
8477
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
8480
__Pyx_XDECREF(__pyx_t_1);
8481
__Pyx_AddTraceback("adios.AdiosGroup.attrs_count.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
8484
__Pyx_XGIVEREF(__pyx_r);
8485
__Pyx_RefNannyFinishContext();
8489
/* Python wrapper */
8490
static int __pyx_pw_5adios_10AdiosGroup_11attrs_count_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
8491
static int __pyx_pw_5adios_10AdiosGroup_11attrs_count_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
8493
__Pyx_RefNannyDeclarations
8494
__Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
8495
__pyx_r = __pyx_pf_5adios_10AdiosGroup_11attrs_count_2__set__(((struct __pyx_obj_5adios_AdiosGroup *)__pyx_v_self), ((PyObject *)__pyx_v_value));
8496
__Pyx_RefNannyFinishContext();
8500
static int __pyx_pf_5adios_10AdiosGroup_11attrs_count_2__set__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self, PyObject *__pyx_v_value) {
8502
__Pyx_RefNannyDeclarations
8504
int __pyx_lineno = 0;
8505
const char *__pyx_filename = NULL;
8506
int __pyx_clineno = 0;
8507
__Pyx_RefNannySetupContext("__set__", 0);
8508
__pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 488; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8509
__pyx_v_self->attrs_count = __pyx_t_1;
8514
__Pyx_AddTraceback("adios.AdiosGroup.attrs_count.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
8517
__Pyx_RefNannyFinishContext();
8521
/* Python wrapper */
8522
static PyObject *__pyx_pw_5adios_10AdiosGroup_8timestep_1__get__(PyObject *__pyx_v_self); /*proto*/
8523
static PyObject *__pyx_pw_5adios_10AdiosGroup_8timestep_1__get__(PyObject *__pyx_v_self) {
8524
PyObject *__pyx_r = 0;
8525
__Pyx_RefNannyDeclarations
8526
__Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
8527
__pyx_r = __pyx_pf_5adios_10AdiosGroup_8timestep___get__(((struct __pyx_obj_5adios_AdiosGroup *)__pyx_v_self));
8528
__Pyx_RefNannyFinishContext();
8533
* cpdef public int vars_count
8534
* cpdef public int attrs_count
8535
* cpdef public int timestep # <<<<<<<<<<<<<<
8536
* cpdef public int lasttimestep
8540
static PyObject *__pyx_pf_5adios_10AdiosGroup_8timestep___get__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self) {
8541
PyObject *__pyx_r = NULL;
8542
__Pyx_RefNannyDeclarations
8543
PyObject *__pyx_t_1 = NULL;
8544
int __pyx_lineno = 0;
8545
const char *__pyx_filename = NULL;
8546
int __pyx_clineno = 0;
8547
__Pyx_RefNannySetupContext("__get__", 0);
8548
__Pyx_XDECREF(__pyx_r);
8549
__pyx_t_1 = PyInt_FromLong(__pyx_v_self->timestep); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 489; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8550
__Pyx_GOTREF(__pyx_t_1);
8551
__pyx_r = __pyx_t_1;
8555
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
8558
__Pyx_XDECREF(__pyx_t_1);
8559
__Pyx_AddTraceback("adios.AdiosGroup.timestep.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
8562
__Pyx_XGIVEREF(__pyx_r);
8563
__Pyx_RefNannyFinishContext();
8567
/* Python wrapper */
8568
static int __pyx_pw_5adios_10AdiosGroup_8timestep_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
8569
static int __pyx_pw_5adios_10AdiosGroup_8timestep_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
8571
__Pyx_RefNannyDeclarations
8572
__Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
8573
__pyx_r = __pyx_pf_5adios_10AdiosGroup_8timestep_2__set__(((struct __pyx_obj_5adios_AdiosGroup *)__pyx_v_self), ((PyObject *)__pyx_v_value));
8574
__Pyx_RefNannyFinishContext();
8578
static int __pyx_pf_5adios_10AdiosGroup_8timestep_2__set__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self, PyObject *__pyx_v_value) {
8580
__Pyx_RefNannyDeclarations
8582
int __pyx_lineno = 0;
8583
const char *__pyx_filename = NULL;
8584
int __pyx_clineno = 0;
8585
__Pyx_RefNannySetupContext("__set__", 0);
8586
__pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 489; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8587
__pyx_v_self->timestep = __pyx_t_1;
8592
__Pyx_AddTraceback("adios.AdiosGroup.timestep.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
8595
__Pyx_RefNannyFinishContext();
8599
/* Python wrapper */
8600
static PyObject *__pyx_pw_5adios_10AdiosGroup_12lasttimestep_1__get__(PyObject *__pyx_v_self); /*proto*/
8601
static PyObject *__pyx_pw_5adios_10AdiosGroup_12lasttimestep_1__get__(PyObject *__pyx_v_self) {
8602
PyObject *__pyx_r = 0;
8603
__Pyx_RefNannyDeclarations
8604
__Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
8605
__pyx_r = __pyx_pf_5adios_10AdiosGroup_12lasttimestep___get__(((struct __pyx_obj_5adios_AdiosGroup *)__pyx_v_self));
8606
__Pyx_RefNannyFinishContext();
8611
* cpdef public int attrs_count
8612
* cpdef public int timestep
8613
* cpdef public int lasttimestep # <<<<<<<<<<<<<<
8615
* cpdef public dict var
8618
static PyObject *__pyx_pf_5adios_10AdiosGroup_12lasttimestep___get__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self) {
8619
PyObject *__pyx_r = NULL;
8620
__Pyx_RefNannyDeclarations
8621
PyObject *__pyx_t_1 = NULL;
8622
int __pyx_lineno = 0;
8623
const char *__pyx_filename = NULL;
8624
int __pyx_clineno = 0;
8625
__Pyx_RefNannySetupContext("__get__", 0);
8626
__Pyx_XDECREF(__pyx_r);
8627
__pyx_t_1 = PyInt_FromLong(__pyx_v_self->lasttimestep); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 490; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8628
__Pyx_GOTREF(__pyx_t_1);
8629
__pyx_r = __pyx_t_1;
8633
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
8636
__Pyx_XDECREF(__pyx_t_1);
8637
__Pyx_AddTraceback("adios.AdiosGroup.lasttimestep.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
8640
__Pyx_XGIVEREF(__pyx_r);
8641
__Pyx_RefNannyFinishContext();
8645
/* Python wrapper */
8646
static int __pyx_pw_5adios_10AdiosGroup_12lasttimestep_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
8647
static int __pyx_pw_5adios_10AdiosGroup_12lasttimestep_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
8649
__Pyx_RefNannyDeclarations
8650
__Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
8651
__pyx_r = __pyx_pf_5adios_10AdiosGroup_12lasttimestep_2__set__(((struct __pyx_obj_5adios_AdiosGroup *)__pyx_v_self), ((PyObject *)__pyx_v_value));
8652
__Pyx_RefNannyFinishContext();
8656
static int __pyx_pf_5adios_10AdiosGroup_12lasttimestep_2__set__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self, PyObject *__pyx_v_value) {
8658
__Pyx_RefNannyDeclarations
8660
int __pyx_lineno = 0;
8661
const char *__pyx_filename = NULL;
8662
int __pyx_clineno = 0;
8663
__Pyx_RefNannySetupContext("__set__", 0);
8664
__pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 490; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8665
__pyx_v_self->lasttimestep = __pyx_t_1;
8670
__Pyx_AddTraceback("adios.AdiosGroup.lasttimestep.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
8673
__Pyx_RefNannyFinishContext();
8677
/* Python wrapper */
8678
static PyObject *__pyx_pw_5adios_10AdiosGroup_3var_1__get__(PyObject *__pyx_v_self); /*proto*/
8679
static PyObject *__pyx_pw_5adios_10AdiosGroup_3var_1__get__(PyObject *__pyx_v_self) {
8680
PyObject *__pyx_r = 0;
8681
__Pyx_RefNannyDeclarations
8682
__Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
8683
__pyx_r = __pyx_pf_5adios_10AdiosGroup_3var___get__(((struct __pyx_obj_5adios_AdiosGroup *)__pyx_v_self));
8684
__Pyx_RefNannyFinishContext();
8689
* cpdef public int lasttimestep
8691
* cpdef public dict var # <<<<<<<<<<<<<<
8693
* def __init__(self, AdiosFile file, char * name):
8696
static PyObject *__pyx_pf_5adios_10AdiosGroup_3var___get__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self) {
8697
PyObject *__pyx_r = NULL;
8698
__Pyx_RefNannyDeclarations
8699
__Pyx_RefNannySetupContext("__get__", 0);
8700
__Pyx_XDECREF(__pyx_r);
8701
__Pyx_INCREF(((PyObject *)__pyx_v_self->var));
8702
__pyx_r = ((PyObject *)__pyx_v_self->var);
8705
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
8707
__Pyx_XGIVEREF(__pyx_r);
8708
__Pyx_RefNannyFinishContext();
8712
/* Python wrapper */
8713
static int __pyx_pw_5adios_10AdiosGroup_3var_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
8714
static int __pyx_pw_5adios_10AdiosGroup_3var_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
8716
__Pyx_RefNannyDeclarations
8717
__Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
8718
__pyx_r = __pyx_pf_5adios_10AdiosGroup_3var_2__set__(((struct __pyx_obj_5adios_AdiosGroup *)__pyx_v_self), ((PyObject *)__pyx_v_value));
8719
__Pyx_RefNannyFinishContext();
8723
static int __pyx_pf_5adios_10AdiosGroup_3var_2__set__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self, PyObject *__pyx_v_value) {
8725
__Pyx_RefNannyDeclarations
8726
int __pyx_lineno = 0;
8727
const char *__pyx_filename = NULL;
8728
int __pyx_clineno = 0;
8729
__Pyx_RefNannySetupContext("__set__", 0);
8730
if (!(likely(PyDict_CheckExact(__pyx_v_value))||((__pyx_v_value) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected dict, got %.200s", Py_TYPE(__pyx_v_value)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 492; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8731
__Pyx_INCREF(__pyx_v_value);
8732
__Pyx_GIVEREF(__pyx_v_value);
8733
__Pyx_GOTREF(__pyx_v_self->var);
8734
__Pyx_DECREF(((PyObject *)__pyx_v_self->var));
8735
__pyx_v_self->var = ((PyObject*)__pyx_v_value);
8740
__Pyx_AddTraceback("adios.AdiosGroup.var.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
8743
__Pyx_RefNannyFinishContext();
8747
/* Python wrapper */
8748
static int __pyx_pw_5adios_10AdiosGroup_3var_5__del__(PyObject *__pyx_v_self); /*proto*/
8749
static int __pyx_pw_5adios_10AdiosGroup_3var_5__del__(PyObject *__pyx_v_self) {
8751
__Pyx_RefNannyDeclarations
8752
__Pyx_RefNannySetupContext("__del__ (wrapper)", 0);
8753
__pyx_r = __pyx_pf_5adios_10AdiosGroup_3var_4__del__(((struct __pyx_obj_5adios_AdiosGroup *)__pyx_v_self));
8754
__Pyx_RefNannyFinishContext();
8758
static int __pyx_pf_5adios_10AdiosGroup_3var_4__del__(struct __pyx_obj_5adios_AdiosGroup *__pyx_v_self) {
8760
__Pyx_RefNannyDeclarations
8761
__Pyx_RefNannySetupContext("__del__", 0);
8762
__Pyx_INCREF(Py_None);
8763
__Pyx_GIVEREF(Py_None);
8764
__Pyx_GOTREF(__pyx_v_self->var);
8765
__Pyx_DECREF(((PyObject *)__pyx_v_self->var));
8766
__pyx_v_self->var = ((PyObject*)Py_None);
8769
__Pyx_RefNannyFinishContext();
8773
/* Python wrapper */
8774
static int __pyx_pw_5adios_13AdiosVariable_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
8775
static int __pyx_pw_5adios_13AdiosVariable_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
8776
struct __pyx_obj_5adios_AdiosGroup *__pyx_v_group = 0;
8778
int __pyx_lineno = 0;
8779
const char *__pyx_filename = NULL;
8780
int __pyx_clineno = 0;
8782
__Pyx_RefNannyDeclarations
8783
__Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
8785
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__group,&__pyx_n_s__name,0};
8786
PyObject* values[2] = {0,0};
8787
if (unlikely(__pyx_kwds)) {
8789
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
8791
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
8792
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
8794
default: goto __pyx_L5_argtuple_error;
8796
kw_args = PyDict_Size(__pyx_kwds);
8799
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__group)) != 0)) kw_args--;
8800
else goto __pyx_L5_argtuple_error;
8802
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__name)) != 0)) kw_args--;
8804
__Pyx_RaiseArgtupleInvalid("__init__", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 543; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
8807
if (unlikely(kw_args > 0)) {
8808
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 543; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
8810
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
8811
goto __pyx_L5_argtuple_error;
8813
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
8814
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
8816
__pyx_v_group = ((struct __pyx_obj_5adios_AdiosGroup *)values[0]);
8817
__pyx_v_name = __Pyx_PyObject_AsString(values[1]); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 543; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
8819
goto __pyx_L4_argument_unpacking_done;
8820
__pyx_L5_argtuple_error:;
8821
__Pyx_RaiseArgtupleInvalid("__init__", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 543; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
8823
__Pyx_AddTraceback("adios.AdiosVariable.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
8824
__Pyx_RefNannyFinishContext();
8826
__pyx_L4_argument_unpacking_done:;
8827
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_group), __pyx_ptype_5adios_AdiosGroup, 1, "group", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 543; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8828
__pyx_r = __pyx_pf_5adios_13AdiosVariable___init__(((struct __pyx_obj_5adios_AdiosVariable *)__pyx_v_self), __pyx_v_group, __pyx_v_name);
8833
__Pyx_RefNannyFinishContext();
8838
* cpdef public int characteristics_count
8840
* def __init__(self, AdiosGroup group, char * name): # <<<<<<<<<<<<<<
8841
* self.group = group
8845
static int __pyx_pf_5adios_13AdiosVariable___init__(struct __pyx_obj_5adios_AdiosVariable *__pyx_v_self, struct __pyx_obj_5adios_AdiosGroup *__pyx_v_group, char *__pyx_v_name) {
8848
__Pyx_RefNannyDeclarations
8849
PyObject *__pyx_t_1 = NULL;
8852
PyObject *__pyx_t_4 = NULL;
8853
int __pyx_lineno = 0;
8854
const char *__pyx_filename = NULL;
8855
int __pyx_clineno = 0;
8856
__Pyx_RefNannySetupContext("__init__", 0);
8860
* def __init__(self, AdiosGroup group, char * name):
8861
* self.group = group # <<<<<<<<<<<<<<
8865
__Pyx_INCREF(((PyObject *)__pyx_v_group));
8866
__Pyx_GIVEREF(((PyObject *)__pyx_v_group));
8867
__Pyx_GOTREF(__pyx_v_self->group);
8868
__Pyx_DECREF(((PyObject *)__pyx_v_self->group));
8869
__pyx_v_self->group = __pyx_v_group;
8872
* def __init__(self, AdiosGroup group, char * name):
8873
* self.group = group
8874
* self.vp = NULL # <<<<<<<<<<<<<<
8876
* self.vp = adios_inq_var(self.group.gp, name)
8878
__pyx_v_self->vp = NULL;
8883
* self.vp = adios_inq_var(self.group.gp, name) # <<<<<<<<<<<<<<
8884
* assert self.group.gp != NULL, 'Not an open group'
8887
__pyx_v_self->vp = adios_inq_var(__pyx_v_self->group->gp, __pyx_v_name);
8891
* self.vp = adios_inq_var(self.group.gp, name)
8892
* assert self.group.gp != NULL, 'Not an open group' # <<<<<<<<<<<<<<
8896
#ifndef CYTHON_WITHOUT_ASSERTIONS
8897
if (unlikely(!((__pyx_v_self->group->gp != NULL) != 0))) {
8898
PyErr_SetObject(PyExc_AssertionError, ((PyObject *)__pyx_kp_s_15));
8899
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 548; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8904
* assert self.group.gp != NULL, 'Not an open group'
8906
* self.name = name # <<<<<<<<<<<<<<
8907
* self.varid = self.vp.varid
8908
* self.type = adios2nptype(self.vp.type)
8910
__pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_name); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 550; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8911
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
8912
__Pyx_GIVEREF(((PyObject *)__pyx_t_1));
8913
__Pyx_GOTREF(__pyx_v_self->name);
8914
__Pyx_DECREF(((PyObject *)__pyx_v_self->name));
8915
__pyx_v_self->name = ((PyObject*)__pyx_t_1);
8921
* self.varid = self.vp.varid # <<<<<<<<<<<<<<
8922
* self.type = adios2nptype(self.vp.type)
8923
* self.ndim = self.vp.ndim
7249
* self.varid = self.vp.varid # <<<<<<<<<<<<<<
7250
* self.type = adios2nptype(self.vp.type)
7251
* self.ndim = self.vp.ndim
8925
7253
__pyx_t_2 = __pyx_v_self->vp->varid;
8926
7254
__pyx_v_self->varid = __pyx_t_2;
8930
* self.varid = self.vp.varid
8931
* self.type = adios2nptype(self.vp.type) # <<<<<<<<<<<<<<
8932
* self.ndim = self.vp.ndim
8933
* self.timedim = self.vp.timedim
7258
* self.varid = self.vp.varid
7259
* self.type = adios2nptype(self.vp.type) # <<<<<<<<<<<<<<
7260
* self.ndim = self.vp.ndim
7261
* self.dims = tuple([self.vp.dims[i] for i in range(self.vp.ndim)])
8935
__pyx_t_1 = ((PyObject *)__pyx_f_5adios_adios2nptype(__pyx_v_self->vp->type, 0)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 552; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7263
__pyx_t_1 = ((PyObject *)__pyx_f_5adios_adios2nptype(__pyx_v_self->vp->type)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 507; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8936
7264
__Pyx_GOTREF(__pyx_t_1);
8937
7265
__Pyx_GIVEREF(__pyx_t_1);
8938
7266
__Pyx_GOTREF(__pyx_v_self->type);
9256
7613
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9261
* cpdef read(self, tuple offset = (), tuple count = ()):
9262
* cdef type ntype = adios2nptype(self.vp.type) # <<<<<<<<<<<<<<
9263
* assert ntype is not None, 'Data type is not supported yet'
7618
* cpdef read(self, tuple offset = (), tuple count = (), from_steps = 0, nsteps = 1):
7619
* assert self.type is not None, 'Data type is not supported yet' # <<<<<<<<<<<<<<
7620
* assert from_steps + nsteps <= self.nsteps, 'Step index is out of range'
9266
__pyx_t_1 = ((PyObject *)__pyx_f_5adios_adios2nptype(__pyx_v_self->vp->type, 0)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 568; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9267
__Pyx_GOTREF(__pyx_t_1);
9268
__pyx_v_ntype = ((PyObject*)__pyx_t_1);
7623
#ifndef CYTHON_WITHOUT_ASSERTIONS
7624
if (unlikely(!Py_OptimizeFlag)) {
7625
__pyx_t_4 = (__pyx_v_self->type != ((PyObject*)Py_None));
7626
if (unlikely(!(__pyx_t_4 != 0))) {
7627
PyErr_SetObject(PyExc_AssertionError, __pyx_kp_s_Data_type_is_not_supported_yet);
7628
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 521; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9272
* cpdef read(self, tuple offset = (), tuple count = ()):
9273
* cdef type ntype = adios2nptype(self.vp.type)
9274
* assert ntype is not None, 'Data type is not supported yet' # <<<<<<<<<<<<<<
7634
* cpdef read(self, tuple offset = (), tuple count = (), from_steps = 0, nsteps = 1):
7635
* assert self.type is not None, 'Data type is not supported yet'
7636
* assert from_steps + nsteps <= self.nsteps, 'Step index is out of range' # <<<<<<<<<<<<<<
9276
7638
* cdef list lshape = [self.vp.dims[i] for i in range(self.vp.ndim)]
9278
7640
#ifndef CYTHON_WITHOUT_ASSERTIONS
9279
__pyx_t_4 = (__pyx_v_ntype != ((PyObject*)Py_None));
9280
if (unlikely(!(__pyx_t_4 != 0))) {
9281
PyErr_SetObject(PyExc_AssertionError, ((PyObject *)__pyx_kp_s_17));
9282
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 569; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7641
if (unlikely(!Py_OptimizeFlag)) {
7642
__pyx_t_1 = PyNumber_Add(__pyx_v_from_steps, __pyx_v_nsteps); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 522; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7643
__Pyx_GOTREF(__pyx_t_1);
7644
__pyx_t_3 = __Pyx_PyInt_From_int(__pyx_v_self->nsteps); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 522; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7645
__Pyx_GOTREF(__pyx_t_3);
7646
__pyx_t_2 = PyObject_RichCompare(__pyx_t_1, __pyx_t_3, Py_LE); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 522; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7647
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7648
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
7649
__pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 522; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7650
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
7651
if (unlikely(!__pyx_t_4)) {
7652
PyErr_SetObject(PyExc_AssertionError, __pyx_kp_s_Step_index_is_out_of_range);
7653
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 522; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9287
* assert ntype is not None, 'Data type is not supported yet'
7659
* assert from_steps + nsteps <= self.nsteps, 'Step index is out of range'
9289
7661
* cdef list lshape = [self.vp.dims[i] for i in range(self.vp.ndim)] # <<<<<<<<<<<<<<
9290
7662
* cdef np.ndarray npshape = np.array(lshape, dtype=np.int64)
9293
__pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 571; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9294
__Pyx_GOTREF(__pyx_t_1);
7665
__pyx_t_2 = PyList_New(0); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 524; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7666
__Pyx_GOTREF(__pyx_t_2);
9295
7667
__pyx_t_5 = __pyx_v_self->vp->ndim;
9296
7668
for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_5; __pyx_t_6+=1) {
9297
7669
__pyx_v_i = __pyx_t_6;
9298
__pyx_t_3 = __Pyx_PyInt_to_py_uint64_t((__pyx_v_self->vp->dims[__pyx_v_i])); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 571; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7670
__pyx_t_3 = __Pyx_PyInt_From_uint64_t((__pyx_v_self->vp->dims[__pyx_v_i])); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 524; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9299
7671
__Pyx_GOTREF(__pyx_t_3);
9300
if (unlikely(__Pyx_ListComp_Append(__pyx_t_1, (PyObject*)__pyx_t_3))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 571; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7672
if (unlikely(__Pyx_ListComp_Append(__pyx_t_2, (PyObject*)__pyx_t_3))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 524; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9301
7673
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
9303
__pyx_v_lshape = ((PyObject*)__pyx_t_1);
7675
__pyx_v_lshape = ((PyObject*)__pyx_t_2);
9308
7680
* cdef list lshape = [self.vp.dims[i] for i in range(self.vp.ndim)]
9309
7681
* cdef np.ndarray npshape = np.array(lshape, dtype=np.int64) # <<<<<<<<<<<<<<
9311
7683
* cdef np.ndarray npoffset
9313
__pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s__np); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9314
__Pyx_GOTREF(__pyx_t_1);
9315
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s__array); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7685
__pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_np); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7686
__Pyx_GOTREF(__pyx_t_2);
7687
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_array); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9316
7688
__Pyx_GOTREF(__pyx_t_3);
9317
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9318
__pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7689
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
7690
__pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7691
__Pyx_GOTREF(__pyx_t_2);
7692
__Pyx_INCREF(__pyx_v_lshape);
7693
PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_lshape);
7694
__Pyx_GIVEREF(__pyx_v_lshape);
7695
__pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9319
7696
__Pyx_GOTREF(__pyx_t_1);
9320
__Pyx_INCREF(((PyObject *)__pyx_v_lshape));
9321
PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_lshape));
9322
__Pyx_GIVEREF(((PyObject *)__pyx_v_lshape));
9323
__pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9324
__Pyx_GOTREF(((PyObject *)__pyx_t_2));
9325
__pyx_t_7 = __Pyx_GetModuleGlobalName(__pyx_n_s__np); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7697
__pyx_t_7 = __Pyx_GetModuleGlobalName(__pyx_n_s_np); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9326
7698
__Pyx_GOTREF(__pyx_t_7);
9327
__pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s__int64); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7699
__pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_int64); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9328
7700
__Pyx_GOTREF(__pyx_t_8);
9329
7701
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
9330
if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__dtype), __pyx_t_8) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7702
if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_dtype, __pyx_t_8) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9331
7703
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
9332
__pyx_t_8 = PyObject_Call(__pyx_t_3, ((PyObject *)__pyx_t_1), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7704
__pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_2, __pyx_t_1); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9333
7705
__Pyx_GOTREF(__pyx_t_8);
9334
7706
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
9335
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
9336
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
9337
if (!(likely(((__pyx_t_8) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_8, __pyx_ptype_5numpy_ndarray))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7707
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
7708
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7709
if (!(likely(((__pyx_t_8) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_8, __pyx_ptype_5numpy_ndarray))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9338
7710
__pyx_v_npshape = ((PyArrayObject *)__pyx_t_8);
9343
7715
* cdef np.ndarray npoffset
9344
7716
* if len(offset) == 0: # <<<<<<<<<<<<<<
9345
7717
* npoffset = npshape.copy()
9346
7718
* npoffset.fill(0)
9348
if (unlikely(((PyObject *)__pyx_v_offset) == Py_None)) {
7720
if (unlikely(__pyx_v_offset == Py_None)) {
9349
7721
PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
9350
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 575; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7722
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 528; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9352
__pyx_t_9 = PyTuple_GET_SIZE(((PyObject *)__pyx_v_offset)); if (unlikely(__pyx_t_9 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 575; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7724
__pyx_t_9 = PyTuple_GET_SIZE(__pyx_v_offset); if (unlikely(__pyx_t_9 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 528; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9353
7725
__pyx_t_4 = ((__pyx_t_9 == 0) != 0);
9354
7726
if (__pyx_t_4) {
9357
7729
* cdef np.ndarray npoffset
9358
7730
* if len(offset) == 0:
9359
7731
* npoffset = npshape.copy() # <<<<<<<<<<<<<<
9360
7732
* npoffset.fill(0)
9363
__pyx_t_8 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_npshape), __pyx_n_s__copy); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 576; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7735
__pyx_t_8 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_npshape), __pyx_n_s_copy); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 529; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9364
7736
__Pyx_GOTREF(__pyx_t_8);
9365
__pyx_t_2 = PyObject_Call(__pyx_t_8, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 576; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9366
__Pyx_GOTREF(__pyx_t_2);
7737
__pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_8, __pyx_empty_tuple, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 529; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7738
__Pyx_GOTREF(__pyx_t_1);
9367
7739
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
9368
if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_5numpy_ndarray))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 576; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9369
__pyx_v_npoffset = ((PyArrayObject *)__pyx_t_2);
7740
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_5numpy_ndarray))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 529; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7741
__pyx_v_npoffset = ((PyArrayObject *)__pyx_t_1);
9373
7745
* if len(offset) == 0:
9374
7746
* npoffset = npshape.copy()
9375
7747
* npoffset.fill(0) # <<<<<<<<<<<<<<
9377
7749
* npoffset = np.array(offset, dtype=np.int64)
9379
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_npoffset), __pyx_n_s__fill); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 577; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9380
__Pyx_GOTREF(__pyx_t_2);
9381
__pyx_t_8 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_k_tuple_18), NULL); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 577; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7751
__pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_npoffset), __pyx_n_s_fill); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 530; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7752
__Pyx_GOTREF(__pyx_t_1);
7753
__pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_tuple__12, NULL); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 530; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9382
7754
__Pyx_GOTREF(__pyx_t_8);
9383
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
7755
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9384
7756
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
9390
7762
* npoffset.fill(0)
9392
7764
* npoffset = np.array(offset, dtype=np.int64) # <<<<<<<<<<<<<<
9394
7766
* cdef np.ndarray npcount
9396
__pyx_t_8 = __Pyx_GetModuleGlobalName(__pyx_n_s__np); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 579; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9397
__Pyx_GOTREF(__pyx_t_8);
9398
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_n_s__array); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 579; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7768
__pyx_t_8 = __Pyx_GetModuleGlobalName(__pyx_n_s_np); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 532; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7769
__Pyx_GOTREF(__pyx_t_8);
7770
__pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_n_s_array); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 532; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7771
__Pyx_GOTREF(__pyx_t_1);
7772
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
7773
__pyx_t_8 = PyTuple_New(1); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 532; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7774
__Pyx_GOTREF(__pyx_t_8);
7775
__Pyx_INCREF(__pyx_v_offset);
7776
PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_v_offset);
7777
__Pyx_GIVEREF(__pyx_v_offset);
7778
__pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 532; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9399
7779
__Pyx_GOTREF(__pyx_t_2);
9400
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
9401
__pyx_t_8 = PyTuple_New(1); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 579; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9402
__Pyx_GOTREF(__pyx_t_8);
9403
__Pyx_INCREF(((PyObject *)__pyx_v_offset));
9404
PyTuple_SET_ITEM(__pyx_t_8, 0, ((PyObject *)__pyx_v_offset));
9405
__Pyx_GIVEREF(((PyObject *)__pyx_v_offset));
9406
__pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 579; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9407
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
9408
__pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__np); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 579; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7780
__pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s_np); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 532; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9409
7781
__Pyx_GOTREF(__pyx_t_3);
9410
__pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s__int64); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 579; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7782
__pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_int64); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 532; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9411
7783
__Pyx_GOTREF(__pyx_t_7);
9412
7784
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
9413
if (PyDict_SetItem(__pyx_t_1, ((PyObject *)__pyx_n_s__dtype), __pyx_t_7) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 579; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7785
if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_dtype, __pyx_t_7) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 532; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9414
7786
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
9415
__pyx_t_7 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_t_8), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 579; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7787
__pyx_t_7 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_8, __pyx_t_2); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 532; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9416
7788
__Pyx_GOTREF(__pyx_t_7);
7789
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7790
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
9417
7791
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
9418
__Pyx_DECREF(((PyObject *)__pyx_t_8)); __pyx_t_8 = 0;
9419
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
9420
if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_ptype_5numpy_ndarray))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 579; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7792
if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_ptype_5numpy_ndarray))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 532; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9421
7793
__pyx_v_npoffset = ((PyArrayObject *)__pyx_t_7);
9428
7800
* cdef np.ndarray npcount
9429
7801
* if len(count) == 0: # <<<<<<<<<<<<<<
9430
7802
* npcount = npshape - npoffset
9433
if (unlikely(((PyObject *)__pyx_v_count) == Py_None)) {
7805
if (unlikely(__pyx_v_count == Py_None)) {
9434
7806
PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
9435
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 582; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7807
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 535; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9437
__pyx_t_9 = PyTuple_GET_SIZE(((PyObject *)__pyx_v_count)); if (unlikely(__pyx_t_9 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 582; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7809
__pyx_t_9 = PyTuple_GET_SIZE(__pyx_v_count); if (unlikely(__pyx_t_9 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 535; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9438
7810
__pyx_t_4 = ((__pyx_t_9 == 0) != 0);
9439
7811
if (__pyx_t_4) {
9442
7814
* cdef np.ndarray npcount
9443
7815
* if len(count) == 0:
9444
7816
* npcount = npshape - npoffset # <<<<<<<<<<<<<<
9446
7818
* npcount = np.array(count, dtype=np.int64)
9448
__pyx_t_7 = PyNumber_Subtract(((PyObject *)__pyx_v_npshape), ((PyObject *)__pyx_v_npoffset)); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 583; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7820
__pyx_t_7 = PyNumber_Subtract(((PyObject *)__pyx_v_npshape), ((PyObject *)__pyx_v_npoffset)); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 536; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9449
7821
__Pyx_GOTREF(__pyx_t_7);
9450
if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_ptype_5numpy_ndarray))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 583; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7822
if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_ptype_5numpy_ndarray))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 536; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9451
7823
__pyx_v_npcount = ((PyArrayObject *)__pyx_t_7);
9458
7830
* npcount = npshape - npoffset
9460
7832
* npcount = np.array(count, dtype=np.int64) # <<<<<<<<<<<<<<
9462
7834
* assert npshape.ndim == npoffset.ndim, 'Offset dimension mismatch'
9464
__pyx_t_7 = __Pyx_GetModuleGlobalName(__pyx_n_s__np); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 585; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9465
__Pyx_GOTREF(__pyx_t_7);
9466
__pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s__array); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 585; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7836
__pyx_t_7 = __Pyx_GetModuleGlobalName(__pyx_n_s_np); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 538; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7837
__Pyx_GOTREF(__pyx_t_7);
7838
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_array); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 538; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7839
__Pyx_GOTREF(__pyx_t_2);
7840
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
7841
__pyx_t_7 = PyTuple_New(1); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 538; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7842
__Pyx_GOTREF(__pyx_t_7);
7843
__Pyx_INCREF(__pyx_v_count);
7844
PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_v_count);
7845
__Pyx_GIVEREF(__pyx_v_count);
7846
__pyx_t_8 = PyDict_New(); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 538; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7847
__Pyx_GOTREF(__pyx_t_8);
7848
__pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s_np); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 538; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9467
7849
__Pyx_GOTREF(__pyx_t_1);
9468
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
9469
__pyx_t_7 = PyTuple_New(1); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 585; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9470
__Pyx_GOTREF(__pyx_t_7);
9471
__Pyx_INCREF(((PyObject *)__pyx_v_count));
9472
PyTuple_SET_ITEM(__pyx_t_7, 0, ((PyObject *)__pyx_v_count));
9473
__Pyx_GIVEREF(((PyObject *)__pyx_v_count));
9474
__pyx_t_8 = PyDict_New(); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 585; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9475
__Pyx_GOTREF(((PyObject *)__pyx_t_8));
9476
__pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s__np); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 585; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9477
__Pyx_GOTREF(__pyx_t_2);
9478
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s__int64); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 585; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7850
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_int64); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 538; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7851
__Pyx_GOTREF(__pyx_t_3);
7852
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7853
if (PyDict_SetItem(__pyx_t_8, __pyx_n_s_dtype, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 538; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7854
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
7855
__pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_7, __pyx_t_8); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 538; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9479
7856
__Pyx_GOTREF(__pyx_t_3);
9480
7857
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
9481
if (PyDict_SetItem(__pyx_t_8, ((PyObject *)__pyx_n_s__dtype), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 585; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9482
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
9483
__pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_7), ((PyObject *)__pyx_t_8)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 585; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9484
__Pyx_GOTREF(__pyx_t_3);
9485
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9486
__Pyx_DECREF(((PyObject *)__pyx_t_7)); __pyx_t_7 = 0;
9487
__Pyx_DECREF(((PyObject *)__pyx_t_8)); __pyx_t_8 = 0;
9488
if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_5numpy_ndarray))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 585; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7858
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
7859
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
7860
if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_5numpy_ndarray))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 538; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9489
7861
__pyx_v_npcount = ((PyArrayObject *)__pyx_t_3);
9495
7867
* npcount = np.array(count, dtype=np.int64)
9497
7869
* assert npshape.ndim == npoffset.ndim, 'Offset dimension mismatch' # <<<<<<<<<<<<<<
9498
7870
* assert npshape.ndim == npcount.ndim, 'Count dimension mismatch.'
9499
* assert (npshape - npoffset > npcount).all(), 'Count is larger than shape.'
7871
* assert (npshape - npoffset >= npcount).all(), 'Count is larger than shape.'
9501
7873
#ifndef CYTHON_WITHOUT_ASSERTIONS
9502
if (unlikely(!((__pyx_v_npshape->nd == __pyx_v_npoffset->nd) != 0))) {
9503
PyErr_SetObject(PyExc_AssertionError, ((PyObject *)__pyx_kp_s_19));
9504
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 587; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7874
if (unlikely(!Py_OptimizeFlag)) {
7875
if (unlikely(!((__pyx_v_npshape->nd == __pyx_v_npoffset->nd) != 0))) {
7876
PyErr_SetObject(PyExc_AssertionError, __pyx_kp_s_Offset_dimension_mismatch);
7877
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 540; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9510
7884
* assert npshape.ndim == npoffset.ndim, 'Offset dimension mismatch'
9511
7885
* assert npshape.ndim == npcount.ndim, 'Count dimension mismatch.' # <<<<<<<<<<<<<<
9512
* assert (npshape - npoffset > npcount).all(), 'Count is larger than shape.'
7886
* assert (npshape - npoffset >= npcount).all(), 'Count is larger than shape.'
9515
7889
#ifndef CYTHON_WITHOUT_ASSERTIONS
9516
if (unlikely(!((__pyx_v_npshape->nd == __pyx_v_npcount->nd) != 0))) {
9517
PyErr_SetObject(PyExc_AssertionError, ((PyObject *)__pyx_kp_s_20));
9518
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 588; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7890
if (unlikely(!Py_OptimizeFlag)) {
7891
if (unlikely(!((__pyx_v_npshape->nd == __pyx_v_npcount->nd) != 0))) {
7892
PyErr_SetObject(PyExc_AssertionError, __pyx_kp_s_Count_dimension_mismatch);
7893
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 541; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9523
7899
* assert npshape.ndim == npoffset.ndim, 'Offset dimension mismatch'
9524
7900
* assert npshape.ndim == npcount.ndim, 'Count dimension mismatch.'
9525
* assert (npshape - npoffset > npcount).all(), 'Count is larger than shape.' # <<<<<<<<<<<<<<
7901
* assert (npshape - npoffset >= npcount).all(), 'Count is larger than shape.' # <<<<<<<<<<<<<<
9527
* cdef np.ndarray var = np.zeros(npcount, dtype=ntype)
7903
* shape = list(npcount)
9529
7905
#ifndef CYTHON_WITHOUT_ASSERTIONS
9530
__pyx_t_3 = PyNumber_Subtract(((PyObject *)__pyx_v_npshape), ((PyObject *)__pyx_v_npoffset)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 589; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9531
__Pyx_GOTREF(__pyx_t_3);
9532
__pyx_t_8 = PyObject_RichCompare(__pyx_t_3, ((PyObject *)__pyx_v_npcount), Py_GT); __Pyx_XGOTREF(__pyx_t_8); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 589; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9533
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
9534
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_n_s__all); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 589; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9535
__Pyx_GOTREF(__pyx_t_3);
9536
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
9537
__pyx_t_8 = PyObject_Call(__pyx_t_3, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 589; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9538
__Pyx_GOTREF(__pyx_t_8);
9539
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
9540
__pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 589; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9541
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
9542
if (unlikely(!__pyx_t_4)) {
9543
PyErr_SetObject(PyExc_AssertionError, ((PyObject *)__pyx_kp_s_21));
9544
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 589; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7906
if (unlikely(!Py_OptimizeFlag)) {
7907
__pyx_t_3 = PyNumber_Subtract(((PyObject *)__pyx_v_npshape), ((PyObject *)__pyx_v_npoffset)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 542; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7908
__Pyx_GOTREF(__pyx_t_3);
7909
__pyx_t_8 = PyObject_RichCompare(__pyx_t_3, ((PyObject *)__pyx_v_npcount), Py_GE); __Pyx_XGOTREF(__pyx_t_8); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 542; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7910
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
7911
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_n_s_all); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 542; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7912
__Pyx_GOTREF(__pyx_t_3);
7913
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
7914
__pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_empty_tuple, NULL); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 542; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7915
__Pyx_GOTREF(__pyx_t_8);
7916
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
7917
__pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 542; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7918
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
7919
if (unlikely(!__pyx_t_4)) {
7920
PyErr_SetObject(PyExc_AssertionError, __pyx_kp_s_Count_is_larger_than_shape);
7921
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 542; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9549
* assert (npshape - npoffset > npcount).all(), 'Count is larger than shape.'
7927
* assert (npshape - npoffset >= npcount).all(), 'Count is larger than shape.'
9551
* cdef np.ndarray var = np.zeros(npcount, dtype=ntype) # <<<<<<<<<<<<<<
9552
* cdef int64_t nbytes = adios_read_var_byid(
7929
* shape = list(npcount) # <<<<<<<<<<<<<<
7931
* shape.insert(0, nsteps)
9555
__pyx_t_8 = __Pyx_GetModuleGlobalName(__pyx_n_s__np); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 591; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9556
__Pyx_GOTREF(__pyx_t_8);
9557
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_n_s__zeros); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 591; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9558
__Pyx_GOTREF(__pyx_t_3);
9559
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
9560
__pyx_t_8 = PyTuple_New(1); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 591; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7933
__pyx_t_8 = PyTuple_New(1); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 544; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9561
7934
__Pyx_GOTREF(__pyx_t_8);
9562
7935
__Pyx_INCREF(((PyObject *)__pyx_v_npcount));
9563
7936
PyTuple_SET_ITEM(__pyx_t_8, 0, ((PyObject *)__pyx_v_npcount));
9564
7937
__Pyx_GIVEREF(((PyObject *)__pyx_v_npcount));
9565
__pyx_t_7 = PyDict_New(); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 591; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9566
__Pyx_GOTREF(((PyObject *)__pyx_t_7));
9567
if (PyDict_SetItem(__pyx_t_7, ((PyObject *)__pyx_n_s__dtype), ((PyObject *)__pyx_v_ntype)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 591; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9568
__pyx_t_1 = PyObject_Call(__pyx_t_3, ((PyObject *)__pyx_t_8), ((PyObject *)__pyx_t_7)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 591; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9569
__Pyx_GOTREF(__pyx_t_1);
7938
__pyx_t_3 = __Pyx_PyObject_Call(((PyObject *)((PyObject*)(&PyList_Type))), __pyx_t_8, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 544; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7939
__Pyx_GOTREF(__pyx_t_3);
7940
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
7941
__pyx_v_shape = ((PyObject*)__pyx_t_3);
7946
* shape = list(npcount)
7947
* if (nsteps > 1): # <<<<<<<<<<<<<<
7948
* shape.insert(0, nsteps)
7949
* cdef np.ndarray var = np.zeros(shape, dtype=self.type)
7951
__pyx_t_3 = PyObject_RichCompare(__pyx_v_nsteps, __pyx_int_1, Py_GT); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 545; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7952
__pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 545; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9570
7953
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
9571
__Pyx_DECREF(((PyObject *)__pyx_t_8)); __pyx_t_8 = 0;
9572
__Pyx_DECREF(((PyObject *)__pyx_t_7)); __pyx_t_7 = 0;
9573
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_5numpy_ndarray))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 591; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9574
__pyx_v_var = ((PyArrayObject *)__pyx_t_1);
9578
* <uint64_t *> npoffset.data,
9579
* <uint64_t *> npcount.data,
9580
* <void *> var.data # <<<<<<<<<<<<<<
9584
__pyx_v_nbytes = adios_read_var_byid(__pyx_v_self->group->gp, __pyx_v_self->vp->varid, ((uint64_t *)__pyx_v_npoffset->data), ((uint64_t *)__pyx_v_npcount->data), ((void *)__pyx_v_var->data));
9589
* if nbytes < 0: # <<<<<<<<<<<<<<
9590
* print "[WARNING] bytes read :", nbytes
9593
__pyx_t_4 = ((__pyx_v_nbytes < 0) != 0);
9594
7954
if (__pyx_t_4) {
9599
* print "[WARNING] bytes read :", nbytes # <<<<<<<<<<<<<<
7957
* shape = list(npcount)
7959
* shape.insert(0, nsteps) # <<<<<<<<<<<<<<
7960
* cdef np.ndarray var = np.zeros(shape, dtype=self.type)
7963
__pyx_t_10 = PyList_Insert(__pyx_v_shape, 0, __pyx_v_nsteps); if (unlikely(__pyx_t_10 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 546; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7970
* shape.insert(0, nsteps)
7971
* cdef np.ndarray var = np.zeros(shape, dtype=self.type) # <<<<<<<<<<<<<<
7973
* cdef ADIOS_SELECTION * sel
7975
__pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s_np); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 547; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7976
__Pyx_GOTREF(__pyx_t_3);
7977
__pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_zeros); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 547; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7978
__Pyx_GOTREF(__pyx_t_8);
7979
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
7980
__pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 547; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7981
__Pyx_GOTREF(__pyx_t_3);
7982
__Pyx_INCREF(__pyx_v_shape);
7983
PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_shape);
7984
__Pyx_GIVEREF(__pyx_v_shape);
7985
__pyx_t_7 = PyDict_New(); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 547; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7986
__Pyx_GOTREF(__pyx_t_7);
7987
if (PyDict_SetItem(__pyx_t_7, __pyx_n_s_dtype, ((PyObject *)__pyx_v_self->type)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 547; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7988
__pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_8, __pyx_t_3, __pyx_t_7); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 547; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7989
__Pyx_GOTREF(__pyx_t_2);
7990
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
7991
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
7992
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
7993
if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_5numpy_ndarray))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 547; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7994
__pyx_v_var = ((PyArrayObject *)__pyx_t_2);
7999
* cdef ADIOS_SELECTION * sel
8000
* sel = adios_selection_boundingbox (self.vp.ndim, <uint64_t *> npoffset.data, <uint64_t *> npcount.data) # <<<<<<<<<<<<<<
8002
* adios_schedule_read_byid (self.file.fp, sel, self.vp.varid, from_steps, nsteps, <void *> var.data)
8004
__pyx_v_sel = adios_selection_boundingbox(__pyx_v_self->vp->ndim, ((uint64_t *)__pyx_v_npoffset->data), ((uint64_t *)__pyx_v_npcount->data));
8007
* sel = adios_selection_boundingbox (self.vp.ndim, <uint64_t *> npoffset.data, <uint64_t *> npcount.data)
8009
* adios_schedule_read_byid (self.file.fp, sel, self.vp.varid, from_steps, nsteps, <void *> var.data) # <<<<<<<<<<<<<<
8010
* adios_perform_reads(self.file.fp, 1)
8013
__pyx_t_5 = __Pyx_PyInt_As_int(__pyx_v_from_steps); if (unlikely((__pyx_t_5 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 552; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8014
__pyx_t_6 = __Pyx_PyInt_As_int(__pyx_v_nsteps); if (unlikely((__pyx_t_6 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 552; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8015
adios_schedule_read_byid(__pyx_v_self->file->fp, __pyx_v_sel, __pyx_v_self->vp->varid, __pyx_t_5, __pyx_t_6, ((void *)__pyx_v_var->data));
8019
* adios_schedule_read_byid (self.file.fp, sel, self.vp.varid, from_steps, nsteps, <void *> var.data)
8020
* adios_perform_reads(self.file.fp, 1) # <<<<<<<<<<<<<<
9603
__pyx_t_1 = __Pyx_PyInt_to_py_int64_t(__pyx_v_nbytes); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 601; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9604
__Pyx_GOTREF(__pyx_t_1);
9605
__pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 601; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9606
__Pyx_GOTREF(__pyx_t_7);
9607
__Pyx_INCREF(((PyObject *)__pyx_kp_s_22));
9608
PyTuple_SET_ITEM(__pyx_t_7, 0, ((PyObject *)__pyx_kp_s_22));
9609
__Pyx_GIVEREF(((PyObject *)__pyx_kp_s_22));
9610
PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_1);
9611
__Pyx_GIVEREF(__pyx_t_1);
9613
if (__Pyx_Print(0, ((PyObject *)__pyx_t_7), 1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 601; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9614
__Pyx_DECREF(((PyObject *)__pyx_t_7)); __pyx_t_7 = 0;
8024
adios_perform_reads(__pyx_v_self->file->fp, 1);
9620
* print "[WARNING] bytes read :", nbytes
8027
* adios_perform_reads(self.file.fp, 1)
9622
8029
* return var # <<<<<<<<<<<<<<
10496
8924
const char *__pyx_filename = NULL;
10497
8925
int __pyx_clineno = 0;
10498
8926
__Pyx_RefNannySetupContext("__set__", 0);
10499
__pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 541; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10500
__pyx_v_self->characteristics_count = __pyx_t_1;
8927
__pyx_t_1 = __Pyx_PyInt_As_int(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 495; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8928
__pyx_v_self->nsteps = __pyx_t_1;
8930
/* function exit code */
10503
8932
goto __pyx_L0;
10504
8933
__pyx_L1_error:;
10505
__Pyx_AddTraceback("adios.AdiosVariable.characteristics_count.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
8934
__Pyx_AddTraceback("adios.var.nsteps.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
10508
8937
__Pyx_RefNannyFinishContext();
10509
8938
return __pyx_r;
8942
* ## ====================
8944
* def readvar(fname, varname): # <<<<<<<<<<<<<<
8946
* if not f.var.has_key(varname):
8949
/* Python wrapper */
8950
static PyObject *__pyx_pw_5adios_37readvar(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
8951
static PyMethodDef __pyx_mdef_5adios_37readvar = {__Pyx_NAMESTR("readvar"), (PyCFunction)__pyx_pw_5adios_37readvar, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)};
8952
static PyObject *__pyx_pw_5adios_37readvar(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
8953
PyObject *__pyx_v_fname = 0;
8954
PyObject *__pyx_v_varname = 0;
8955
int __pyx_lineno = 0;
8956
const char *__pyx_filename = NULL;
8957
int __pyx_clineno = 0;
8958
PyObject *__pyx_r = 0;
8959
__Pyx_RefNannyDeclarations
8960
__Pyx_RefNannySetupContext("readvar (wrapper)", 0);
8962
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_fname,&__pyx_n_s_varname,0};
8963
PyObject* values[2] = {0,0};
8964
if (unlikely(__pyx_kwds)) {
8966
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
8968
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
8969
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
8971
default: goto __pyx_L5_argtuple_error;
8973
kw_args = PyDict_Size(__pyx_kwds);
8976
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_fname)) != 0)) kw_args--;
8977
else goto __pyx_L5_argtuple_error;
8979
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_varname)) != 0)) kw_args--;
8981
__Pyx_RaiseArgtupleInvalid("readvar", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 569; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
8984
if (unlikely(kw_args > 0)) {
8985
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "readvar") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 569; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
8987
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
8988
goto __pyx_L5_argtuple_error;
8990
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
8991
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
8993
__pyx_v_fname = values[0];
8994
__pyx_v_varname = values[1];
8996
goto __pyx_L4_argument_unpacking_done;
8997
__pyx_L5_argtuple_error:;
8998
__Pyx_RaiseArgtupleInvalid("readvar", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 569; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
9000
__Pyx_AddTraceback("adios.readvar", __pyx_clineno, __pyx_lineno, __pyx_filename);
9001
__Pyx_RefNannyFinishContext();
9003
__pyx_L4_argument_unpacking_done:;
9004
__pyx_r = __pyx_pf_5adios_36readvar(__pyx_self, __pyx_v_fname, __pyx_v_varname);
9006
/* function exit code */
9007
__Pyx_RefNannyFinishContext();
9011
static PyObject *__pyx_pf_5adios_36readvar(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_fname, PyObject *__pyx_v_varname) {
9012
struct __pyx_obj_5adios_file *__pyx_v_f = NULL;
9013
PyObject *__pyx_v_v = NULL;
9014
PyObject *__pyx_r = NULL;
9015
__Pyx_RefNannyDeclarations
9016
PyObject *__pyx_t_1 = NULL;
9017
PyObject *__pyx_t_2 = NULL;
9020
PyObject *__pyx_t_5 = NULL;
9021
int __pyx_lineno = 0;
9022
const char *__pyx_filename = NULL;
9023
int __pyx_clineno = 0;
9024
__Pyx_RefNannySetupContext("readvar", 0);
9028
* def readvar(fname, varname):
9029
* f = file(fname) # <<<<<<<<<<<<<<
9030
* if not f.var.has_key(varname):
9031
* print "No valid variable"
9033
__pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 570; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9034
__Pyx_GOTREF(__pyx_t_1);
9035
__Pyx_INCREF(__pyx_v_fname);
9036
PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_fname);
9037
__Pyx_GIVEREF(__pyx_v_fname);
9038
__pyx_t_2 = __Pyx_PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_5adios_file)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 570; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9039
__Pyx_GOTREF(__pyx_t_2);
9040
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9041
__pyx_v_f = ((struct __pyx_obj_5adios_file *)__pyx_t_2);
9045
* def readvar(fname, varname):
9047
* if not f.var.has_key(varname): # <<<<<<<<<<<<<<
9048
* print "No valid variable"
9051
if (unlikely(__pyx_v_f->var == Py_None)) {
9052
PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%s'", "has_key");
9053
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 571; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9055
__pyx_t_3 = PyDict_Contains(__pyx_v_f->var, __pyx_v_varname); if (unlikely(__pyx_t_3 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 571; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9056
__pyx_t_4 = ((!(__pyx_t_3 != 0)) != 0);
9061
* if not f.var.has_key(varname):
9062
* print "No valid variable" # <<<<<<<<<<<<<<
9066
if (__Pyx_PrintOne(0, __pyx_kp_s_No_valid_variable) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9069
* if not f.var.has_key(varname):
9070
* print "No valid variable"
9071
* return # <<<<<<<<<<<<<<
9073
* v = f.var[varname]
9075
__Pyx_XDECREF(__pyx_r);
9076
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
9083
* v = f.var[varname] # <<<<<<<<<<<<<<
9084
* return v.read(from_steps=0, nsteps=v.nsteps)
9087
if (unlikely(__pyx_v_f->var == Py_None)) {
9088
PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
9089
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 575; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9091
__pyx_t_2 = __Pyx_PyDict_GetItem(__pyx_v_f->var, __pyx_v_varname); if (unlikely(__pyx_t_2 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 575; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
9092
__Pyx_GOTREF(__pyx_t_2);
9093
__pyx_v_v = __pyx_t_2;
9098
* v = f.var[varname]
9099
* return v.read(from_steps=0, nsteps=v.nsteps) # <<<<<<<<<<<<<<
9103
__Pyx_XDECREF(__pyx_r);
9104
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_v, __pyx_n_s_read); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 576; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9105
__Pyx_GOTREF(__pyx_t_2);
9106
__pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 576; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9107
__Pyx_GOTREF(__pyx_t_1);
9108
if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_from_steps, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 576; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9109
__pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_v, __pyx_n_s_nsteps); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 576; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9110
__Pyx_GOTREF(__pyx_t_5);
9111
if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_nsteps, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 576; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9112
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
9113
__pyx_t_5 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_empty_tuple, __pyx_t_1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 576; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9114
__Pyx_GOTREF(__pyx_t_5);
9115
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
9116
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9117
__pyx_r = __pyx_t_5;
9122
* ## ====================
9124
* def readvar(fname, varname): # <<<<<<<<<<<<<<
9126
* if not f.var.has_key(varname):
9129
/* function exit code */
9131
__Pyx_XDECREF(__pyx_t_1);
9132
__Pyx_XDECREF(__pyx_t_2);
9133
__Pyx_XDECREF(__pyx_t_5);
9134
__Pyx_AddTraceback("adios.readvar", __pyx_clineno, __pyx_lineno, __pyx_filename);
9137
__Pyx_XDECREF((PyObject *)__pyx_v_f);
9138
__Pyx_XDECREF(__pyx_v_v);
9139
__Pyx_XGIVEREF(__pyx_r);
9140
__Pyx_RefNannyFinishContext();
9145
* return v.read(from_steps=0, nsteps=v.nsteps)
9147
* def bpls(fname): # <<<<<<<<<<<<<<
9149
* return {'nvars': f.nvars,
9152
/* Python wrapper */
9153
static PyObject *__pyx_pw_5adios_39bpls(PyObject *__pyx_self, PyObject *__pyx_v_fname); /*proto*/
9154
static PyMethodDef __pyx_mdef_5adios_39bpls = {__Pyx_NAMESTR("bpls"), (PyCFunction)__pyx_pw_5adios_39bpls, METH_O, __Pyx_DOCSTR(0)};
9155
static PyObject *__pyx_pw_5adios_39bpls(PyObject *__pyx_self, PyObject *__pyx_v_fname) {
9156
PyObject *__pyx_r = 0;
9157
__Pyx_RefNannyDeclarations
9158
__Pyx_RefNannySetupContext("bpls (wrapper)", 0);
9159
__pyx_r = __pyx_pf_5adios_38bpls(__pyx_self, ((PyObject *)__pyx_v_fname));
9161
/* function exit code */
9162
__Pyx_RefNannyFinishContext();
9166
static PyObject *__pyx_pf_5adios_38bpls(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_fname) {
9167
struct __pyx_obj_5adios_file *__pyx_v_f = NULL;
9168
PyObject *__pyx_v_k = NULL;
9169
PyObject *__pyx_r = NULL;
9170
__Pyx_RefNannyDeclarations
9171
PyObject *__pyx_t_1 = NULL;
9172
PyObject *__pyx_t_2 = NULL;
9173
PyObject *__pyx_t_3 = NULL;
9174
Py_ssize_t __pyx_t_4;
9175
Py_ssize_t __pyx_t_5;
9177
PyObject *__pyx_t_7 = NULL;
9179
int __pyx_lineno = 0;
9180
const char *__pyx_filename = NULL;
9181
int __pyx_clineno = 0;
9182
__Pyx_RefNannySetupContext("bpls", 0);
9187
* f = file(fname) # <<<<<<<<<<<<<<
9188
* return {'nvars': f.nvars,
9189
* 'nattrs': f.nattrs,
9191
__pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 579; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9192
__Pyx_GOTREF(__pyx_t_1);
9193
__Pyx_INCREF(__pyx_v_fname);
9194
PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_fname);
9195
__Pyx_GIVEREF(__pyx_v_fname);
9196
__pyx_t_2 = __Pyx_PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_5adios_file)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 579; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9197
__Pyx_GOTREF(__pyx_t_2);
9198
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9199
__pyx_v_f = ((struct __pyx_obj_5adios_file *)__pyx_t_2);
9205
* return {'nvars': f.nvars, # <<<<<<<<<<<<<<
9206
* 'nattrs': f.nattrs,
9207
* 'vars': tuple([ k for k in f.var.iterkeys() ]),
9209
__Pyx_XDECREF(__pyx_r);
9210
__pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 580; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9211
__Pyx_GOTREF(__pyx_t_2);
9212
__pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_f->nvars); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 580; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9213
__Pyx_GOTREF(__pyx_t_1);
9214
if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_nvars, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 580; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9215
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9219
* return {'nvars': f.nvars,
9220
* 'nattrs': f.nattrs, # <<<<<<<<<<<<<<
9221
* 'vars': tuple([ k for k in f.var.iterkeys() ]),
9222
* 'attrs': tuple([ k for k in f.attr.iterkeys() ]),
9224
__pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_f->nattrs); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 581; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9225
__Pyx_GOTREF(__pyx_t_1);
9226
if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_nattrs, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 580; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9227
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9230
* return {'nvars': f.nvars,
9231
* 'nattrs': f.nattrs,
9232
* 'vars': tuple([ k for k in f.var.iterkeys() ]), # <<<<<<<<<<<<<<
9233
* 'attrs': tuple([ k for k in f.attr.iterkeys() ]),
9234
* 'time_steps': (f.current_step, f.last_step),
9236
__pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 582; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9237
__Pyx_GOTREF(__pyx_t_1);
9239
if (unlikely(__pyx_v_f->var == Py_None)) {
9240
PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%s'", "iterkeys");
9241
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 582; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9243
__pyx_t_7 = __Pyx_dict_iterator(__pyx_v_f->var, 1, __pyx_n_s_iterkeys, (&__pyx_t_5), (&__pyx_t_6)); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 582; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9244
__Pyx_GOTREF(__pyx_t_7);
9245
__Pyx_XDECREF(__pyx_t_3);
9246
__pyx_t_3 = __pyx_t_7;
9249
__pyx_t_8 = __Pyx_dict_iter_next(__pyx_t_3, __pyx_t_5, &__pyx_t_4, &__pyx_t_7, NULL, NULL, __pyx_t_6);
9250
if (unlikely(__pyx_t_8 == 0)) break;
9251
if (unlikely(__pyx_t_8 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 582; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9252
__Pyx_GOTREF(__pyx_t_7);
9253
__Pyx_XDECREF_SET(__pyx_v_k, __pyx_t_7);
9255
if (unlikely(__Pyx_ListComp_Append(__pyx_t_1, (PyObject*)__pyx_v_k))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 582; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9257
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
9258
__pyx_t_3 = PyList_AsTuple(((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 582; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9259
__Pyx_GOTREF(__pyx_t_3);
9260
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9261
if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_vars, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 580; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9262
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
9265
* 'nattrs': f.nattrs,
9266
* 'vars': tuple([ k for k in f.var.iterkeys() ]),
9267
* 'attrs': tuple([ k for k in f.attr.iterkeys() ]), # <<<<<<<<<<<<<<
9268
* 'time_steps': (f.current_step, f.last_step),
9269
* 'file_size': f.file_size}
9271
__pyx_t_3 = PyList_New(0); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 583; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9272
__Pyx_GOTREF(__pyx_t_3);
9274
if (unlikely(__pyx_v_f->attr == Py_None)) {
9275
PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%s'", "iterkeys");
9276
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 583; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9278
__pyx_t_7 = __Pyx_dict_iterator(__pyx_v_f->attr, 1, __pyx_n_s_iterkeys, (&__pyx_t_4), (&__pyx_t_6)); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 583; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9279
__Pyx_GOTREF(__pyx_t_7);
9280
__Pyx_XDECREF(__pyx_t_1);
9281
__pyx_t_1 = __pyx_t_7;
9284
__pyx_t_8 = __Pyx_dict_iter_next(__pyx_t_1, __pyx_t_4, &__pyx_t_5, &__pyx_t_7, NULL, NULL, __pyx_t_6);
9285
if (unlikely(__pyx_t_8 == 0)) break;
9286
if (unlikely(__pyx_t_8 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 583; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9287
__Pyx_GOTREF(__pyx_t_7);
9288
__Pyx_XDECREF_SET(__pyx_v_k, __pyx_t_7);
9290
if (unlikely(__Pyx_ListComp_Append(__pyx_t_3, (PyObject*)__pyx_v_k))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 583; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9292
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9293
__pyx_t_1 = PyList_AsTuple(((PyObject*)__pyx_t_3)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 583; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9294
__Pyx_GOTREF(__pyx_t_1);
9295
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
9296
if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_attrs, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 580; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9297
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9300
* 'vars': tuple([ k for k in f.var.iterkeys() ]),
9301
* 'attrs': tuple([ k for k in f.attr.iterkeys() ]),
9302
* 'time_steps': (f.current_step, f.last_step), # <<<<<<<<<<<<<<
9303
* 'file_size': f.file_size}
9306
__pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_f->current_step); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 584; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9307
__Pyx_GOTREF(__pyx_t_1);
9308
__pyx_t_3 = __Pyx_PyInt_From_int(__pyx_v_f->last_step); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 584; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9309
__Pyx_GOTREF(__pyx_t_3);
9310
__pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 584; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9311
__Pyx_GOTREF(__pyx_t_7);
9312
PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_1);
9313
__Pyx_GIVEREF(__pyx_t_1);
9314
PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_3);
9315
__Pyx_GIVEREF(__pyx_t_3);
9318
if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_time_steps, __pyx_t_7) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 580; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9319
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
9322
* 'attrs': tuple([ k for k in f.attr.iterkeys() ]),
9323
* 'time_steps': (f.current_step, f.last_step),
9324
* 'file_size': f.file_size} # <<<<<<<<<<<<<<
9327
__pyx_t_7 = __Pyx_PyInt_From_int(__pyx_v_f->file_size); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 585; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9328
__Pyx_GOTREF(__pyx_t_7);
9329
if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_file_size, __pyx_t_7) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 580; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9330
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
9331
__pyx_r = __pyx_t_2;
9336
* return v.read(from_steps=0, nsteps=v.nsteps)
9338
* def bpls(fname): # <<<<<<<<<<<<<<
9340
* return {'nvars': f.nvars,
9343
/* function exit code */
9345
__Pyx_XDECREF(__pyx_t_1);
9346
__Pyx_XDECREF(__pyx_t_2);
9347
__Pyx_XDECREF(__pyx_t_3);
9348
__Pyx_XDECREF(__pyx_t_7);
9349
__Pyx_AddTraceback("adios.bpls", __pyx_clineno, __pyx_lineno, __pyx_filename);
9352
__Pyx_XDECREF((PyObject *)__pyx_v_f);
9353
__Pyx_XDECREF(__pyx_v_k);
9354
__Pyx_XGIVEREF(__pyx_r);
9355
__Pyx_RefNannyFinishContext();
9359
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":194
9360
* # experimental exception made for __getbuffer__ and __releasebuffer__
9361
* # -- the details of this may change.
9362
* def __getbuffer__(ndarray self, Py_buffer* info, int flags): # <<<<<<<<<<<<<<
9363
* # This implementation of getbuffer is geared towards Cython
9364
* # requirements, and does not yet fullfill the PEP.
10512
9367
/* Python wrapper */
10513
9368
static CYTHON_UNUSED int __pyx_pw_5numpy_7ndarray_1__getbuffer__(PyObject *__pyx_v_self, Py_buffer *__pyx_v_info, int __pyx_v_flags); /*proto*/
10514
9369
static CYTHON_UNUSED int __pyx_pw_5numpy_7ndarray_1__getbuffer__(PyObject *__pyx_v_self, Py_buffer *__pyx_v_info, int __pyx_v_flags) {
11865
10723
__pyx_v_f = (__pyx_v_f + 1);
10725
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":816
11868
10726
* f[0] = 120 # "x"; pad byte
11870
10728
* offset[0] += 1 # <<<<<<<<<<<<<<
11872
10730
* offset[0] += child.itemsize
11875
(__pyx_v_offset[__pyx_t_11]) = ((__pyx_v_offset[__pyx_t_11]) + 1);
10733
(__pyx_v_offset[__pyx_t_10]) = ((__pyx_v_offset[__pyx_t_10]) + 1);
10736
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":818
11879
10737
* offset[0] += 1
11881
10739
* offset[0] += child.itemsize # <<<<<<<<<<<<<<
11883
10741
* if not PyDataType_HASFIELDS(child):
11886
(__pyx_v_offset[__pyx_t_11]) = ((__pyx_v_offset[__pyx_t_11]) + __pyx_v_child->elsize);
10744
(__pyx_v_offset[__pyx_t_10]) = ((__pyx_v_offset[__pyx_t_10]) + __pyx_v_child->elsize);
10746
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":820
11889
10747
* offset[0] += child.itemsize
11891
10749
* if not PyDataType_HASFIELDS(child): # <<<<<<<<<<<<<<
11892
10750
* t = child.type_num
11893
10751
* if end - f < 5:
11895
__pyx_t_7 = ((!(PyDataType_HASFIELDS(__pyx_v_child) != 0)) != 0);
10753
__pyx_t_6 = ((!(PyDataType_HASFIELDS(__pyx_v_child) != 0)) != 0);
10756
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":821
11900
10758
* if not PyDataType_HASFIELDS(child):
11901
10759
* t = child.type_num # <<<<<<<<<<<<<<
11902
10760
* if end - f < 5:
11903
10761
* raise RuntimeError(u"Format string allocated too short.")
11905
__pyx_t_3 = PyInt_FromLong(__pyx_v_child->type_num); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 821; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11906
__Pyx_GOTREF(__pyx_t_3);
11907
__Pyx_XDECREF(__pyx_v_t);
11908
__pyx_v_t = __pyx_t_3;
10763
__pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_child->type_num); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 821; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10764
__Pyx_GOTREF(__pyx_t_4);
10765
__Pyx_XDECREF_SET(__pyx_v_t, __pyx_t_4);
10768
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":822
11912
10769
* if not PyDataType_HASFIELDS(child):
11913
10770
* t = child.type_num
11914
10771
* if end - f < 5: # <<<<<<<<<<<<<<
11915
10772
* raise RuntimeError(u"Format string allocated too short.")
11918
__pyx_t_7 = (((__pyx_v_end - __pyx_v_f) < 5) != 0);
10775
__pyx_t_6 = (((__pyx_v_end - __pyx_v_f) < 5) != 0);
10778
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":823
11922
10779
* t = child.type_num
11923
10780
* if end - f < 5:
11924
10781
* raise RuntimeError(u"Format string allocated too short.") # <<<<<<<<<<<<<<
11926
10783
* # Until ticket #99 is fixed, use integers to avoid warnings
11928
__pyx_t_3 = PyObject_Call(__pyx_builtin_RuntimeError, ((PyObject *)__pyx_k_tuple_35), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 823; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11929
__Pyx_GOTREF(__pyx_t_3);
11930
__Pyx_Raise(__pyx_t_3, 0, 0, 0);
11931
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
10785
__pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_RuntimeError, __pyx_tuple__18, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 823; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10786
__Pyx_GOTREF(__pyx_t_4);
10787
__Pyx_Raise(__pyx_t_4, 0, 0, 0);
10788
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
11932
10789
{__pyx_filename = __pyx_f[1]; __pyx_lineno = 823; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10792
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":826
11939
10794
* # Until ticket #99 is fixed, use integers to avoid warnings
11940
10795
* if t == NPY_BYTE: f[0] = 98 #"b" # <<<<<<<<<<<<<<
11941
10796
* elif t == NPY_UBYTE: f[0] = 66 #"B"
11942
10797
* elif t == NPY_SHORT: f[0] = 104 #"h"
11944
__pyx_t_3 = PyInt_FromLong(NPY_BYTE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 826; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11945
__Pyx_GOTREF(__pyx_t_3);
11946
__pyx_t_5 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 826; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10799
__pyx_t_4 = PyInt_FromLong(NPY_BYTE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 826; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10800
__Pyx_GOTREF(__pyx_t_4);
10801
__pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 826; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10802
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
10803
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 826; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11947
10804
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
11948
__pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 826; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11949
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
11951
10806
(__pyx_v_f[0]) = 98;
10810
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":827
11956
10811
* # Until ticket #99 is fixed, use integers to avoid warnings
11957
10812
* if t == NPY_BYTE: f[0] = 98 #"b"
11958
10813
* elif t == NPY_UBYTE: f[0] = 66 #"B" # <<<<<<<<<<<<<<
11959
10814
* elif t == NPY_SHORT: f[0] = 104 #"h"
11960
10815
* elif t == NPY_USHORT: f[0] = 72 #"H"
11962
__pyx_t_5 = PyInt_FromLong(NPY_UBYTE); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 827; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11963
__Pyx_GOTREF(__pyx_t_5);
11964
__pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 827; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11965
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
11966
__pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 827; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10817
__pyx_t_3 = PyInt_FromLong(NPY_UBYTE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 827; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10818
__Pyx_GOTREF(__pyx_t_3);
10819
__pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 827; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11967
10820
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
10821
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 827; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10822
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
11969
10824
(__pyx_v_f[0]) = 66;
10828
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":828
11974
10829
* if t == NPY_BYTE: f[0] = 98 #"b"
11975
10830
* elif t == NPY_UBYTE: f[0] = 66 #"B"
11976
10831
* elif t == NPY_SHORT: f[0] = 104 #"h" # <<<<<<<<<<<<<<
11977
10832
* elif t == NPY_USHORT: f[0] = 72 #"H"
11978
10833
* elif t == NPY_INT: f[0] = 105 #"i"
11980
__pyx_t_3 = PyInt_FromLong(NPY_SHORT); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 828; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11981
__Pyx_GOTREF(__pyx_t_3);
11982
__pyx_t_5 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 828; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10835
__pyx_t_4 = PyInt_FromLong(NPY_SHORT); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 828; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10836
__Pyx_GOTREF(__pyx_t_4);
10837
__pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 828; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10838
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
10839
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 828; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11983
10840
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
11984
__pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 828; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11985
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
11987
10842
(__pyx_v_f[0]) = 104;
10846
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":829
11992
10847
* elif t == NPY_UBYTE: f[0] = 66 #"B"
11993
10848
* elif t == NPY_SHORT: f[0] = 104 #"h"
11994
10849
* elif t == NPY_USHORT: f[0] = 72 #"H" # <<<<<<<<<<<<<<
11995
10850
* elif t == NPY_INT: f[0] = 105 #"i"
11996
10851
* elif t == NPY_UINT: f[0] = 73 #"I"
11998
__pyx_t_5 = PyInt_FromLong(NPY_USHORT); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 829; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11999
__Pyx_GOTREF(__pyx_t_5);
12000
__pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 829; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12001
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
12002
__pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 829; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10853
__pyx_t_3 = PyInt_FromLong(NPY_USHORT); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 829; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10854
__Pyx_GOTREF(__pyx_t_3);
10855
__pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 829; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12003
10856
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
10857
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 829; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10858
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
12005
10860
(__pyx_v_f[0]) = 72;
10864
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":830
12010
10865
* elif t == NPY_SHORT: f[0] = 104 #"h"
12011
10866
* elif t == NPY_USHORT: f[0] = 72 #"H"
12012
10867
* elif t == NPY_INT: f[0] = 105 #"i" # <<<<<<<<<<<<<<
12013
10868
* elif t == NPY_UINT: f[0] = 73 #"I"
12014
10869
* elif t == NPY_LONG: f[0] = 108 #"l"
12016
__pyx_t_3 = PyInt_FromLong(NPY_INT); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 830; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12017
__Pyx_GOTREF(__pyx_t_3);
12018
__pyx_t_5 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 830; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10871
__pyx_t_4 = PyInt_FromLong(NPY_INT); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 830; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10872
__Pyx_GOTREF(__pyx_t_4);
10873
__pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 830; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10874
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
10875
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 830; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12019
10876
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
12020
__pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 830; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12021
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
12023
10878
(__pyx_v_f[0]) = 105;
10882
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":831
12028
10883
* elif t == NPY_USHORT: f[0] = 72 #"H"
12029
10884
* elif t == NPY_INT: f[0] = 105 #"i"
12030
10885
* elif t == NPY_UINT: f[0] = 73 #"I" # <<<<<<<<<<<<<<
12031
10886
* elif t == NPY_LONG: f[0] = 108 #"l"
12032
10887
* elif t == NPY_ULONG: f[0] = 76 #"L"
12034
__pyx_t_5 = PyInt_FromLong(NPY_UINT); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 831; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12035
__Pyx_GOTREF(__pyx_t_5);
12036
__pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 831; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12037
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
12038
__pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 831; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10889
__pyx_t_3 = PyInt_FromLong(NPY_UINT); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 831; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10890
__Pyx_GOTREF(__pyx_t_3);
10891
__pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 831; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12039
10892
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
10893
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 831; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10894
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
12041
10896
(__pyx_v_f[0]) = 73;
10900
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":832
12046
10901
* elif t == NPY_INT: f[0] = 105 #"i"
12047
10902
* elif t == NPY_UINT: f[0] = 73 #"I"
12048
10903
* elif t == NPY_LONG: f[0] = 108 #"l" # <<<<<<<<<<<<<<
12049
10904
* elif t == NPY_ULONG: f[0] = 76 #"L"
12050
10905
* elif t == NPY_LONGLONG: f[0] = 113 #"q"
12052
__pyx_t_3 = PyInt_FromLong(NPY_LONG); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 832; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12053
__Pyx_GOTREF(__pyx_t_3);
12054
__pyx_t_5 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 832; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10907
__pyx_t_4 = PyInt_FromLong(NPY_LONG); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 832; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10908
__Pyx_GOTREF(__pyx_t_4);
10909
__pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 832; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10910
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
10911
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 832; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12055
10912
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
12056
__pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 832; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12057
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
12059
10914
(__pyx_v_f[0]) = 108;
10918
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":833
12064
10919
* elif t == NPY_UINT: f[0] = 73 #"I"
12065
10920
* elif t == NPY_LONG: f[0] = 108 #"l"
12066
10921
* elif t == NPY_ULONG: f[0] = 76 #"L" # <<<<<<<<<<<<<<
12067
10922
* elif t == NPY_LONGLONG: f[0] = 113 #"q"
12068
10923
* elif t == NPY_ULONGLONG: f[0] = 81 #"Q"
12070
__pyx_t_5 = PyInt_FromLong(NPY_ULONG); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 833; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12071
__Pyx_GOTREF(__pyx_t_5);
12072
__pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 833; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12073
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
12074
__pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 833; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10925
__pyx_t_3 = PyInt_FromLong(NPY_ULONG); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 833; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10926
__Pyx_GOTREF(__pyx_t_3);
10927
__pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 833; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12075
10928
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
10929
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 833; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10930
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
12077
10932
(__pyx_v_f[0]) = 76;
10936
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":834
12082
10937
* elif t == NPY_LONG: f[0] = 108 #"l"
12083
10938
* elif t == NPY_ULONG: f[0] = 76 #"L"
12084
10939
* elif t == NPY_LONGLONG: f[0] = 113 #"q" # <<<<<<<<<<<<<<
12085
10940
* elif t == NPY_ULONGLONG: f[0] = 81 #"Q"
12086
10941
* elif t == NPY_FLOAT: f[0] = 102 #"f"
12088
__pyx_t_3 = PyInt_FromLong(NPY_LONGLONG); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 834; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12089
__Pyx_GOTREF(__pyx_t_3);
12090
__pyx_t_5 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 834; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10943
__pyx_t_4 = PyInt_FromLong(NPY_LONGLONG); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 834; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10944
__Pyx_GOTREF(__pyx_t_4);
10945
__pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 834; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10946
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
10947
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 834; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12091
10948
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
12092
__pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 834; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12093
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
12095
10950
(__pyx_v_f[0]) = 113;
10954
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":835
12100
10955
* elif t == NPY_ULONG: f[0] = 76 #"L"
12101
10956
* elif t == NPY_LONGLONG: f[0] = 113 #"q"
12102
10957
* elif t == NPY_ULONGLONG: f[0] = 81 #"Q" # <<<<<<<<<<<<<<
12103
10958
* elif t == NPY_FLOAT: f[0] = 102 #"f"
12104
10959
* elif t == NPY_DOUBLE: f[0] = 100 #"d"
12106
__pyx_t_5 = PyInt_FromLong(NPY_ULONGLONG); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 835; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12107
__Pyx_GOTREF(__pyx_t_5);
12108
__pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 835; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12109
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
12110
__pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 835; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10961
__pyx_t_3 = PyInt_FromLong(NPY_ULONGLONG); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 835; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10962
__Pyx_GOTREF(__pyx_t_3);
10963
__pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 835; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12111
10964
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
10965
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 835; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10966
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
12113
10968
(__pyx_v_f[0]) = 81;
10972
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":836
12118
10973
* elif t == NPY_LONGLONG: f[0] = 113 #"q"
12119
10974
* elif t == NPY_ULONGLONG: f[0] = 81 #"Q"
12120
10975
* elif t == NPY_FLOAT: f[0] = 102 #"f" # <<<<<<<<<<<<<<
12121
10976
* elif t == NPY_DOUBLE: f[0] = 100 #"d"
12122
10977
* elif t == NPY_LONGDOUBLE: f[0] = 103 #"g"
12124
__pyx_t_3 = PyInt_FromLong(NPY_FLOAT); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 836; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12125
__Pyx_GOTREF(__pyx_t_3);
12126
__pyx_t_5 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 836; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10979
__pyx_t_4 = PyInt_FromLong(NPY_FLOAT); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 836; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10980
__Pyx_GOTREF(__pyx_t_4);
10981
__pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 836; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10982
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
10983
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 836; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12127
10984
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
12128
__pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 836; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12129
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
12131
10986
(__pyx_v_f[0]) = 102;
10990
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":837
12136
10991
* elif t == NPY_ULONGLONG: f[0] = 81 #"Q"
12137
10992
* elif t == NPY_FLOAT: f[0] = 102 #"f"
12138
10993
* elif t == NPY_DOUBLE: f[0] = 100 #"d" # <<<<<<<<<<<<<<
12139
10994
* elif t == NPY_LONGDOUBLE: f[0] = 103 #"g"
12140
10995
* elif t == NPY_CFLOAT: f[0] = 90; f[1] = 102; f += 1 # Zf
12142
__pyx_t_5 = PyInt_FromLong(NPY_DOUBLE); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 837; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12143
__Pyx_GOTREF(__pyx_t_5);
12144
__pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 837; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12145
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
12146
__pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 837; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10997
__pyx_t_3 = PyInt_FromLong(NPY_DOUBLE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 837; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10998
__Pyx_GOTREF(__pyx_t_3);
10999
__pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 837; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12147
11000
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
11001
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 837; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11002
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
12149
11004
(__pyx_v_f[0]) = 100;
11008
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":838
12154
11009
* elif t == NPY_FLOAT: f[0] = 102 #"f"
12155
11010
* elif t == NPY_DOUBLE: f[0] = 100 #"d"
12156
11011
* elif t == NPY_LONGDOUBLE: f[0] = 103 #"g" # <<<<<<<<<<<<<<
12157
11012
* elif t == NPY_CFLOAT: f[0] = 90; f[1] = 102; f += 1 # Zf
12158
11013
* elif t == NPY_CDOUBLE: f[0] = 90; f[1] = 100; f += 1 # Zd
12160
__pyx_t_3 = PyInt_FromLong(NPY_LONGDOUBLE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 838; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12161
__Pyx_GOTREF(__pyx_t_3);
12162
__pyx_t_5 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 838; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11015
__pyx_t_4 = PyInt_FromLong(NPY_LONGDOUBLE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 838; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11016
__Pyx_GOTREF(__pyx_t_4);
11017
__pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 838; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11018
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
11019
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 838; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12163
11020
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
12164
__pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 838; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12165
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
12167
11022
(__pyx_v_f[0]) = 103;
11026
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":839
12172
11027
* elif t == NPY_DOUBLE: f[0] = 100 #"d"
12173
11028
* elif t == NPY_LONGDOUBLE: f[0] = 103 #"g"
12174
11029
* elif t == NPY_CFLOAT: f[0] = 90; f[1] = 102; f += 1 # Zf # <<<<<<<<<<<<<<
12175
11030
* elif t == NPY_CDOUBLE: f[0] = 90; f[1] = 100; f += 1 # Zd
12176
11031
* elif t == NPY_CLONGDOUBLE: f[0] = 90; f[1] = 103; f += 1 # Zg
12178
__pyx_t_5 = PyInt_FromLong(NPY_CFLOAT); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 839; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12179
__Pyx_GOTREF(__pyx_t_5);
12180
__pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 839; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12181
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
12182
__pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 839; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11033
__pyx_t_3 = PyInt_FromLong(NPY_CFLOAT); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 839; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11034
__Pyx_GOTREF(__pyx_t_3);
11035
__pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 839; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12183
11036
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
11037
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 839; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11038
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
12185
11040
(__pyx_v_f[0]) = 90;
12186
11041
(__pyx_v_f[1]) = 102;
12187
11042
__pyx_v_f = (__pyx_v_f + 1);
11046
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":840
12192
11047
* elif t == NPY_LONGDOUBLE: f[0] = 103 #"g"
12193
11048
* elif t == NPY_CFLOAT: f[0] = 90; f[1] = 102; f += 1 # Zf
12194
11049
* elif t == NPY_CDOUBLE: f[0] = 90; f[1] = 100; f += 1 # Zd # <<<<<<<<<<<<<<
12195
11050
* elif t == NPY_CLONGDOUBLE: f[0] = 90; f[1] = 103; f += 1 # Zg
12196
11051
* elif t == NPY_OBJECT: f[0] = 79 #"O"
12198
__pyx_t_3 = PyInt_FromLong(NPY_CDOUBLE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 840; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12199
__Pyx_GOTREF(__pyx_t_3);
12200
__pyx_t_5 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 840; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11053
__pyx_t_4 = PyInt_FromLong(NPY_CDOUBLE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 840; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11054
__Pyx_GOTREF(__pyx_t_4);
11055
__pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 840; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11056
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
11057
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 840; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12201
11058
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
12202
__pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 840; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12203
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
12205
11060
(__pyx_v_f[0]) = 90;
12206
11061
(__pyx_v_f[1]) = 100;
12207
11062
__pyx_v_f = (__pyx_v_f + 1);
11066
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":841
12212
11067
* elif t == NPY_CFLOAT: f[0] = 90; f[1] = 102; f += 1 # Zf
12213
11068
* elif t == NPY_CDOUBLE: f[0] = 90; f[1] = 100; f += 1 # Zd
12214
11069
* elif t == NPY_CLONGDOUBLE: f[0] = 90; f[1] = 103; f += 1 # Zg # <<<<<<<<<<<<<<
12215
11070
* elif t == NPY_OBJECT: f[0] = 79 #"O"
12218
__pyx_t_5 = PyInt_FromLong(NPY_CLONGDOUBLE); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 841; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12219
__Pyx_GOTREF(__pyx_t_5);
12220
__pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 841; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12221
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
12222
__pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 841; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11073
__pyx_t_3 = PyInt_FromLong(NPY_CLONGDOUBLE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 841; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11074
__Pyx_GOTREF(__pyx_t_3);
11075
__pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 841; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12223
11076
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
11077
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 841; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11078
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
12225
11080
(__pyx_v_f[0]) = 90;
12226
11081
(__pyx_v_f[1]) = 103;
12227
11082
__pyx_v_f = (__pyx_v_f + 1);
11086
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":842
12232
11087
* elif t == NPY_CDOUBLE: f[0] = 90; f[1] = 100; f += 1 # Zd
12233
11088
* elif t == NPY_CLONGDOUBLE: f[0] = 90; f[1] = 103; f += 1 # Zg
12234
11089
* elif t == NPY_OBJECT: f[0] = 79 #"O" # <<<<<<<<<<<<<<
12236
11091
* raise ValueError(u"unknown dtype code in numpy.pxd (%d)" % t)
12238
__pyx_t_3 = PyInt_FromLong(NPY_OBJECT); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 842; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12239
__Pyx_GOTREF(__pyx_t_3);
12240
__pyx_t_5 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 842; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11093
__pyx_t_4 = PyInt_FromLong(NPY_OBJECT); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 842; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11094
__Pyx_GOTREF(__pyx_t_4);
11095
__pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 842; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11096
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
11097
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 842; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12241
11098
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
12242
__pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 842; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12243
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
12245
11100
(__pyx_v_f[0]) = 79;
11105
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":844
12251
11106
* elif t == NPY_OBJECT: f[0] = 79 #"O"
12253
11108
* raise ValueError(u"unknown dtype code in numpy.pxd (%d)" % t) # <<<<<<<<<<<<<<
12257
__pyx_t_5 = PyNumber_Remainder(((PyObject *)__pyx_kp_u_30), __pyx_v_t); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 844; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12258
__Pyx_GOTREF(((PyObject *)__pyx_t_5));
12259
__pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 844; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12260
__Pyx_GOTREF(__pyx_t_3);
12261
PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_t_5));
12262
__Pyx_GIVEREF(((PyObject *)__pyx_t_5));
12264
__pyx_t_5 = PyObject_Call(__pyx_builtin_ValueError, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 844; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12265
__Pyx_GOTREF(__pyx_t_5);
12266
__Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
12267
__Pyx_Raise(__pyx_t_5, 0, 0, 0);
12268
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
11112
__pyx_t_3 = PyUnicode_Format(__pyx_kp_u_unknown_dtype_code_in_numpy_pxd, __pyx_v_t); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 844; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11113
__Pyx_GOTREF(__pyx_t_3);
11114
__pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 844; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11115
__Pyx_GOTREF(__pyx_t_4);
11116
PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3);
11117
__Pyx_GIVEREF(__pyx_t_3);
11119
__pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 844; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11120
__Pyx_GOTREF(__pyx_t_3);
11121
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
11122
__Pyx_Raise(__pyx_t_3, 0, 0, 0);
11123
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
12269
11124
{__pyx_filename = __pyx_f[1]; __pyx_lineno = 844; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
11128
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":845
12275
11130
* raise ValueError(u"unknown dtype code in numpy.pxd (%d)" % t)
12276
11131
* f += 1 # <<<<<<<<<<<<<<
12453
11322
__pyx_r = ((PyObject *)__pyx_v_arr->base);
12454
11323
goto __pyx_L0;
12458
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
11326
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":976
11327
* arr.base = baseptr
11329
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
11330
* if arr.base is NULL:
11334
/* function exit code */
12460
11336
__Pyx_XGIVEREF(__pyx_r);
12461
11337
__Pyx_RefNannyFinishContext();
12462
11338
return __pyx_r;
12464
static struct __pyx_vtabstruct_5adios_AdiosFile __pyx_vtable_5adios_AdiosFile;
12466
static PyObject *__pyx_tp_new_5adios_AdiosFile(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
12467
struct __pyx_obj_5adios_AdiosFile *p;
12469
o = (*t->tp_alloc)(t, 0);
12470
if (unlikely(!o)) return 0;
12471
p = ((struct __pyx_obj_5adios_AdiosFile *)o);
12472
p->__pyx_vtab = __pyx_vtabptr_5adios_AdiosFile;
12473
p->name = ((PyObject*)Py_None); Py_INCREF(Py_None);
12474
p->group = ((PyObject*)Py_None); Py_INCREF(Py_None);
12478
static void __pyx_tp_dealloc_5adios_AdiosFile(PyObject *o) {
12479
struct __pyx_obj_5adios_AdiosFile *p = (struct __pyx_obj_5adios_AdiosFile *)o;
12480
PyObject_GC_UnTrack(o);
12482
Py_CLEAR(p->group);
12483
(*Py_TYPE(o)->tp_free)(o);
12486
static int __pyx_tp_traverse_5adios_AdiosFile(PyObject *o, visitproc v, void *a) {
12488
struct __pyx_obj_5adios_AdiosFile *p = (struct __pyx_obj_5adios_AdiosFile *)o;
12490
e = (*v)(p->name, a); if (e) return e;
12493
e = (*v)(p->group, a); if (e) return e;
12498
static int __pyx_tp_clear_5adios_AdiosFile(PyObject *o) {
12499
struct __pyx_obj_5adios_AdiosFile *p = (struct __pyx_obj_5adios_AdiosFile *)o;
12501
tmp = ((PyObject*)p->name);
12502
p->name = ((PyObject*)Py_None); Py_INCREF(Py_None);
12504
tmp = ((PyObject*)p->group);
12505
p->group = ((PyObject*)Py_None); Py_INCREF(Py_None);
12510
static PyObject *__pyx_getprop_5adios_9AdiosFile_name(PyObject *o, CYTHON_UNUSED void *x) {
12511
return __pyx_pw_5adios_9AdiosFile_4name_1__get__(o);
12514
static int __pyx_setprop_5adios_9AdiosFile_name(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
12516
return __pyx_pw_5adios_9AdiosFile_4name_3__set__(o, v);
12519
return __pyx_pw_5adios_9AdiosFile_4name_5__del__(o);
12523
static PyObject *__pyx_getprop_5adios_9AdiosFile_groups_count(PyObject *o, CYTHON_UNUSED void *x) {
12524
return __pyx_pw_5adios_9AdiosFile_12groups_count_1__get__(o);
12527
static int __pyx_setprop_5adios_9AdiosFile_groups_count(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
12529
return __pyx_pw_5adios_9AdiosFile_12groups_count_3__set__(o, v);
12532
PyErr_SetString(PyExc_NotImplementedError, "__del__");
12537
static PyObject *__pyx_getprop_5adios_9AdiosFile_vars_count(PyObject *o, CYTHON_UNUSED void *x) {
12538
return __pyx_pw_5adios_9AdiosFile_10vars_count_1__get__(o);
12541
static int __pyx_setprop_5adios_9AdiosFile_vars_count(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
12543
return __pyx_pw_5adios_9AdiosFile_10vars_count_3__set__(o, v);
12546
PyErr_SetString(PyExc_NotImplementedError, "__del__");
12551
static PyObject *__pyx_getprop_5adios_9AdiosFile_attrs_count(PyObject *o, CYTHON_UNUSED void *x) {
12552
return __pyx_pw_5adios_9AdiosFile_11attrs_count_1__get__(o);
12555
static int __pyx_setprop_5adios_9AdiosFile_attrs_count(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
12557
return __pyx_pw_5adios_9AdiosFile_11attrs_count_3__set__(o, v);
12560
PyErr_SetString(PyExc_NotImplementedError, "__del__");
12565
static PyObject *__pyx_getprop_5adios_9AdiosFile_tidx_start(PyObject *o, CYTHON_UNUSED void *x) {
12566
return __pyx_pw_5adios_9AdiosFile_10tidx_start_1__get__(o);
12569
static int __pyx_setprop_5adios_9AdiosFile_tidx_start(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
12571
return __pyx_pw_5adios_9AdiosFile_10tidx_start_3__set__(o, v);
12574
PyErr_SetString(PyExc_NotImplementedError, "__del__");
12579
static PyObject *__pyx_getprop_5adios_9AdiosFile_ntimesteps(PyObject *o, CYTHON_UNUSED void *x) {
12580
return __pyx_pw_5adios_9AdiosFile_10ntimesteps_1__get__(o);
12583
static int __pyx_setprop_5adios_9AdiosFile_ntimesteps(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
12585
return __pyx_pw_5adios_9AdiosFile_10ntimesteps_3__set__(o, v);
12588
PyErr_SetString(PyExc_NotImplementedError, "__del__");
12593
static PyObject *__pyx_getprop_5adios_9AdiosFile_version(PyObject *o, CYTHON_UNUSED void *x) {
12594
return __pyx_pw_5adios_9AdiosFile_7version_1__get__(o);
12597
static int __pyx_setprop_5adios_9AdiosFile_version(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
12599
return __pyx_pw_5adios_9AdiosFile_7version_3__set__(o, v);
12602
PyErr_SetString(PyExc_NotImplementedError, "__del__");
12607
static PyObject *__pyx_getprop_5adios_9AdiosFile_file_size(PyObject *o, CYTHON_UNUSED void *x) {
12608
return __pyx_pw_5adios_9AdiosFile_9file_size_1__get__(o);
12611
static int __pyx_setprop_5adios_9AdiosFile_file_size(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
12613
return __pyx_pw_5adios_9AdiosFile_9file_size_3__set__(o, v);
12616
PyErr_SetString(PyExc_NotImplementedError, "__del__");
12621
static PyObject *__pyx_getprop_5adios_9AdiosFile_endianness(PyObject *o, CYTHON_UNUSED void *x) {
12622
return __pyx_pw_5adios_9AdiosFile_10endianness_1__get__(o);
12625
static int __pyx_setprop_5adios_9AdiosFile_endianness(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
12627
return __pyx_pw_5adios_9AdiosFile_10endianness_3__set__(o, v);
12630
PyErr_SetString(PyExc_NotImplementedError, "__del__");
12635
static PyObject *__pyx_getprop_5adios_9AdiosFile_group(PyObject *o, CYTHON_UNUSED void *x) {
12636
return __pyx_pw_5adios_9AdiosFile_5group_1__get__(o);
12639
static int __pyx_setprop_5adios_9AdiosFile_group(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
12641
return __pyx_pw_5adios_9AdiosFile_5group_3__set__(o, v);
12644
return __pyx_pw_5adios_9AdiosFile_5group_5__del__(o);
12648
static PyMethodDef __pyx_methods_5adios_AdiosFile[] = {
12649
{__Pyx_NAMESTR("__del__"), (PyCFunction)__pyx_pw_5adios_9AdiosFile_3__del__, METH_NOARGS, __Pyx_DOCSTR(0)},
12650
{__Pyx_NAMESTR("close"), (PyCFunction)__pyx_pw_5adios_9AdiosFile_5close, METH_NOARGS, __Pyx_DOCSTR(0)},
12651
{__Pyx_NAMESTR("printself"), (PyCFunction)__pyx_pw_5adios_9AdiosFile_7printself, METH_NOARGS, __Pyx_DOCSTR(0)},
12655
static struct PyGetSetDef __pyx_getsets_5adios_AdiosFile[] = {
12656
{(char *)"name", __pyx_getprop_5adios_9AdiosFile_name, __pyx_setprop_5adios_9AdiosFile_name, 0, 0},
12657
{(char *)"groups_count", __pyx_getprop_5adios_9AdiosFile_groups_count, __pyx_setprop_5adios_9AdiosFile_groups_count, 0, 0},
12658
{(char *)"vars_count", __pyx_getprop_5adios_9AdiosFile_vars_count, __pyx_setprop_5adios_9AdiosFile_vars_count, 0, 0},
12659
{(char *)"attrs_count", __pyx_getprop_5adios_9AdiosFile_attrs_count, __pyx_setprop_5adios_9AdiosFile_attrs_count, 0, 0},
12660
{(char *)"tidx_start", __pyx_getprop_5adios_9AdiosFile_tidx_start, __pyx_setprop_5adios_9AdiosFile_tidx_start, 0, 0},
12661
{(char *)"ntimesteps", __pyx_getprop_5adios_9AdiosFile_ntimesteps, __pyx_setprop_5adios_9AdiosFile_ntimesteps, 0, 0},
12662
{(char *)"version", __pyx_getprop_5adios_9AdiosFile_version, __pyx_setprop_5adios_9AdiosFile_version, 0, 0},
12663
{(char *)"file_size", __pyx_getprop_5adios_9AdiosFile_file_size, __pyx_setprop_5adios_9AdiosFile_file_size, 0, 0},
12664
{(char *)"endianness", __pyx_getprop_5adios_9AdiosFile_endianness, __pyx_setprop_5adios_9AdiosFile_endianness, 0, 0},
12665
{(char *)"group", __pyx_getprop_5adios_9AdiosFile_group, __pyx_setprop_5adios_9AdiosFile_group, 0, 0},
12669
static PyTypeObject __pyx_type_5adios_AdiosFile = {
12670
PyVarObject_HEAD_INIT(0, 0)
12671
__Pyx_NAMESTR("adios.AdiosFile"), /*tp_name*/
12672
sizeof(struct __pyx_obj_5adios_AdiosFile), /*tp_basicsize*/
12674
__pyx_tp_dealloc_5adios_AdiosFile, /*tp_dealloc*/
12678
#if PY_MAJOR_VERSION < 3
12684
0, /*tp_as_number*/
12685
0, /*tp_as_sequence*/
12686
0, /*tp_as_mapping*/
12692
0, /*tp_as_buffer*/
12693
Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
12694
__Pyx_DOCSTR(" Private Memeber "), /*tp_doc*/
12695
__pyx_tp_traverse_5adios_AdiosFile, /*tp_traverse*/
12696
__pyx_tp_clear_5adios_AdiosFile, /*tp_clear*/
12697
0, /*tp_richcompare*/
12698
0, /*tp_weaklistoffset*/
12701
__pyx_methods_5adios_AdiosFile, /*tp_methods*/
12703
__pyx_getsets_5adios_AdiosFile, /*tp_getset*/
12706
0, /*tp_descr_get*/
12707
0, /*tp_descr_set*/
12708
0, /*tp_dictoffset*/
12709
__pyx_pw_5adios_9AdiosFile_1__init__, /*tp_init*/
12711
__pyx_tp_new_5adios_AdiosFile, /*tp_new*/
12717
0, /*tp_subclasses*/
12720
#if PY_VERSION_HEX >= 0x02060000
12721
0, /*tp_version_tag*/
12724
static struct __pyx_vtabstruct_5adios_AdiosGroup __pyx_vtable_5adios_AdiosGroup;
12726
static PyObject *__pyx_tp_new_5adios_AdiosGroup(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
12727
struct __pyx_obj_5adios_AdiosGroup *p;
12729
o = (*t->tp_alloc)(t, 0);
12730
if (unlikely(!o)) return 0;
12731
p = ((struct __pyx_obj_5adios_AdiosGroup *)o);
12732
p->__pyx_vtab = __pyx_vtabptr_5adios_AdiosGroup;
12733
p->file = ((struct __pyx_obj_5adios_AdiosFile *)Py_None); Py_INCREF(Py_None);
11340
static struct __pyx_vtabstruct_5adios_file __pyx_vtable_5adios_file;
11342
static PyObject *__pyx_tp_new_5adios_file(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
11343
struct __pyx_obj_5adios_file *p;
11345
if (likely((t->tp_flags & Py_TPFLAGS_IS_ABSTRACT) == 0)) {
11346
o = (*t->tp_alloc)(t, 0);
11348
o = (PyObject *) PyBaseObject_Type.tp_new(t, __pyx_empty_tuple, 0);
11350
if (unlikely(!o)) return 0;
11351
p = ((struct __pyx_obj_5adios_file *)o);
11352
p->__pyx_vtab = __pyx_vtabptr_5adios_file;
12734
11353
p->name = ((PyObject*)Py_None); Py_INCREF(Py_None);
12735
11354
p->var = ((PyObject*)Py_None); Py_INCREF(Py_None);
11355
p->attr = ((PyObject*)Py_None); Py_INCREF(Py_None);
12739
static void __pyx_tp_dealloc_5adios_AdiosGroup(PyObject *o) {
12740
struct __pyx_obj_5adios_AdiosGroup *p = (struct __pyx_obj_5adios_AdiosGroup *)o;
11359
static void __pyx_tp_dealloc_5adios_file(PyObject *o) {
11360
struct __pyx_obj_5adios_file *p = (struct __pyx_obj_5adios_file *)o;
11361
#if PY_VERSION_HEX >= 0x030400a1
11362
if (unlikely(Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {
11363
if (PyObject_CallFinalizerFromDealloc(o)) return;
12741
11366
PyObject_GC_UnTrack(o);
12743
11367
Py_CLEAR(p->name);
12744
11368
Py_CLEAR(p->var);
12745
11370
(*Py_TYPE(o)->tp_free)(o);
12748
static int __pyx_tp_traverse_5adios_AdiosGroup(PyObject *o, visitproc v, void *a) {
11373
static int __pyx_tp_traverse_5adios_file(PyObject *o, visitproc v, void *a) {
12750
struct __pyx_obj_5adios_AdiosGroup *p = (struct __pyx_obj_5adios_AdiosGroup *)o;
12752
e = (*v)(((PyObject*)p->file), a); if (e) return e;
12755
e = (*v)(p->name, a); if (e) return e;
11375
struct __pyx_obj_5adios_file *p = (struct __pyx_obj_5adios_file *)o;
12757
11376
if (p->var) {
12758
11377
e = (*v)(p->var, a); if (e) return e;
11380
e = (*v)(p->attr, a); if (e) return e;
12763
static int __pyx_tp_clear_5adios_AdiosGroup(PyObject *o) {
12764
struct __pyx_obj_5adios_AdiosGroup *p = (struct __pyx_obj_5adios_AdiosGroup *)o;
11385
static int __pyx_tp_clear_5adios_file(PyObject *o) {
12765
11386
PyObject* tmp;
12766
tmp = ((PyObject*)p->file);
12767
p->file = ((struct __pyx_obj_5adios_AdiosFile *)Py_None); Py_INCREF(Py_None);
12769
tmp = ((PyObject*)p->name);
12770
p->name = ((PyObject*)Py_None); Py_INCREF(Py_None);
11387
struct __pyx_obj_5adios_file *p = (struct __pyx_obj_5adios_file *)o;
12772
11388
tmp = ((PyObject*)p->var);
12773
11389
p->var = ((PyObject*)Py_None); Py_INCREF(Py_None);
12774
11390
Py_XDECREF(tmp);
11391
tmp = ((PyObject*)p->attr);
11392
p->attr = ((PyObject*)Py_None); Py_INCREF(Py_None);
12778
static PyObject *__pyx_getprop_5adios_10AdiosGroup_name(PyObject *o, CYTHON_UNUSED void *x) {
12779
return __pyx_pw_5adios_10AdiosGroup_4name_1__get__(o);
12782
static int __pyx_setprop_5adios_10AdiosGroup_name(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
12784
return __pyx_pw_5adios_10AdiosGroup_4name_3__set__(o, v);
12787
return __pyx_pw_5adios_10AdiosGroup_4name_5__del__(o);
12791
static PyObject *__pyx_getprop_5adios_10AdiosGroup_grpid(PyObject *o, CYTHON_UNUSED void *x) {
12792
return __pyx_pw_5adios_10AdiosGroup_5grpid_1__get__(o);
12795
static int __pyx_setprop_5adios_10AdiosGroup_grpid(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
12797
return __pyx_pw_5adios_10AdiosGroup_5grpid_3__set__(o, v);
12800
PyErr_SetString(PyExc_NotImplementedError, "__del__");
12805
static PyObject *__pyx_getprop_5adios_10AdiosGroup_vars_count(PyObject *o, CYTHON_UNUSED void *x) {
12806
return __pyx_pw_5adios_10AdiosGroup_10vars_count_1__get__(o);
12809
static int __pyx_setprop_5adios_10AdiosGroup_vars_count(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
12811
return __pyx_pw_5adios_10AdiosGroup_10vars_count_3__set__(o, v);
12814
PyErr_SetString(PyExc_NotImplementedError, "__del__");
12819
static PyObject *__pyx_getprop_5adios_10AdiosGroup_attrs_count(PyObject *o, CYTHON_UNUSED void *x) {
12820
return __pyx_pw_5adios_10AdiosGroup_11attrs_count_1__get__(o);
12823
static int __pyx_setprop_5adios_10AdiosGroup_attrs_count(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
12825
return __pyx_pw_5adios_10AdiosGroup_11attrs_count_3__set__(o, v);
12828
PyErr_SetString(PyExc_NotImplementedError, "__del__");
12833
static PyObject *__pyx_getprop_5adios_10AdiosGroup_timestep(PyObject *o, CYTHON_UNUSED void *x) {
12834
return __pyx_pw_5adios_10AdiosGroup_8timestep_1__get__(o);
12837
static int __pyx_setprop_5adios_10AdiosGroup_timestep(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
12839
return __pyx_pw_5adios_10AdiosGroup_8timestep_3__set__(o, v);
12842
PyErr_SetString(PyExc_NotImplementedError, "__del__");
12847
static PyObject *__pyx_getprop_5adios_10AdiosGroup_lasttimestep(PyObject *o, CYTHON_UNUSED void *x) {
12848
return __pyx_pw_5adios_10AdiosGroup_12lasttimestep_1__get__(o);
12851
static int __pyx_setprop_5adios_10AdiosGroup_lasttimestep(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
12853
return __pyx_pw_5adios_10AdiosGroup_12lasttimestep_3__set__(o, v);
12856
PyErr_SetString(PyExc_NotImplementedError, "__del__");
12861
static PyObject *__pyx_getprop_5adios_10AdiosGroup_var(PyObject *o, CYTHON_UNUSED void *x) {
12862
return __pyx_pw_5adios_10AdiosGroup_3var_1__get__(o);
12865
static int __pyx_setprop_5adios_10AdiosGroup_var(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
12867
return __pyx_pw_5adios_10AdiosGroup_3var_3__set__(o, v);
12870
return __pyx_pw_5adios_10AdiosGroup_3var_5__del__(o);
12874
static PyMethodDef __pyx_methods_5adios_AdiosGroup[] = {
12875
{__Pyx_NAMESTR("__del__"), (PyCFunction)__pyx_pw_5adios_10AdiosGroup_3__del__, METH_NOARGS, __Pyx_DOCSTR(0)},
12876
{__Pyx_NAMESTR("close"), (PyCFunction)__pyx_pw_5adios_10AdiosGroup_5close, METH_NOARGS, __Pyx_DOCSTR(0)},
12877
{__Pyx_NAMESTR("printself"), (PyCFunction)__pyx_pw_5adios_10AdiosGroup_7printself, METH_NOARGS, __Pyx_DOCSTR(0)},
11397
static PyObject *__pyx_getprop_5adios_4file_name(PyObject *o, CYTHON_UNUSED void *x) {
11398
return __pyx_pw_5adios_4file_4name_1__get__(o);
11401
static int __pyx_setprop_5adios_4file_name(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
11403
return __pyx_pw_5adios_4file_4name_3__set__(o, v);
11406
return __pyx_pw_5adios_4file_4name_5__del__(o);
11410
static PyObject *__pyx_getprop_5adios_4file_nvars(PyObject *o, CYTHON_UNUSED void *x) {
11411
return __pyx_pw_5adios_4file_5nvars_1__get__(o);
11414
static int __pyx_setprop_5adios_4file_nvars(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
11416
return __pyx_pw_5adios_4file_5nvars_3__set__(o, v);
11419
PyErr_SetString(PyExc_NotImplementedError, "__del__");
11424
static PyObject *__pyx_getprop_5adios_4file_nattrs(PyObject *o, CYTHON_UNUSED void *x) {
11425
return __pyx_pw_5adios_4file_6nattrs_1__get__(o);
11428
static int __pyx_setprop_5adios_4file_nattrs(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
11430
return __pyx_pw_5adios_4file_6nattrs_3__set__(o, v);
11433
PyErr_SetString(PyExc_NotImplementedError, "__del__");
11438
static PyObject *__pyx_getprop_5adios_4file_current_step(PyObject *o, CYTHON_UNUSED void *x) {
11439
return __pyx_pw_5adios_4file_12current_step_1__get__(o);
11442
static int __pyx_setprop_5adios_4file_current_step(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
11444
return __pyx_pw_5adios_4file_12current_step_3__set__(o, v);
11447
PyErr_SetString(PyExc_NotImplementedError, "__del__");
11452
static PyObject *__pyx_getprop_5adios_4file_last_step(PyObject *o, CYTHON_UNUSED void *x) {
11453
return __pyx_pw_5adios_4file_9last_step_1__get__(o);
11456
static int __pyx_setprop_5adios_4file_last_step(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
11458
return __pyx_pw_5adios_4file_9last_step_3__set__(o, v);
11461
PyErr_SetString(PyExc_NotImplementedError, "__del__");
11466
static PyObject *__pyx_getprop_5adios_4file_endianness(PyObject *o, CYTHON_UNUSED void *x) {
11467
return __pyx_pw_5adios_4file_10endianness_1__get__(o);
11470
static int __pyx_setprop_5adios_4file_endianness(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
11472
return __pyx_pw_5adios_4file_10endianness_3__set__(o, v);
11475
PyErr_SetString(PyExc_NotImplementedError, "__del__");
11480
static PyObject *__pyx_getprop_5adios_4file_version(PyObject *o, CYTHON_UNUSED void *x) {
11481
return __pyx_pw_5adios_4file_7version_1__get__(o);
11484
static int __pyx_setprop_5adios_4file_version(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
11486
return __pyx_pw_5adios_4file_7version_3__set__(o, v);
11489
PyErr_SetString(PyExc_NotImplementedError, "__del__");
11494
static PyObject *__pyx_getprop_5adios_4file_file_size(PyObject *o, CYTHON_UNUSED void *x) {
11495
return __pyx_pw_5adios_4file_9file_size_1__get__(o);
11498
static int __pyx_setprop_5adios_4file_file_size(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
11500
return __pyx_pw_5adios_4file_9file_size_3__set__(o, v);
11503
PyErr_SetString(PyExc_NotImplementedError, "__del__");
11508
static PyObject *__pyx_getprop_5adios_4file_var(PyObject *o, CYTHON_UNUSED void *x) {
11509
return __pyx_pw_5adios_4file_3var_1__get__(o);
11512
static int __pyx_setprop_5adios_4file_var(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
11514
return __pyx_pw_5adios_4file_3var_3__set__(o, v);
11517
return __pyx_pw_5adios_4file_3var_5__del__(o);
11521
static PyObject *__pyx_getprop_5adios_4file_attr(PyObject *o, CYTHON_UNUSED void *x) {
11522
return __pyx_pw_5adios_4file_4attr_1__get__(o);
11525
static int __pyx_setprop_5adios_4file_attr(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
11527
return __pyx_pw_5adios_4file_4attr_3__set__(o, v);
11530
return __pyx_pw_5adios_4file_4attr_5__del__(o);
11534
static PyMethodDef __pyx_methods_5adios_file[] = {
11535
{__Pyx_NAMESTR("__del__"), (PyCFunction)__pyx_pw_5adios_4file_3__del__, METH_NOARGS, __Pyx_DOCSTR(0)},
11536
{__Pyx_NAMESTR("close"), (PyCFunction)__pyx_pw_5adios_4file_5close, METH_NOARGS, __Pyx_DOCSTR(0)},
11537
{__Pyx_NAMESTR("printself"), (PyCFunction)__pyx_pw_5adios_4file_7printself, METH_NOARGS, __Pyx_DOCSTR(0)},
12881
static struct PyGetSetDef __pyx_getsets_5adios_AdiosGroup[] = {
12882
{(char *)"name", __pyx_getprop_5adios_10AdiosGroup_name, __pyx_setprop_5adios_10AdiosGroup_name, 0, 0},
12883
{(char *)"grpid", __pyx_getprop_5adios_10AdiosGroup_grpid, __pyx_setprop_5adios_10AdiosGroup_grpid, 0, 0},
12884
{(char *)"vars_count", __pyx_getprop_5adios_10AdiosGroup_vars_count, __pyx_setprop_5adios_10AdiosGroup_vars_count, 0, 0},
12885
{(char *)"attrs_count", __pyx_getprop_5adios_10AdiosGroup_attrs_count, __pyx_setprop_5adios_10AdiosGroup_attrs_count, 0, 0},
12886
{(char *)"timestep", __pyx_getprop_5adios_10AdiosGroup_timestep, __pyx_setprop_5adios_10AdiosGroup_timestep, 0, 0},
12887
{(char *)"lasttimestep", __pyx_getprop_5adios_10AdiosGroup_lasttimestep, __pyx_setprop_5adios_10AdiosGroup_lasttimestep, 0, 0},
12888
{(char *)"var", __pyx_getprop_5adios_10AdiosGroup_var, __pyx_setprop_5adios_10AdiosGroup_var, 0, 0},
11541
static struct PyGetSetDef __pyx_getsets_5adios_file[] = {
11542
{(char *)"name", __pyx_getprop_5adios_4file_name, __pyx_setprop_5adios_4file_name, 0, 0},
11543
{(char *)"nvars", __pyx_getprop_5adios_4file_nvars, __pyx_setprop_5adios_4file_nvars, 0, 0},
11544
{(char *)"nattrs", __pyx_getprop_5adios_4file_nattrs, __pyx_setprop_5adios_4file_nattrs, 0, 0},
11545
{(char *)"current_step", __pyx_getprop_5adios_4file_current_step, __pyx_setprop_5adios_4file_current_step, 0, 0},
11546
{(char *)"last_step", __pyx_getprop_5adios_4file_last_step, __pyx_setprop_5adios_4file_last_step, 0, 0},
11547
{(char *)"endianness", __pyx_getprop_5adios_4file_endianness, __pyx_setprop_5adios_4file_endianness, 0, 0},
11548
{(char *)"version", __pyx_getprop_5adios_4file_version, __pyx_setprop_5adios_4file_version, 0, 0},
11549
{(char *)"file_size", __pyx_getprop_5adios_4file_file_size, __pyx_setprop_5adios_4file_file_size, 0, 0},
11550
{(char *)"var", __pyx_getprop_5adios_4file_var, __pyx_setprop_5adios_4file_var, 0, 0},
11551
{(char *)"attr", __pyx_getprop_5adios_4file_attr, __pyx_setprop_5adios_4file_attr, 0, 0},
12889
11552
{0, 0, 0, 0, 0}
12892
static PyTypeObject __pyx_type_5adios_AdiosGroup = {
11555
static PyTypeObject __pyx_type_5adios_file = {
12893
11556
PyVarObject_HEAD_INIT(0, 0)
12894
__Pyx_NAMESTR("adios.AdiosGroup"), /*tp_name*/
12895
sizeof(struct __pyx_obj_5adios_AdiosGroup), /*tp_basicsize*/
11557
__Pyx_NAMESTR("adios.file"), /*tp_name*/
11558
sizeof(struct __pyx_obj_5adios_file), /*tp_basicsize*/
12896
11559
0, /*tp_itemsize*/
12897
__pyx_tp_dealloc_5adios_AdiosGroup, /*tp_dealloc*/
11560
__pyx_tp_dealloc_5adios_file, /*tp_dealloc*/
12898
11561
0, /*tp_print*/
12899
11562
0, /*tp_getattr*/
12900
11563
0, /*tp_setattr*/
13218
11876
static __Pyx_StringTabEntry __pyx_string_tab[] = {
13219
{&__pyx_kp_s_11, __pyx_k_11, sizeof(__pyx_k_11), 0, 0, 1, 0},
13220
{&__pyx_kp_s_12, __pyx_k_12, sizeof(__pyx_k_12), 0, 0, 1, 0},
13221
{&__pyx_kp_s_14, __pyx_k_14, sizeof(__pyx_k_14), 0, 0, 1, 0},
13222
{&__pyx_kp_s_15, __pyx_k_15, sizeof(__pyx_k_15), 0, 0, 1, 0},
13223
{&__pyx_kp_s_16, __pyx_k_16, sizeof(__pyx_k_16), 0, 0, 1, 0},
13224
{&__pyx_kp_s_17, __pyx_k_17, sizeof(__pyx_k_17), 0, 0, 1, 0},
13225
{&__pyx_kp_s_19, __pyx_k_19, sizeof(__pyx_k_19), 0, 0, 1, 0},
13226
{&__pyx_kp_s_20, __pyx_k_20, sizeof(__pyx_k_20), 0, 0, 1, 0},
13227
{&__pyx_kp_s_21, __pyx_k_21, sizeof(__pyx_k_21), 0, 0, 1, 0},
13228
{&__pyx_kp_s_22, __pyx_k_22, sizeof(__pyx_k_22), 0, 0, 1, 0},
13229
{&__pyx_kp_s_23, __pyx_k_23, sizeof(__pyx_k_23), 0, 0, 1, 0},
13230
{&__pyx_kp_u_24, __pyx_k_24, sizeof(__pyx_k_24), 0, 1, 0, 0},
13231
{&__pyx_kp_u_26, __pyx_k_26, sizeof(__pyx_k_26), 0, 1, 0, 0},
13232
{&__pyx_kp_u_28, __pyx_k_28, sizeof(__pyx_k_28), 0, 1, 0, 0},
13233
{&__pyx_kp_s_3, __pyx_k_3, sizeof(__pyx_k_3), 0, 0, 1, 0},
13234
{&__pyx_kp_u_30, __pyx_k_30, sizeof(__pyx_k_30), 0, 1, 0, 0},
13235
{&__pyx_kp_u_31, __pyx_k_31, sizeof(__pyx_k_31), 0, 1, 0, 0},
13236
{&__pyx_kp_u_34, __pyx_k_34, sizeof(__pyx_k_34), 0, 1, 0, 0},
13237
{&__pyx_n_s_37, __pyx_k_37, sizeof(__pyx_k_37), 0, 0, 1, 1},
13238
{&__pyx_n_s_38, __pyx_k_38, sizeof(__pyx_k_38), 0, 0, 1, 1},
13239
{&__pyx_kp_s_4, __pyx_k_4, sizeof(__pyx_k_4), 0, 0, 1, 0},
13240
{&__pyx_kp_s_5, __pyx_k_5, sizeof(__pyx_k_5), 0, 0, 1, 0},
13241
{&__pyx_kp_s_7, __pyx_k_7, sizeof(__pyx_k_7), 0, 0, 1, 0},
13242
{&__pyx_kp_s_8, __pyx_k_8, sizeof(__pyx_k_8), 0, 0, 1, 0},
13243
{&__pyx_kp_s_9, __pyx_k_9, sizeof(__pyx_k_9), 0, 0, 1, 0},
13244
{&__pyx_n_s__BUFFER_ALLOC_WHEN, __pyx_k__BUFFER_ALLOC_WHEN, sizeof(__pyx_k__BUFFER_ALLOC_WHEN), 0, 0, 1, 1},
13245
{&__pyx_n_s__COMM_WORLD, __pyx_k__COMM_WORLD, sizeof(__pyx_k__COMM_WORLD), 0, 0, 1, 1},
13246
{&__pyx_n_s__DATATYPE, __pyx_k__DATATYPE, sizeof(__pyx_k__DATATYPE), 0, 0, 1, 1},
13247
{&__pyx_n_s__FLAG, __pyx_k__FLAG, sizeof(__pyx_k__FLAG), 0, 0, 1, 1},
13248
{&__pyx_n_s__LATER, __pyx_k__LATER, sizeof(__pyx_k__LATER), 0, 0, 1, 1},
13249
{&__pyx_n_s__MPI, __pyx_k__MPI, sizeof(__pyx_k__MPI), 0, 0, 1, 1},
13250
{&__pyx_n_s__NO, __pyx_k__NO, sizeof(__pyx_k__NO), 0, 0, 1, 1},
13251
{&__pyx_n_s__NOW, __pyx_k__NOW, sizeof(__pyx_k__NOW), 0, 0, 1, 1},
13252
{&__pyx_n_s__RuntimeError, __pyx_k__RuntimeError, sizeof(__pyx_k__RuntimeError), 0, 0, 1, 1},
13253
{&__pyx_n_s__UNKNOWN, __pyx_k__UNKNOWN, sizeof(__pyx_k__UNKNOWN), 0, 0, 1, 1},
13254
{&__pyx_n_s__ValueError, __pyx_k__ValueError, sizeof(__pyx_k__ValueError), 0, 0, 1, 1},
13255
{&__pyx_n_s__YES, __pyx_k__YES, sizeof(__pyx_k__YES), 0, 0, 1, 1},
13256
{&__pyx_n_s____class__, __pyx_k____class__, sizeof(__pyx_k____class__), 0, 0, 1, 1},
13257
{&__pyx_n_s____import__, __pyx_k____import__, sizeof(__pyx_k____import__), 0, 0, 1, 1},
13258
{&__pyx_n_s____main__, __pyx_k____main__, sizeof(__pyx_k____main__), 0, 0, 1, 1},
13259
{&__pyx_n_s____metaclass__, __pyx_k____metaclass__, sizeof(__pyx_k____metaclass__), 0, 0, 1, 1},
13260
{&__pyx_n_s____module__, __pyx_k____module__, sizeof(__pyx_k____module__), 0, 0, 1, 1},
13261
{&__pyx_n_s____pyx_vtable__, __pyx_k____pyx_vtable__, sizeof(__pyx_k____pyx_vtable__), 0, 0, 1, 1},
13262
{&__pyx_n_s____qualname__, __pyx_k____qualname__, sizeof(__pyx_k____qualname__), 0, 0, 1, 1},
13263
{&__pyx_n_s____test__, __pyx_k____test__, sizeof(__pyx_k____test__), 0, 0, 1, 1},
13264
{&__pyx_n_s__adios, __pyx_k__adios, sizeof(__pyx_k__adios), 0, 0, 1, 1},
13265
{&__pyx_n_s__all, __pyx_k__all, sizeof(__pyx_k__all), 0, 0, 1, 1},
13266
{&__pyx_n_s__array, __pyx_k__array, sizeof(__pyx_k__array), 0, 0, 1, 1},
13267
{&__pyx_n_s__attr_namelist, __pyx_k__attr_namelist, sizeof(__pyx_k__attr_namelist), 0, 0, 1, 1},
13268
{&__pyx_n_s__attrs_count, __pyx_k__attrs_count, sizeof(__pyx_k__attrs_count), 0, 0, 1, 1},
13269
{&__pyx_n_s__base_path, __pyx_k__base_path, sizeof(__pyx_k__base_path), 0, 0, 1, 1},
13270
{&__pyx_n_s__buffer_size, __pyx_k__buffer_size, sizeof(__pyx_k__buffer_size), 0, 0, 1, 1},
13271
{&__pyx_n_s__byte, __pyx_k__byte, sizeof(__pyx_k__byte), 0, 0, 1, 1},
13272
{&__pyx_n_s__close, __pyx_k__close, sizeof(__pyx_k__close), 0, 0, 1, 1},
13273
{&__pyx_n_s__comm, __pyx_k__comm, sizeof(__pyx_k__comm), 0, 0, 1, 1},
13274
{&__pyx_n_s__complex, __pyx_k__complex, sizeof(__pyx_k__complex), 0, 0, 1, 1},
13275
{&__pyx_n_s__complex128, __pyx_k__complex128, sizeof(__pyx_k__complex128), 0, 0, 1, 1},
13276
{&__pyx_n_s__complex64, __pyx_k__complex64, sizeof(__pyx_k__complex64), 0, 0, 1, 1},
13277
{&__pyx_n_s__config, __pyx_k__config, sizeof(__pyx_k__config), 0, 0, 1, 1},
13278
{&__pyx_n_s__contiguous, __pyx_k__contiguous, sizeof(__pyx_k__contiguous), 0, 0, 1, 1},
13279
{&__pyx_n_s__copy, __pyx_k__copy, sizeof(__pyx_k__copy), 0, 0, 1, 1},
13280
{&__pyx_n_s__count, __pyx_k__count, sizeof(__pyx_k__count), 0, 0, 1, 1},
13281
{&__pyx_n_s__data_size, __pyx_k__data_size, sizeof(__pyx_k__data_size), 0, 0, 1, 1},
13282
{&__pyx_n_s__dimensions, __pyx_k__dimensions, sizeof(__pyx_k__dimensions), 0, 0, 1, 1},
13283
{&__pyx_n_s__dims, __pyx_k__dims, sizeof(__pyx_k__dims), 0, 0, 1, 1},
13284
{&__pyx_n_s__double, __pyx_k__double, sizeof(__pyx_k__double), 0, 0, 1, 1},
13285
{&__pyx_n_s__double_complex, __pyx_k__double_complex, sizeof(__pyx_k__double_complex), 0, 0, 1, 1},
13286
{&__pyx_n_s__dtype, __pyx_k__dtype, sizeof(__pyx_k__dtype), 0, 0, 1, 1},
13287
{&__pyx_n_s__end, __pyx_k__end, sizeof(__pyx_k__end), 0, 0, 1, 1},
13288
{&__pyx_n_s__endianness, __pyx_k__endianness, sizeof(__pyx_k__endianness), 0, 0, 1, 1},
13289
{&__pyx_n_s__fd_p, __pyx_k__fd_p, sizeof(__pyx_k__fd_p), 0, 0, 1, 1},
13290
{&__pyx_n_s__fh, __pyx_k__fh, sizeof(__pyx_k__fh), 0, 0, 1, 1},
13291
{&__pyx_n_s__file, __pyx_k__file, sizeof(__pyx_k__file), 0, 0, 1, 1},
13292
{&__pyx_n_s__file_size, __pyx_k__file_size, sizeof(__pyx_k__file_size), 0, 0, 1, 1},
13293
{&__pyx_n_s__fill, __pyx_k__fill, sizeof(__pyx_k__fill), 0, 0, 1, 1},
13294
{&__pyx_n_s__flags, __pyx_k__flags, sizeof(__pyx_k__flags), 0, 0, 1, 1},
13295
{&__pyx_n_s__float128, __pyx_k__float128, sizeof(__pyx_k__float128), 0, 0, 1, 1},
13296
{&__pyx_n_s__float32, __pyx_k__float32, sizeof(__pyx_k__float32), 0, 0, 1, 1},
13297
{&__pyx_n_s__float64, __pyx_k__float64, sizeof(__pyx_k__float64), 0, 0, 1, 1},
13298
{&__pyx_n_s__fname, __pyx_k__fname, sizeof(__pyx_k__fname), 0, 0, 1, 1},
13299
{&__pyx_n_s__fp, __pyx_k__fp, sizeof(__pyx_k__fp), 0, 0, 1, 1},
13300
{&__pyx_n_s__gh, __pyx_k__gh, sizeof(__pyx_k__gh), 0, 0, 1, 1},
13301
{&__pyx_n_s__global_dimensions, __pyx_k__global_dimensions, sizeof(__pyx_k__global_dimensions), 0, 0, 1, 1},
13302
{&__pyx_n_s__gp, __pyx_k__gp, sizeof(__pyx_k__gp), 0, 0, 1, 1},
13303
{&__pyx_n_s__group, __pyx_k__group, sizeof(__pyx_k__group), 0, 0, 1, 1},
13304
{&__pyx_n_s__group_id, __pyx_k__group_id, sizeof(__pyx_k__group_id), 0, 0, 1, 1},
13305
{&__pyx_n_s__group_name, __pyx_k__group_name, sizeof(__pyx_k__group_name), 0, 0, 1, 1},
13306
{&__pyx_n_s__group_namelist, __pyx_k__group_namelist, sizeof(__pyx_k__group_namelist), 0, 0, 1, 1},
13307
{&__pyx_n_s__groups_count, __pyx_k__groups_count, sizeof(__pyx_k__groups_count), 0, 0, 1, 1},
13308
{&__pyx_n_s__grpid, __pyx_k__grpid, sizeof(__pyx_k__grpid), 0, 0, 1, 1},
13309
{&__pyx_n_s__int16, __pyx_k__int16, sizeof(__pyx_k__int16), 0, 0, 1, 1},
13310
{&__pyx_n_s__int32, __pyx_k__int32, sizeof(__pyx_k__int32), 0, 0, 1, 1},
13311
{&__pyx_n_s__int64, __pyx_k__int64, sizeof(__pyx_k__int64), 0, 0, 1, 1},
13312
{&__pyx_n_s__int8, __pyx_k__int8, sizeof(__pyx_k__int8), 0, 0, 1, 1},
13313
{&__pyx_n_s__integer, __pyx_k__integer, sizeof(__pyx_k__integer), 0, 0, 1, 1},
13314
{&__pyx_n_s__itemsize, __pyx_k__itemsize, sizeof(__pyx_k__itemsize), 0, 0, 1, 1},
13315
{&__pyx_n_s__local_offsets, __pyx_k__local_offsets, sizeof(__pyx_k__local_offsets), 0, 0, 1, 1},
13316
{&__pyx_n_s__long, __pyx_k__long, sizeof(__pyx_k__long), 0, 0, 1, 1},
13317
{&__pyx_n_s__long_double, __pyx_k__long_double, sizeof(__pyx_k__long_double), 0, 0, 1, 1},
13318
{&__pyx_n_s__method, __pyx_k__method, sizeof(__pyx_k__method), 0, 0, 1, 1},
13319
{&__pyx_n_s__mode, __pyx_k__mode, sizeof(__pyx_k__mode), 0, 0, 1, 1},
13320
{&__pyx_n_s__mype, __pyx_k__mype, sizeof(__pyx_k__mype), 0, 0, 1, 1},
13321
{&__pyx_n_s__name, __pyx_k__name, sizeof(__pyx_k__name), 0, 0, 1, 1},
13322
{&__pyx_n_s__ndim, __pyx_k__ndim, sizeof(__pyx_k__ndim), 0, 0, 1, 1},
13323
{&__pyx_n_s__np, __pyx_k__np, sizeof(__pyx_k__np), 0, 0, 1, 1},
13324
{&__pyx_n_s__ntimesteps, __pyx_k__ntimesteps, sizeof(__pyx_k__ntimesteps), 0, 0, 1, 1},
13325
{&__pyx_n_s__numpy, __pyx_k__numpy, sizeof(__pyx_k__numpy), 0, 0, 1, 1},
13326
{&__pyx_n_s__object, __pyx_k__object, sizeof(__pyx_k__object), 0, 0, 1, 1},
13327
{&__pyx_n_s__offset, __pyx_k__offset, sizeof(__pyx_k__offset), 0, 0, 1, 1},
13328
{&__pyx_n_s__parameters, __pyx_k__parameters, sizeof(__pyx_k__parameters), 0, 0, 1, 1},
13329
{&__pyx_n_s__path, __pyx_k__path, sizeof(__pyx_k__path), 0, 0, 1, 1},
13330
{&__pyx_n_s__print, __pyx_k__print, sizeof(__pyx_k__print), 0, 0, 1, 1},
13331
{&__pyx_n_s__printself, __pyx_k__printself, sizeof(__pyx_k__printself), 0, 0, 1, 1},
13332
{&__pyx_n_s__range, __pyx_k__range, sizeof(__pyx_k__range), 0, 0, 1, 1},
13333
{&__pyx_n_s__read, __pyx_k__read, sizeof(__pyx_k__read), 0, 0, 1, 1},
13334
{&__pyx_n_s__real, __pyx_k__real, sizeof(__pyx_k__real), 0, 0, 1, 1},
13335
{&__pyx_n_s__short, __pyx_k__short, sizeof(__pyx_k__short), 0, 0, 1, 1},
13336
{&__pyx_n_s__size, __pyx_k__size, sizeof(__pyx_k__size), 0, 0, 1, 1},
13337
{&__pyx_n_s__split, __pyx_k__split, sizeof(__pyx_k__split), 0, 0, 1, 1},
13338
{&__pyx_n_s__stats, __pyx_k__stats, sizeof(__pyx_k__stats), 0, 0, 1, 1},
13339
{&__pyx_n_s__string, __pyx_k__string, sizeof(__pyx_k__string), 0, 0, 1, 1},
13340
{&__pyx_n_s__tidx_start, __pyx_k__tidx_start, sizeof(__pyx_k__tidx_start), 0, 0, 1, 1},
13341
{&__pyx_n_s__time_index, __pyx_k__time_index, sizeof(__pyx_k__time_index), 0, 0, 1, 1},
13342
{&__pyx_n_s__timedim, __pyx_k__timedim, sizeof(__pyx_k__timedim), 0, 0, 1, 1},
13343
{&__pyx_n_s__type, __pyx_k__type, sizeof(__pyx_k__type), 0, 0, 1, 1},
13344
{&__pyx_n_s__uint16, __pyx_k__uint16, sizeof(__pyx_k__uint16), 0, 0, 1, 1},
13345
{&__pyx_n_s__uint32, __pyx_k__uint32, sizeof(__pyx_k__uint32), 0, 0, 1, 1},
13346
{&__pyx_n_s__uint64, __pyx_k__uint64, sizeof(__pyx_k__uint64), 0, 0, 1, 1},
13347
{&__pyx_n_s__uint8, __pyx_k__uint8, sizeof(__pyx_k__uint8), 0, 0, 1, 1},
13348
{&__pyx_n_s__unknown, __pyx_k__unknown, sizeof(__pyx_k__unknown), 0, 0, 1, 1},
13349
{&__pyx_n_s__unsigned_byte, __pyx_k__unsigned_byte, sizeof(__pyx_k__unsigned_byte), 0, 0, 1, 1},
13350
{&__pyx_n_s__unsigned_integer, __pyx_k__unsigned_integer, sizeof(__pyx_k__unsigned_integer), 0, 0, 1, 1},
13351
{&__pyx_n_s__unsigned_long, __pyx_k__unsigned_long, sizeof(__pyx_k__unsigned_long), 0, 0, 1, 1},
13352
{&__pyx_n_s__unsigned_short, __pyx_k__unsigned_short, sizeof(__pyx_k__unsigned_short), 0, 0, 1, 1},
13353
{&__pyx_n_s__val, __pyx_k__val, sizeof(__pyx_k__val), 0, 0, 1, 1},
13354
{&__pyx_n_s__value, __pyx_k__value, sizeof(__pyx_k__value), 0, 0, 1, 1},
13355
{&__pyx_n_s__values, __pyx_k__values, sizeof(__pyx_k__values), 0, 0, 1, 1},
13356
{&__pyx_n_s__var, __pyx_k__var, sizeof(__pyx_k__var), 0, 0, 1, 1},
13357
{&__pyx_n_s__var_namelist, __pyx_k__var_namelist, sizeof(__pyx_k__var_namelist), 0, 0, 1, 1},
13358
{&__pyx_n_s__varid, __pyx_k__varid, sizeof(__pyx_k__varid), 0, 0, 1, 1},
13359
{&__pyx_n_s__vars_count, __pyx_k__vars_count, sizeof(__pyx_k__vars_count), 0, 0, 1, 1},
13360
{&__pyx_n_s__version, __pyx_k__version, sizeof(__pyx_k__version), 0, 0, 1, 1},
13361
{&__pyx_n_s__vp, __pyx_k__vp, sizeof(__pyx_k__vp), 0, 0, 1, 1},
13362
{&__pyx_n_s__when, __pyx_k__when, sizeof(__pyx_k__when), 0, 0, 1, 1},
13363
{&__pyx_n_s__zeros, __pyx_k__zeros, sizeof(__pyx_k__zeros), 0, 0, 1, 1},
11877
{&__pyx_kp_s_15s_d, __pyx_k_15s_d, sizeof(__pyx_k_15s_d), 0, 0, 1, 0},
11878
{&__pyx_kp_s_15s_lu, __pyx_k_15s_lu, sizeof(__pyx_k_15s_lu), 0, 0, 1, 0},
11879
{&__pyx_kp_s_15s_s, __pyx_k_15s_s, sizeof(__pyx_k_15s_s), 0, 0, 1, 0},
11880
{&__pyx_kp_s_AdiosFile, __pyx_k_AdiosFile, sizeof(__pyx_k_AdiosFile), 0, 0, 1, 0},
11881
{&__pyx_kp_s_AdiosVariable, __pyx_k_AdiosVariable, sizeof(__pyx_k_AdiosVariable), 0, 0, 1, 0},
11882
{&__pyx_n_s_BUFFER_ALLOC_WHEN, __pyx_k_BUFFER_ALLOC_WHEN, sizeof(__pyx_k_BUFFER_ALLOC_WHEN), 0, 0, 1, 1},
11883
{&__pyx_kp_s_Count_dimension_mismatch, __pyx_k_Count_dimension_mismatch, sizeof(__pyx_k_Count_dimension_mismatch), 0, 0, 1, 0},
11884
{&__pyx_kp_s_Count_is_larger_than_shape, __pyx_k_Count_is_larger_than_shape, sizeof(__pyx_k_Count_is_larger_than_shape), 0, 0, 1, 0},
11885
{&__pyx_n_s_DATATYPE, __pyx_k_DATATYPE, sizeof(__pyx_k_DATATYPE), 0, 0, 1, 1},
11886
{&__pyx_kp_s_Data_type_is_not_supported_yet, __pyx_k_Data_type_is_not_supported_yet, sizeof(__pyx_k_Data_type_is_not_supported_yet), 0, 0, 1, 0},
11887
{&__pyx_n_s_FLAG, __pyx_k_FLAG, sizeof(__pyx_k_FLAG), 0, 0, 1, 1},
11888
{&__pyx_kp_u_Format_string_allocated_too_shor, __pyx_k_Format_string_allocated_too_shor, sizeof(__pyx_k_Format_string_allocated_too_shor), 0, 1, 0, 0},
11889
{&__pyx_kp_u_Format_string_allocated_too_shor_2, __pyx_k_Format_string_allocated_too_shor_2, sizeof(__pyx_k_Format_string_allocated_too_shor_2), 0, 1, 0, 0},
11890
{&__pyx_n_s_LATER, __pyx_k_LATER, sizeof(__pyx_k_LATER), 0, 0, 1, 1},
11891
{&__pyx_n_s_NO, __pyx_k_NO, sizeof(__pyx_k_NO), 0, 0, 1, 1},
11892
{&__pyx_n_s_NOW, __pyx_k_NOW, sizeof(__pyx_k_NOW), 0, 0, 1, 1},
11893
{&__pyx_kp_s_No_valid_variable, __pyx_k_No_valid_variable, sizeof(__pyx_k_No_valid_variable), 0, 0, 1, 0},
11894
{&__pyx_kp_u_Non_native_byte_order_not_suppor, __pyx_k_Non_native_byte_order_not_suppor, sizeof(__pyx_k_Non_native_byte_order_not_suppor), 0, 1, 0, 0},
11895
{&__pyx_kp_s_Not_a_valid_var, __pyx_k_Not_a_valid_var, sizeof(__pyx_k_Not_a_valid_var), 0, 0, 1, 0},
11896
{&__pyx_kp_s_Not_an_open_file, __pyx_k_Not_an_open_file, sizeof(__pyx_k_Not_an_open_file), 0, 0, 1, 0},
11897
{&__pyx_kp_s_Not_an_open_var, __pyx_k_Not_an_open_var, sizeof(__pyx_k_Not_an_open_var), 0, 0, 1, 0},
11898
{&__pyx_kp_s_Not_an_open_variable, __pyx_k_Not_an_open_variable, sizeof(__pyx_k_Not_an_open_variable), 0, 0, 1, 0},
11899
{&__pyx_kp_s_Offset_dimension_mismatch, __pyx_k_Offset_dimension_mismatch, sizeof(__pyx_k_Offset_dimension_mismatch), 0, 0, 1, 0},
11900
{&__pyx_kp_s_Only_contiguous_arrays_are_suppo, __pyx_k_Only_contiguous_arrays_are_suppo, sizeof(__pyx_k_Only_contiguous_arrays_are_suppo), 0, 0, 1, 0},
11901
{&__pyx_kp_s_Reading, __pyx_k_Reading, sizeof(__pyx_k_Reading), 0, 0, 1, 0},
11902
{&__pyx_n_s_RuntimeError, __pyx_k_RuntimeError, sizeof(__pyx_k_RuntimeError), 0, 0, 1, 1},
11903
{&__pyx_kp_s_Step_index_is_out_of_range, __pyx_k_Step_index_is_out_of_range, sizeof(__pyx_k_Step_index_is_out_of_range), 0, 0, 1, 0},
11904
{&__pyx_n_s_UNKNOWN, __pyx_k_UNKNOWN, sizeof(__pyx_k_UNKNOWN), 0, 0, 1, 1},
11905
{&__pyx_kp_s_Users_jyc_project_adios_devel_w, __pyx_k_Users_jyc_project_adios_devel_w, sizeof(__pyx_k_Users_jyc_project_adios_devel_w), 0, 0, 1, 0},
11906
{&__pyx_n_s_ValueError, __pyx_k_ValueError, sizeof(__pyx_k_ValueError), 0, 0, 1, 1},
11907
{&__pyx_n_s_YES, __pyx_k_YES, sizeof(__pyx_k_YES), 0, 0, 1, 1},
11908
{&__pyx_kp_s__10, __pyx_k__10, sizeof(__pyx_k__10), 0, 0, 1, 0},
11909
{&__pyx_n_s_adios, __pyx_k_adios, sizeof(__pyx_k_adios), 0, 0, 1, 1},
11910
{&__pyx_n_s_all, __pyx_k_all, sizeof(__pyx_k_all), 0, 0, 1, 1},
11911
{&__pyx_n_s_array, __pyx_k_array, sizeof(__pyx_k_array), 0, 0, 1, 1},
11912
{&__pyx_n_s_attr_namelist, __pyx_k_attr_namelist, sizeof(__pyx_k_attr_namelist), 0, 0, 1, 1},
11913
{&__pyx_n_s_attrs, __pyx_k_attrs, sizeof(__pyx_k_attrs), 0, 0, 1, 1},
11914
{&__pyx_n_s_base_path, __pyx_k_base_path, sizeof(__pyx_k_base_path), 0, 0, 1, 1},
11915
{&__pyx_n_s_bpls, __pyx_k_bpls, sizeof(__pyx_k_bpls), 0, 0, 1, 1},
11916
{&__pyx_n_s_buffer_size, __pyx_k_buffer_size, sizeof(__pyx_k_buffer_size), 0, 0, 1, 1},
11917
{&__pyx_n_s_byte, __pyx_k_byte, sizeof(__pyx_k_byte), 0, 0, 1, 1},
11918
{&__pyx_kp_s_bytes, __pyx_k_bytes, sizeof(__pyx_k_bytes), 0, 0, 1, 0},
11919
{&__pyx_n_s_close, __pyx_k_close, sizeof(__pyx_k_close), 0, 0, 1, 1},
11920
{&__pyx_n_s_comm, __pyx_k_comm, sizeof(__pyx_k_comm), 0, 0, 1, 1},
11921
{&__pyx_n_s_complex, __pyx_k_complex, sizeof(__pyx_k_complex), 0, 0, 1, 1},
11922
{&__pyx_n_s_complex128, __pyx_k_complex128, sizeof(__pyx_k_complex128), 0, 0, 1, 1},
11923
{&__pyx_n_s_complex64, __pyx_k_complex64, sizeof(__pyx_k_complex64), 0, 0, 1, 1},
11924
{&__pyx_n_s_config, __pyx_k_config, sizeof(__pyx_k_config), 0, 0, 1, 1},
11925
{&__pyx_n_s_contiguous, __pyx_k_contiguous, sizeof(__pyx_k_contiguous), 0, 0, 1, 1},
11926
{&__pyx_n_s_copy, __pyx_k_copy, sizeof(__pyx_k_copy), 0, 0, 1, 1},
11927
{&__pyx_n_s_count, __pyx_k_count, sizeof(__pyx_k_count), 0, 0, 1, 1},
11928
{&__pyx_n_s_current_step, __pyx_k_current_step, sizeof(__pyx_k_current_step), 0, 0, 1, 1},
11929
{&__pyx_n_s_data_size, __pyx_k_data_size, sizeof(__pyx_k_data_size), 0, 0, 1, 1},
11930
{&__pyx_n_s_dimensions, __pyx_k_dimensions, sizeof(__pyx_k_dimensions), 0, 0, 1, 1},
11931
{&__pyx_n_s_dims, __pyx_k_dims, sizeof(__pyx_k_dims), 0, 0, 1, 1},
11932
{&__pyx_n_s_doc, __pyx_k_doc, sizeof(__pyx_k_doc), 0, 0, 1, 1},
11933
{&__pyx_n_s_double, __pyx_k_double, sizeof(__pyx_k_double), 0, 0, 1, 1},
11934
{&__pyx_n_s_double_complex, __pyx_k_double_complex, sizeof(__pyx_k_double_complex), 0, 0, 1, 1},
11935
{&__pyx_n_s_dtype, __pyx_k_dtype, sizeof(__pyx_k_dtype), 0, 0, 1, 1},
11936
{&__pyx_n_s_end, __pyx_k_end, sizeof(__pyx_k_end), 0, 0, 1, 1},
11937
{&__pyx_n_s_endianness, __pyx_k_endianness, sizeof(__pyx_k_endianness), 0, 0, 1, 1},
11938
{&__pyx_n_s_f, __pyx_k_f, sizeof(__pyx_k_f), 0, 0, 1, 1},
11939
{&__pyx_n_s_fd_p, __pyx_k_fd_p, sizeof(__pyx_k_fd_p), 0, 0, 1, 1},
11940
{&__pyx_n_s_fh, __pyx_k_fh, sizeof(__pyx_k_fh), 0, 0, 1, 1},
11941
{&__pyx_n_s_file, __pyx_k_file, sizeof(__pyx_k_file), 0, 0, 1, 1},
11942
{&__pyx_n_s_file_size, __pyx_k_file_size, sizeof(__pyx_k_file_size), 0, 0, 1, 1},
11943
{&__pyx_n_s_fill, __pyx_k_fill, sizeof(__pyx_k_fill), 0, 0, 1, 1},
11944
{&__pyx_n_s_flags, __pyx_k_flags, sizeof(__pyx_k_flags), 0, 0, 1, 1},
11945
{&__pyx_n_s_float128, __pyx_k_float128, sizeof(__pyx_k_float128), 0, 0, 1, 1},
11946
{&__pyx_n_s_float32, __pyx_k_float32, sizeof(__pyx_k_float32), 0, 0, 1, 1},
11947
{&__pyx_n_s_float64, __pyx_k_float64, sizeof(__pyx_k_float64), 0, 0, 1, 1},
11948
{&__pyx_n_s_fname, __pyx_k_fname, sizeof(__pyx_k_fname), 0, 0, 1, 1},
11949
{&__pyx_n_s_fp, __pyx_k_fp, sizeof(__pyx_k_fp), 0, 0, 1, 1},
11950
{&__pyx_n_s_from_steps, __pyx_k_from_steps, sizeof(__pyx_k_from_steps), 0, 0, 1, 1},
11951
{&__pyx_n_s_global_dimensions, __pyx_k_global_dimensions, sizeof(__pyx_k_global_dimensions), 0, 0, 1, 1},
11952
{&__pyx_n_s_group, __pyx_k_group, sizeof(__pyx_k_group), 0, 0, 1, 1},
11953
{&__pyx_n_s_group_id, __pyx_k_group_id, sizeof(__pyx_k_group_id), 0, 0, 1, 1},
11954
{&__pyx_n_s_group_name, __pyx_k_group_name, sizeof(__pyx_k_group_name), 0, 0, 1, 1},
11955
{&__pyx_n_s_import, __pyx_k_import, sizeof(__pyx_k_import), 0, 0, 1, 1},
11956
{&__pyx_n_s_int16, __pyx_k_int16, sizeof(__pyx_k_int16), 0, 0, 1, 1},
11957
{&__pyx_n_s_int32, __pyx_k_int32, sizeof(__pyx_k_int32), 0, 0, 1, 1},
11958
{&__pyx_n_s_int64, __pyx_k_int64, sizeof(__pyx_k_int64), 0, 0, 1, 1},
11959
{&__pyx_n_s_int8, __pyx_k_int8, sizeof(__pyx_k_int8), 0, 0, 1, 1},
11960
{&__pyx_n_s_integer, __pyx_k_integer, sizeof(__pyx_k_integer), 0, 0, 1, 1},
11961
{&__pyx_n_s_itemsize, __pyx_k_itemsize, sizeof(__pyx_k_itemsize), 0, 0, 1, 1},
11962
{&__pyx_n_s_iterkeys, __pyx_k_iterkeys, sizeof(__pyx_k_iterkeys), 0, 0, 1, 1},
11963
{&__pyx_n_s_k, __pyx_k_k, sizeof(__pyx_k_k), 0, 0, 1, 1},
11964
{&__pyx_n_s_last_step, __pyx_k_last_step, sizeof(__pyx_k_last_step), 0, 0, 1, 1},
11965
{&__pyx_n_s_local_offsets, __pyx_k_local_offsets, sizeof(__pyx_k_local_offsets), 0, 0, 1, 1},
11966
{&__pyx_n_s_long, __pyx_k_long, sizeof(__pyx_k_long), 0, 0, 1, 1},
11967
{&__pyx_n_s_long_double, __pyx_k_long_double, sizeof(__pyx_k_long_double), 0, 0, 1, 1},
11968
{&__pyx_n_s_main, __pyx_k_main, sizeof(__pyx_k_main), 0, 0, 1, 1},
11969
{&__pyx_n_s_metaclass, __pyx_k_metaclass, sizeof(__pyx_k_metaclass), 0, 0, 1, 1},
11970
{&__pyx_n_s_method, __pyx_k_method, sizeof(__pyx_k_method), 0, 0, 1, 1},
11971
{&__pyx_n_s_mode, __pyx_k_mode, sizeof(__pyx_k_mode), 0, 0, 1, 1},
11972
{&__pyx_n_s_module, __pyx_k_module, sizeof(__pyx_k_module), 0, 0, 1, 1},
11973
{&__pyx_n_s_mype, __pyx_k_mype, sizeof(__pyx_k_mype), 0, 0, 1, 1},
11974
{&__pyx_n_s_name, __pyx_k_name, sizeof(__pyx_k_name), 0, 0, 1, 1},
11975
{&__pyx_n_s_nattrs, __pyx_k_nattrs, sizeof(__pyx_k_nattrs), 0, 0, 1, 1},
11976
{&__pyx_kp_u_ndarray_is_not_C_contiguous, __pyx_k_ndarray_is_not_C_contiguous, sizeof(__pyx_k_ndarray_is_not_C_contiguous), 0, 1, 0, 0},
11977
{&__pyx_kp_u_ndarray_is_not_Fortran_contiguou, __pyx_k_ndarray_is_not_Fortran_contiguou, sizeof(__pyx_k_ndarray_is_not_Fortran_contiguou), 0, 1, 0, 0},
11978
{&__pyx_n_s_ndim, __pyx_k_ndim, sizeof(__pyx_k_ndim), 0, 0, 1, 1},
11979
{&__pyx_n_s_np, __pyx_k_np, sizeof(__pyx_k_np), 0, 0, 1, 1},
11980
{&__pyx_n_s_nsteps, __pyx_k_nsteps, sizeof(__pyx_k_nsteps), 0, 0, 1, 1},
11981
{&__pyx_n_s_numpy, __pyx_k_numpy, sizeof(__pyx_k_numpy), 0, 0, 1, 1},
11982
{&__pyx_n_s_nvars, __pyx_k_nvars, sizeof(__pyx_k_nvars), 0, 0, 1, 1},
11983
{&__pyx_n_s_offset, __pyx_k_offset, sizeof(__pyx_k_offset), 0, 0, 1, 1},
11984
{&__pyx_n_s_parameters, __pyx_k_parameters, sizeof(__pyx_k_parameters), 0, 0, 1, 1},
11985
{&__pyx_n_s_path, __pyx_k_path, sizeof(__pyx_k_path), 0, 0, 1, 1},
11986
{&__pyx_n_s_prepare, __pyx_k_prepare, sizeof(__pyx_k_prepare), 0, 0, 1, 1},
11987
{&__pyx_n_s_print, __pyx_k_print, sizeof(__pyx_k_print), 0, 0, 1, 1},
11988
{&__pyx_n_s_printself, __pyx_k_printself, sizeof(__pyx_k_printself), 0, 0, 1, 1},
11989
{&__pyx_n_s_pyx_vtable, __pyx_k_pyx_vtable, sizeof(__pyx_k_pyx_vtable), 0, 0, 1, 1},
11990
{&__pyx_n_s_qualname, __pyx_k_qualname, sizeof(__pyx_k_qualname), 0, 0, 1, 1},
11991
{&__pyx_n_s_range, __pyx_k_range, sizeof(__pyx_k_range), 0, 0, 1, 1},
11992
{&__pyx_n_s_read, __pyx_k_read, sizeof(__pyx_k_read), 0, 0, 1, 1},
11993
{&__pyx_n_s_readvar, __pyx_k_readvar, sizeof(__pyx_k_readvar), 0, 0, 1, 1},
11994
{&__pyx_n_s_real, __pyx_k_real, sizeof(__pyx_k_real), 0, 0, 1, 1},
11995
{&__pyx_n_s_short, __pyx_k_short, sizeof(__pyx_k_short), 0, 0, 1, 1},
11996
{&__pyx_n_s_size, __pyx_k_size, sizeof(__pyx_k_size), 0, 0, 1, 1},
11997
{&__pyx_n_s_split, __pyx_k_split, sizeof(__pyx_k_split), 0, 0, 1, 1},
11998
{&__pyx_n_s_stats, __pyx_k_stats, sizeof(__pyx_k_stats), 0, 0, 1, 1},
11999
{&__pyx_n_s_string, __pyx_k_string, sizeof(__pyx_k_string), 0, 0, 1, 1},
12000
{&__pyx_n_s_test, __pyx_k_test, sizeof(__pyx_k_test), 0, 0, 1, 1},
12001
{&__pyx_n_s_time_index, __pyx_k_time_index, sizeof(__pyx_k_time_index), 0, 0, 1, 1},
12002
{&__pyx_n_s_time_steps, __pyx_k_time_steps, sizeof(__pyx_k_time_steps), 0, 0, 1, 1},
12003
{&__pyx_n_s_type, __pyx_k_type, sizeof(__pyx_k_type), 0, 0, 1, 1},
12004
{&__pyx_n_s_uint16, __pyx_k_uint16, sizeof(__pyx_k_uint16), 0, 0, 1, 1},
12005
{&__pyx_n_s_uint32, __pyx_k_uint32, sizeof(__pyx_k_uint32), 0, 0, 1, 1},
12006
{&__pyx_n_s_uint64, __pyx_k_uint64, sizeof(__pyx_k_uint64), 0, 0, 1, 1},
12007
{&__pyx_n_s_uint8, __pyx_k_uint8, sizeof(__pyx_k_uint8), 0, 0, 1, 1},
12008
{&__pyx_n_s_unknown, __pyx_k_unknown, sizeof(__pyx_k_unknown), 0, 0, 1, 1},
12009
{&__pyx_kp_u_unknown_dtype_code_in_numpy_pxd, __pyx_k_unknown_dtype_code_in_numpy_pxd, sizeof(__pyx_k_unknown_dtype_code_in_numpy_pxd), 0, 1, 0, 0},
12010
{&__pyx_n_s_unsigned_byte, __pyx_k_unsigned_byte, sizeof(__pyx_k_unsigned_byte), 0, 0, 1, 1},
12011
{&__pyx_n_s_unsigned_integer, __pyx_k_unsigned_integer, sizeof(__pyx_k_unsigned_integer), 0, 0, 1, 1},
12012
{&__pyx_n_s_unsigned_long, __pyx_k_unsigned_long, sizeof(__pyx_k_unsigned_long), 0, 0, 1, 1},
12013
{&__pyx_n_s_unsigned_short, __pyx_k_unsigned_short, sizeof(__pyx_k_unsigned_short), 0, 0, 1, 1},
12014
{&__pyx_n_s_v, __pyx_k_v, sizeof(__pyx_k_v), 0, 0, 1, 1},
12015
{&__pyx_n_s_val, __pyx_k_val, sizeof(__pyx_k_val), 0, 0, 1, 1},
12016
{&__pyx_n_s_value, __pyx_k_value, sizeof(__pyx_k_value), 0, 0, 1, 1},
12017
{&__pyx_n_s_var, __pyx_k_var, sizeof(__pyx_k_var), 0, 0, 1, 1},
12018
{&__pyx_n_s_var_namelist, __pyx_k_var_namelist, sizeof(__pyx_k_var_namelist), 0, 0, 1, 1},
12019
{&__pyx_n_s_varid, __pyx_k_varid, sizeof(__pyx_k_varid), 0, 0, 1, 1},
12020
{&__pyx_n_s_varname, __pyx_k_varname, sizeof(__pyx_k_varname), 0, 0, 1, 1},
12021
{&__pyx_n_s_vars, __pyx_k_vars, sizeof(__pyx_k_vars), 0, 0, 1, 1},
12022
{&__pyx_n_s_version, __pyx_k_version, sizeof(__pyx_k_version), 0, 0, 1, 1},
12023
{&__pyx_n_s_vp, __pyx_k_vp, sizeof(__pyx_k_vp), 0, 0, 1, 1},
12024
{&__pyx_n_s_when, __pyx_k_when, sizeof(__pyx_k_when), 0, 0, 1, 1},
12025
{&__pyx_n_s_zeros, __pyx_k_zeros, sizeof(__pyx_k_zeros), 0, 0, 1, 1},
13364
12026
{0, 0, 0, 0, 0, 0, 0}
13366
12028
static int __Pyx_InitCachedBuiltins(void) {
13367
__pyx_builtin_object = __Pyx_GetBuiltinName(__pyx_n_s__object); if (!__pyx_builtin_object) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13368
__pyx_builtin_range = __Pyx_GetBuiltinName(__pyx_n_s__range); if (!__pyx_builtin_range) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 374; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13369
__pyx_builtin_ValueError = __Pyx_GetBuiltinName(__pyx_n_s__ValueError); if (!__pyx_builtin_ValueError) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13370
__pyx_builtin_RuntimeError = __Pyx_GetBuiltinName(__pyx_n_s__RuntimeError); if (!__pyx_builtin_RuntimeError) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 799; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12029
__pyx_builtin_range = __Pyx_GetBuiltinName(__pyx_n_s_range); if (!__pyx_builtin_range) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12030
__pyx_builtin_ValueError = __Pyx_GetBuiltinName(__pyx_n_s_ValueError); if (!__pyx_builtin_ValueError) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12031
__pyx_builtin_RuntimeError = __Pyx_GetBuiltinName(__pyx_n_s_RuntimeError); if (!__pyx_builtin_RuntimeError) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 799; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13372
12033
__pyx_L1_error:;
13611
12289
__pyx_ptype_5numpy_broadcast = __Pyx_ImportType("numpy", "broadcast", sizeof(PyArrayMultiIterObject), 0); if (unlikely(!__pyx_ptype_5numpy_broadcast)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13612
12290
__pyx_ptype_5numpy_ndarray = __Pyx_ImportType("numpy", "ndarray", sizeof(PyArrayObject), 0); if (unlikely(!__pyx_ptype_5numpy_ndarray)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 178; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13613
12291
__pyx_ptype_5numpy_ufunc = __Pyx_ImportType("numpy", "ufunc", sizeof(PyUFuncObject), 0); if (unlikely(!__pyx_ptype_5numpy_ufunc)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 861; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13614
__pyx_ptype_6mpi4py_3MPI_Status = __Pyx_ImportType("mpi4py.MPI", "Status", sizeof(struct PyMPIStatusObject), 1); if (unlikely(!__pyx_ptype_6mpi4py_3MPI_Status)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13615
__pyx_ptype_6mpi4py_3MPI_Datatype = __Pyx_ImportType("mpi4py.MPI", "Datatype", sizeof(struct PyMPIDatatypeObject), 1); if (unlikely(!__pyx_ptype_6mpi4py_3MPI_Datatype)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13616
__pyx_ptype_6mpi4py_3MPI_Request = __Pyx_ImportType("mpi4py.MPI", "Request", sizeof(struct PyMPIRequestObject), 1); if (unlikely(!__pyx_ptype_6mpi4py_3MPI_Request)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13617
__pyx_ptype_6mpi4py_3MPI_Prequest = __Pyx_ImportType("mpi4py.MPI", "Prequest", sizeof(struct PyMPIPrequestObject), 1); if (unlikely(!__pyx_ptype_6mpi4py_3MPI_Prequest)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13618
__pyx_ptype_6mpi4py_3MPI_Grequest = __Pyx_ImportType("mpi4py.MPI", "Grequest", sizeof(struct PyMPIGrequestObject), 1); if (unlikely(!__pyx_ptype_6mpi4py_3MPI_Grequest)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13619
__pyx_ptype_6mpi4py_3MPI_Op = __Pyx_ImportType("mpi4py.MPI", "Op", sizeof(struct PyMPIOpObject), 1); if (unlikely(!__pyx_ptype_6mpi4py_3MPI_Op)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 83; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13620
__pyx_ptype_6mpi4py_3MPI_Group = __Pyx_ImportType("mpi4py.MPI", "Group", sizeof(struct PyMPIGroupObject), 1); if (unlikely(!__pyx_ptype_6mpi4py_3MPI_Group)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13621
__pyx_ptype_6mpi4py_3MPI_Info = __Pyx_ImportType("mpi4py.MPI", "Info", sizeof(struct PyMPIInfoObject), 1); if (unlikely(!__pyx_ptype_6mpi4py_3MPI_Info)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13622
__pyx_ptype_6mpi4py_3MPI_Errhandler = __Pyx_ImportType("mpi4py.MPI", "Errhandler", sizeof(struct PyMPIErrhandlerObject), 1); if (unlikely(!__pyx_ptype_6mpi4py_3MPI_Errhandler)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 106; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13623
__pyx_ptype_6mpi4py_3MPI_Comm = __Pyx_ImportType("mpi4py.MPI", "Comm", sizeof(struct PyMPICommObject), 1); if (unlikely(!__pyx_ptype_6mpi4py_3MPI_Comm)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13624
__pyx_ptype_6mpi4py_3MPI_Intracomm = __Pyx_ImportType("mpi4py.MPI", "Intracomm", sizeof(struct PyMPIIntracommObject), 1); if (unlikely(!__pyx_ptype_6mpi4py_3MPI_Intracomm)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13625
__pyx_ptype_6mpi4py_3MPI_Cartcomm = __Pyx_ImportType("mpi4py.MPI", "Cartcomm", sizeof(struct PyMPICartcommObject), 1); if (unlikely(!__pyx_ptype_6mpi4py_3MPI_Cartcomm)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 126; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13626
__pyx_ptype_6mpi4py_3MPI_Graphcomm = __Pyx_ImportType("mpi4py.MPI", "Graphcomm", sizeof(struct PyMPIGraphcommObject), 1); if (unlikely(!__pyx_ptype_6mpi4py_3MPI_Graphcomm)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13627
__pyx_ptype_6mpi4py_3MPI_Distgraphcomm = __Pyx_ImportType("mpi4py.MPI", "Distgraphcomm", sizeof(struct PyMPIDistgraphcommObject), 1); if (unlikely(!__pyx_ptype_6mpi4py_3MPI_Distgraphcomm)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13628
__pyx_ptype_6mpi4py_3MPI_Intercomm = __Pyx_ImportType("mpi4py.MPI", "Intercomm", sizeof(struct PyMPIIntercommObject), 1); if (unlikely(!__pyx_ptype_6mpi4py_3MPI_Intercomm)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 144; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13629
__pyx_ptype_6mpi4py_3MPI_Win = __Pyx_ImportType("mpi4py.MPI", "Win", sizeof(struct PyMPIWinObject), 1); if (unlikely(!__pyx_ptype_6mpi4py_3MPI_Win)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13630
__pyx_ptype_6mpi4py_3MPI_File = __Pyx_ImportType("mpi4py.MPI", "File", sizeof(struct PyMPIFileObject), 1); if (unlikely(!__pyx_ptype_6mpi4py_3MPI_File)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 157; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13631
12292
/*--- Variable import code ---*/
13632
12293
/*--- Function import code ---*/
13633
12294
/*--- Execution code ---*/
13638
12299
* import numpy as np # <<<<<<<<<<<<<<
13639
12300
* cimport numpy as np
13642
__pyx_t_1 = __Pyx_Import(((PyObject *)__pyx_n_s__numpy), 0, -1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 8; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12303
__pyx_t_1 = __Pyx_Import(__pyx_n_s_numpy, 0, -1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 12; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13643
12304
__Pyx_GOTREF(__pyx_t_1);
13644
if (PyDict_SetItem(__pyx_d, __pyx_n_s__np, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 8; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12305
if (PyDict_SetItem(__pyx_d, __pyx_n_s_np, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 12; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13645
12306
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
13648
* cimport numpy as np
13650
* import mpi4py.MPI as MPI # <<<<<<<<<<<<<<
13651
* cimport mpi4py.MPI as MPI
13654
__pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 11; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13655
__Pyx_GOTREF(__pyx_t_1);
13656
__Pyx_INCREF(((PyObject *)__pyx_n_s_38));
13657
PyList_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_n_s_38));
13658
__Pyx_GIVEREF(((PyObject *)__pyx_n_s_38));
13659
__pyx_t_2 = __Pyx_Import(((PyObject *)__pyx_n_s_37), ((PyObject *)__pyx_t_1), -1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 11; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13660
__Pyx_GOTREF(__pyx_t_2);
13661
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
13662
if (PyDict_SetItem(__pyx_d, __pyx_n_s__MPI, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 11; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13663
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
13668
* class DATATYPE(object): # <<<<<<<<<<<<<<
12309
* ## ====================
12311
* class DATATYPE: # <<<<<<<<<<<<<<
13669
12312
* unknown = -1
13672
__pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13673
__Pyx_GOTREF(((PyObject *)__pyx_t_2));
12315
__pyx_t_1 = __Pyx_Py3MetaclassPrepare((PyObject *) NULL, __pyx_empty_tuple, __pyx_n_s_DATATYPE, __pyx_n_s_DATATYPE, (PyObject *) NULL, __pyx_n_s_adios, (PyObject *) NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 225; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12316
__Pyx_GOTREF(__pyx_t_1);
13677
* class DATATYPE(object):
13678
12321
* unknown = -1 # <<<<<<<<<<<<<<
13682
if (PyObject_SetItem(__pyx_t_2, __pyx_n_s__unknown, __pyx_int_neg_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 181; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12325
if (PyObject_SetItem(__pyx_t_1, __pyx_n_s_unknown, __pyx_int_neg_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13685
* class DATATYPE(object):
13686
12329
* unknown = -1
13687
12330
* byte = 0 # <<<<<<<<<<<<<<
13689
12332
* integer = 2
13691
if (PyObject_SetItem(__pyx_t_2, __pyx_n_s__byte, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12334
if (PyObject_SetItem(__pyx_t_1, __pyx_n_s_byte, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 227; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13694
12337
* unknown = -1
13696
12339
* short = 1 # <<<<<<<<<<<<<<
13697
12340
* integer = 2
13700
if (PyObject_SetItem(__pyx_t_2, __pyx_n_s__short, __pyx_int_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12343
if (PyObject_SetItem(__pyx_t_1, __pyx_n_s_short, __pyx_int_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 228; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13705
12348
* integer = 2 # <<<<<<<<<<<<<<
13707
12350
* unsigned_byte = 50
13709
if (PyObject_SetItem(__pyx_t_2, __pyx_n_s__integer, __pyx_int_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 184; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12352
if (PyObject_SetItem(__pyx_t_1, __pyx_n_s_integer, __pyx_int_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 229; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13713
12356
* integer = 2
13714
12357
* long = 4 # <<<<<<<<<<<<<<
13715
12358
* unsigned_byte = 50
13716
12359
* unsigned_short = 51
13718
if (PyObject_SetItem(__pyx_t_2, __pyx_n_s__long, __pyx_int_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12361
if (PyObject_SetItem(__pyx_t_1, __pyx_n_s_long, __pyx_int_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 230; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13721
12364
* integer = 2
13723
12366
* unsigned_byte = 50 # <<<<<<<<<<<<<<
13724
12367
* unsigned_short = 51
13725
12368
* unsigned_integer = 52
13727
if (PyObject_SetItem(__pyx_t_2, __pyx_n_s__unsigned_byte, __pyx_int_50) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12370
if (PyObject_SetItem(__pyx_t_1, __pyx_n_s_unsigned_byte, __pyx_int_50) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 231; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13731
12374
* unsigned_byte = 50
13732
12375
* unsigned_short = 51 # <<<<<<<<<<<<<<
13733
12376
* unsigned_integer = 52
13734
12377
* unsigned_long = 54
13736
if (PyObject_SetItem(__pyx_t_2, __pyx_n_s__unsigned_short, __pyx_int_51) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12379
if (PyObject_SetItem(__pyx_t_1, __pyx_n_s_unsigned_short, __pyx_int_51) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 232; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13739
12382
* unsigned_byte = 50
13740
12383
* unsigned_short = 51
13741
12384
* unsigned_integer = 52 # <<<<<<<<<<<<<<
13742
12385
* unsigned_long = 54
13745
if (PyObject_SetItem(__pyx_t_2, __pyx_n_s__unsigned_integer, __pyx_int_52) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12388
if (PyObject_SetItem(__pyx_t_1, __pyx_n_s_unsigned_integer, __pyx_int_52) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 233; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13748
12391
* unsigned_short = 51
13749
12392
* unsigned_integer = 52
13750
12393
* unsigned_long = 54 # <<<<<<<<<<<<<<
13754
if (PyObject_SetItem(__pyx_t_2, __pyx_n_s__unsigned_long, __pyx_int_54) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 189; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12397
if (PyObject_SetItem(__pyx_t_1, __pyx_n_s_unsigned_long, __pyx_int_54) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13757
12400
* unsigned_integer = 52
13758
12401
* unsigned_long = 54
13759
12402
* real = 5 # <<<<<<<<<<<<<<
13761
12404
* long_double = 7
13763
if (PyObject_SetItem(__pyx_t_2, __pyx_n_s__real, __pyx_int_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 190; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12406
if (PyObject_SetItem(__pyx_t_1, __pyx_n_s_real, __pyx_int_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 235; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13766
12409
* unsigned_long = 54
13768
12411
* double = 6 # <<<<<<<<<<<<<<
13769
12412
* long_double = 7
13772
if (PyObject_SetItem(__pyx_t_2, __pyx_n_s__double, __pyx_int_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12415
if (PyObject_SetItem(__pyx_t_1, __pyx_n_s_double, __pyx_int_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 236; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13777
12420
* long_double = 7 # <<<<<<<<<<<<<<
13779
12422
* complex = 10
13781
if (PyObject_SetItem(__pyx_t_2, __pyx_n_s__long_double, __pyx_int_7) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 192; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12424
if (PyObject_SetItem(__pyx_t_1, __pyx_n_s_long_double, __pyx_int_7) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 237; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13785
12428
* long_double = 7
13786
12429
* string = 9 # <<<<<<<<<<<<<<
13787
12430
* complex = 10
13788
12431
* double_complex = 11
13790
if (PyObject_SetItem(__pyx_t_2, __pyx_n_s__string, __pyx_int_9) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12433
if (PyObject_SetItem(__pyx_t_1, __pyx_n_s_string, __pyx_int_9) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 238; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13793
12436
* long_double = 7
13795
12438
* complex = 10 # <<<<<<<<<<<<<<
13796
12439
* double_complex = 11
13799
if (PyObject_SetItem(__pyx_t_2, __pyx_n_s__complex, __pyx_int_10) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12442
if (PyObject_SetItem(__pyx_t_1, __pyx_n_s_complex, __pyx_int_10) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13803
12446
* complex = 10
13804
12447
* double_complex = 11 # <<<<<<<<<<<<<<
13806
* class FLAG(object):
13808
if (PyObject_SetItem(__pyx_t_2, __pyx_n_s__double_complex, __pyx_int_11) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12451
if (PyObject_SetItem(__pyx_t_1, __pyx_n_s_double_complex, __pyx_int_11) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 240; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12454
* ## ====================
13813
* class DATATYPE(object): # <<<<<<<<<<<<<<
12456
* class DATATYPE: # <<<<<<<<<<<<<<
13814
12457
* unknown = -1
13817
__pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12460
__pyx_t_2 = __Pyx_Py3ClassCreate(((PyObject*)&__Pyx_DefaultClassType), __pyx_n_s_DATATYPE, __pyx_empty_tuple, __pyx_t_1, NULL, 0, 1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 225; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12461
__Pyx_GOTREF(__pyx_t_2);
12462
if (PyDict_SetItem(__pyx_d, __pyx_n_s_DATATYPE, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 225; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12463
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
12464
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
12467
* double_complex = 11
12469
* class FLAG: # <<<<<<<<<<<<<<
12473
__pyx_t_1 = __Pyx_Py3MetaclassPrepare((PyObject *) NULL, __pyx_empty_tuple, __pyx_n_s_FLAG, __pyx_n_s_FLAG, (PyObject *) NULL, __pyx_n_s_adios, (PyObject *) NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 242; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13818
12474
__Pyx_GOTREF(__pyx_t_1);
13819
__Pyx_INCREF(__pyx_builtin_object);
13820
PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_builtin_object);
13821
__Pyx_GIVEREF(__pyx_builtin_object);
13822
__pyx_t_3 = __Pyx_CreateClass(((PyObject *)__pyx_t_1), ((PyObject *)__pyx_t_2), __pyx_n_s__DATATYPE, __pyx_n_s__DATATYPE, __pyx_n_s__adios); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13823
__Pyx_GOTREF(__pyx_t_3);
13824
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
13825
if (PyDict_SetItem(__pyx_d, __pyx_n_s__DATATYPE, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13826
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
13827
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
13830
* double_complex = 11
13832
* class FLAG(object): # <<<<<<<<<<<<<<
13836
__pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13837
__Pyx_GOTREF(((PyObject *)__pyx_t_2));
13841
* class FLAG(object):
13842
12479
* UNKNOWN = 0 # <<<<<<<<<<<<<<
13846
if (PyObject_SetItem(__pyx_t_2, __pyx_n_s__UNKNOWN, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12483
if (PyObject_SetItem(__pyx_t_1, __pyx_n_s_UNKNOWN, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13849
* class FLAG(object):
13850
12487
* UNKNOWN = 0
13851
12488
* YES = 1 # <<<<<<<<<<<<<<
13855
if (PyObject_SetItem(__pyx_t_2, __pyx_n_s__YES, __pyx_int_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12492
if (PyObject_SetItem(__pyx_t_1, __pyx_n_s_YES, __pyx_int_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13858
12495
* UNKNOWN = 0
13860
12497
* NO = 2 # <<<<<<<<<<<<<<
13862
* class BUFFER_ALLOC_WHEN(object):
12499
* class BUFFER_ALLOC_WHEN:
13864
if (PyObject_SetItem(__pyx_t_2, __pyx_n_s__NO, __pyx_int_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12501
if (PyObject_SetItem(__pyx_t_1, __pyx_n_s_NO, __pyx_int_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13867
12504
* double_complex = 11
13869
* class FLAG(object): # <<<<<<<<<<<<<<
12506
* class FLAG: # <<<<<<<<<<<<<<
13870
12507
* UNKNOWN = 0
13873
__pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13874
__Pyx_GOTREF(__pyx_t_3);
13875
__Pyx_INCREF(__pyx_builtin_object);
13876
PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_builtin_object);
13877
__Pyx_GIVEREF(__pyx_builtin_object);
13878
__pyx_t_1 = __Pyx_CreateClass(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2), __pyx_n_s__FLAG, __pyx_n_s__FLAG, __pyx_n_s__adios); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13879
__Pyx_GOTREF(__pyx_t_1);
13880
__Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
13881
if (PyDict_SetItem(__pyx_d, __pyx_n_s__FLAG, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12510
__pyx_t_2 = __Pyx_Py3ClassCreate(((PyObject*)&__Pyx_DefaultClassType), __pyx_n_s_FLAG, __pyx_empty_tuple, __pyx_t_1, NULL, 0, 1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 242; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12511
__Pyx_GOTREF(__pyx_t_2);
12512
if (PyDict_SetItem(__pyx_d, __pyx_n_s_FLAG, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 242; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12513
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
13882
12514
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
13883
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
13888
* class BUFFER_ALLOC_WHEN(object): # <<<<<<<<<<<<<<
12519
* class BUFFER_ALLOC_WHEN: # <<<<<<<<<<<<<<
13889
12520
* UNKNOWN = 0
13892
__pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13893
__Pyx_GOTREF(((PyObject *)__pyx_t_2));
12523
__pyx_t_1 = __Pyx_Py3MetaclassPrepare((PyObject *) NULL, __pyx_empty_tuple, __pyx_n_s_BUFFER_ALLOC_WHEN, __pyx_n_s_BUFFER_ALLOC_WHEN, (PyObject *) NULL, __pyx_n_s_adios, (PyObject *) NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12524
__Pyx_GOTREF(__pyx_t_1);
13897
* class BUFFER_ALLOC_WHEN(object):
12528
* class BUFFER_ALLOC_WHEN:
13898
12529
* UNKNOWN = 0 # <<<<<<<<<<<<<<
13902
if (PyObject_SetItem(__pyx_t_2, __pyx_n_s__UNKNOWN, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12533
if (PyObject_SetItem(__pyx_t_1, __pyx_n_s_UNKNOWN, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 248; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13905
* class BUFFER_ALLOC_WHEN(object):
12536
* class BUFFER_ALLOC_WHEN:
13906
12537
* UNKNOWN = 0
13907
12538
* NOW = 1 # <<<<<<<<<<<<<<
13911
if (PyObject_SetItem(__pyx_t_2, __pyx_n_s__NOW, __pyx_int_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 204; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12542
if (PyObject_SetItem(__pyx_t_1, __pyx_n_s_NOW, __pyx_int_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13914
12545
* UNKNOWN = 0
13916
12547
* LATER = 2 # <<<<<<<<<<<<<<
12549
* ## ====================
13920
if (PyObject_SetItem(__pyx_t_2, __pyx_n_s__LATER, __pyx_int_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12551
if (PyObject_SetItem(__pyx_t_1, __pyx_n_s_LATER, __pyx_int_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 250; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13925
* class BUFFER_ALLOC_WHEN(object): # <<<<<<<<<<<<<<
12556
* class BUFFER_ALLOC_WHEN: # <<<<<<<<<<<<<<
13926
12557
* UNKNOWN = 0
13929
__pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13930
__Pyx_GOTREF(__pyx_t_1);
13931
__Pyx_INCREF(__pyx_builtin_object);
13932
PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_builtin_object);
13933
__Pyx_GIVEREF(__pyx_builtin_object);
13934
__pyx_t_3 = __Pyx_CreateClass(((PyObject *)__pyx_t_1), ((PyObject *)__pyx_t_2), __pyx_n_s__BUFFER_ALLOC_WHEN, __pyx_n_s__BUFFER_ALLOC_WHEN, __pyx_n_s__adios); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13935
__Pyx_GOTREF(__pyx_t_3);
13936
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
13937
if (PyDict_SetItem(__pyx_d, __pyx_n_s__BUFFER_ALLOC_WHEN, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13938
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
13939
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
13944
* cpdef init(char * config, MPI.Comm comm = MPI.COMM_WORLD): # <<<<<<<<<<<<<<
13945
* return adios_init(config, comm.ob_mpi)
13948
__pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s__MPI); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12560
__pyx_t_2 = __Pyx_Py3ClassCreate(((PyObject*)&__Pyx_DefaultClassType), __pyx_n_s_BUFFER_ALLOC_WHEN, __pyx_empty_tuple, __pyx_t_1, NULL, 0, 1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13949
12561
__Pyx_GOTREF(__pyx_t_2);
13950
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s__COMM_WORLD); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13951
__Pyx_GOTREF(__pyx_t_3);
12562
if (PyDict_SetItem(__pyx_d, __pyx_n_s_BUFFER_ALLOC_WHEN, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13952
12563
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
13953
if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_6mpi4py_3MPI_Comm))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13954
__pyx_k_1 = ((struct PyMPICommObject *)__pyx_t_3);
13955
__Pyx_GIVEREF(__pyx_t_3);
12564
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
12567
* ## ====================
12569
* cpdef init(char * config, MPI_Comm comm = MPI_COMM_WORLD): # <<<<<<<<<<<<<<
12570
* return adios_init(config, comm)
12573
__pyx_k_ = MPI_COMM_WORLD;
13959
12576
* char * name,
13960
12577
* char * mode,
13961
* MPI.Comm comm = MPI.COMM_WORLD): # <<<<<<<<<<<<<<
12578
* MPI_Comm comm = MPI_COMM_WORLD): # <<<<<<<<<<<<<<
13962
12579
* cdef int64_t fd
13963
12580
* cdef int result
13965
__pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__MPI); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 217; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13966
__Pyx_GOTREF(__pyx_t_3);
13967
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s__COMM_WORLD); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 217; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13968
__Pyx_GOTREF(__pyx_t_2);
13969
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
13970
if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_6mpi4py_3MPI_Comm))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 217; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13971
__pyx_k_2 = ((struct PyMPICommObject *)__pyx_t_2);
13972
__Pyx_GIVEREF(__pyx_t_2);
12582
__pyx_k__2 = MPI_COMM_WORLD;
13976
12585
* ## ADIOS No-XML API
13978
* cpdef int init_noxml(MPI.Comm comm = MPI.COMM_WORLD): # <<<<<<<<<<<<<<
13979
* return adios_init_noxml(comm.ob_mpi)
13982
__pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s__MPI); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 261; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13983
__Pyx_GOTREF(__pyx_t_2);
13984
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s__COMM_WORLD); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 261; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13985
__Pyx_GOTREF(__pyx_t_3);
13986
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
13987
if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_6mpi4py_3MPI_Comm))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 261; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13988
__pyx_k_6 = ((struct PyMPICommObject *)__pyx_t_3);
13989
__Pyx_GIVEREF(__pyx_t_3);
13993
* cpdef public dict group
13995
* def __init__(self, char * fname, MPI.Comm comm = MPI.COMM_WORLD): # <<<<<<<<<<<<<<
13999
__pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s__MPI); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 440; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14000
__Pyx_GOTREF(__pyx_t_3);
14001
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s__COMM_WORLD); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 440; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14002
__Pyx_GOTREF(__pyx_t_2);
14003
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
14004
if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_6mpi4py_3MPI_Comm))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 440; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14005
__pyx_k_10 = ((struct PyMPICommObject *)__pyx_t_2);
14006
__Pyx_GIVEREF(__pyx_t_2);
12586
* ## ====================
12587
* cpdef int init_noxml(MPI_Comm comm = MPI_COMM_WORLD): # <<<<<<<<<<<<<<
12588
* return adios_init_noxml(comm)
12591
__pyx_k__3 = MPI_COMM_WORLD;
12594
* ## ====================
12596
* cpdef read_init(ADIOS_READ_METHOD method = ADIOS_READ_METHOD_BP, # <<<<<<<<<<<<<<
12597
* MPI_Comm comm = MPI_COMM_WORLD,
12598
* char * parameters = ""):
12600
__pyx_k__4 = ADIOS_READ_METHOD_BP;
12604
* cpdef read_init(ADIOS_READ_METHOD method = ADIOS_READ_METHOD_BP,
12605
* MPI_Comm comm = MPI_COMM_WORLD, # <<<<<<<<<<<<<<
12606
* char * parameters = ""):
12607
* return adios_read_init_method (method, comm, parameters)
12609
__pyx_k__5 = MPI_COMM_WORLD;
12614
* cpdef read_finalize(ADIOS_READ_METHOD method = ADIOS_READ_METHOD_BP): # <<<<<<<<<<<<<<
12615
* return adios_read_finalize_method (method)
12618
__pyx_k__7 = ADIOS_READ_METHOD_BP;
12622
* def __init__(self, char * fname,
12623
* ADIOS_READ_METHOD method = ADIOS_READ_METHOD_BP, # <<<<<<<<<<<<<<
12624
* MPI_Comm comm = MPI_COMM_WORLD):
12627
__pyx_k__8 = ADIOS_READ_METHOD_BP;
12630
* def __init__(self, char * fname,
12631
* ADIOS_READ_METHOD method = ADIOS_READ_METHOD_BP,
12632
* MPI_Comm comm = MPI_COMM_WORLD): # <<<<<<<<<<<<<<
12636
__pyx_k__9 = MPI_COMM_WORLD;
12639
* ## ====================
12641
* def readvar(fname, varname): # <<<<<<<<<<<<<<
12643
* if not f.var.has_key(varname):
12645
__pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5adios_37readvar, NULL, __pyx_n_s_adios); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 569; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12646
__Pyx_GOTREF(__pyx_t_1);
12647
if (PyDict_SetItem(__pyx_d, __pyx_n_s_readvar, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 569; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12648
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
12651
* return v.read(from_steps=0, nsteps=v.nsteps)
12653
* def bpls(fname): # <<<<<<<<<<<<<<
12655
* return {'nvars': f.nvars,
12657
__pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5adios_39bpls, NULL, __pyx_n_s_adios); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 578; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12658
__Pyx_GOTREF(__pyx_t_1);
12659
if (PyDict_SetItem(__pyx_d, __pyx_n_s_bpls, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 578; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12660
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
14009
12662
/* "adios.pyx":1
14010
12663
* """ # <<<<<<<<<<<<<<
14011
12664
* ADIOS is freely available under the terms of the BSD license described
14012
12665
* in the COPYING file in the top level directory of this source distribution.
14014
__pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14015
__Pyx_GOTREF(((PyObject *)__pyx_t_2));
14016
if (PyDict_SetItem(__pyx_d, __pyx_n_s____test__, ((PyObject *)__pyx_t_2)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14017
__Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
12667
__pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12668
__Pyx_GOTREF(__pyx_t_1);
12669
if (PyDict_SetItem(__pyx_d, __pyx_n_s_test, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
12670
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
12672
/* "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":976
14020
12673
* arr.base = baseptr
14022
12675
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
14706
13798
return module;
14709
static PyObject *__Pyx_FindPy2Metaclass(PyObject *bases) {
14710
PyObject *metaclass;
14711
#if PY_MAJOR_VERSION < 3
14712
if (PyTuple_Check(bases) && PyTuple_GET_SIZE(bases) > 0) {
14713
PyObject *base = PyTuple_GET_ITEM(bases, 0);
14714
metaclass = __Pyx_PyObject_GetAttrStr(base, __pyx_n_s____class__);
14717
metaclass = (PyObject*) Py_TYPE(base);
14720
metaclass = (PyObject *) &PyClass_Type;
14723
if (PyTuple_Check(bases) && PyTuple_GET_SIZE(bases) > 0) {
14724
PyObject *base = PyTuple_GET_ITEM(bases, 0);
14725
metaclass = (PyObject*) Py_TYPE(base);
14727
metaclass = (PyObject *) &PyType_Type;
14730
Py_INCREF(metaclass);
14734
static PyObject *__Pyx_CreateClass(PyObject *bases, PyObject *dict, PyObject *name,
14735
PyObject *qualname, PyObject *modname) {
14737
PyObject *metaclass;
14738
if (PyDict_SetItem(dict, __pyx_n_s____module__, modname) < 0)
14740
if (PyDict_SetItem(dict, __pyx_n_s____qualname__, qualname) < 0)
14742
metaclass = PyDict_GetItem(dict, __pyx_n_s____metaclass__);
14744
Py_INCREF(metaclass);
14746
metaclass = __Pyx_FindPy2Metaclass(bases);
14748
result = PyObject_CallFunctionObjArgs(metaclass, name, bases, dict, NULL);
14749
Py_DECREF(metaclass);
14753
static CYTHON_INLINE int64_t __Pyx_PyInt_from_py_int64_t(PyObject* x) {
14754
const int64_t neg_one = (int64_t)-1, const_zero = (int64_t)0;
14755
const int is_unsigned = const_zero < neg_one;
14756
if (sizeof(int64_t) == sizeof(char)) {
14758
return (int64_t)__Pyx_PyInt_AsUnsignedChar(x);
14760
return (int64_t)__Pyx_PyInt_AsSignedChar(x);
14761
} else if (sizeof(int64_t) == sizeof(short)) {
14763
return (int64_t)__Pyx_PyInt_AsUnsignedShort(x);
14765
return (int64_t)__Pyx_PyInt_AsSignedShort(x);
14766
} else if (sizeof(int64_t) == sizeof(int)) {
14768
return (int64_t)__Pyx_PyInt_AsUnsignedInt(x);
14770
return (int64_t)__Pyx_PyInt_AsSignedInt(x);
14771
} else if (sizeof(int64_t) == sizeof(long)) {
14773
return (int64_t)__Pyx_PyInt_AsUnsignedLong(x);
14775
return (int64_t)__Pyx_PyInt_AsSignedLong(x);
14776
} else if (sizeof(int64_t) == sizeof(PY_LONG_LONG)) {
14778
return (int64_t)__Pyx_PyInt_AsUnsignedLongLong(x);
14780
return (int64_t)__Pyx_PyInt_AsSignedLongLong(x);
14782
#if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
14783
PyErr_SetString(PyExc_RuntimeError,
14784
"_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
13801
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
13802
#if CYTHON_USE_PYLONG_INTERNALS
13803
#include "longintrepr.h"
13806
static CYTHON_INLINE MPI_Comm __Pyx_PyInt_As_MPI_Comm(PyObject *x) {
13807
const MPI_Comm neg_one = (MPI_Comm) -1, const_zero = 0;
13808
const int is_unsigned = neg_one > const_zero;
13809
#if PY_MAJOR_VERSION < 3
13810
if (likely(PyInt_Check(x))) {
13811
if (sizeof(MPI_Comm) < sizeof(long)) {
13812
__PYX_VERIFY_RETURN_INT(MPI_Comm, long, PyInt_AS_LONG)
13814
long val = PyInt_AS_LONG(x);
13815
if (is_unsigned && unlikely(val < 0)) {
13816
PyErr_SetString(PyExc_OverflowError,
13817
"can't convert negative value to MPI_Comm");
13818
return (MPI_Comm) -1;
13820
return (MPI_Comm) val;
13824
if (likely(PyLong_Check(x))) {
13826
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
13827
#if CYTHON_USE_PYLONG_INTERNALS
13828
if (sizeof(digit) <= sizeof(MPI_Comm)) {
13829
switch (Py_SIZE(x)) {
13831
case 1: return (MPI_Comm) ((PyLongObject*)x)->ob_digit[0];
13836
if (unlikely(Py_SIZE(x) < 0)) {
13837
PyErr_SetString(PyExc_OverflowError,
13838
"can't convert negative value to MPI_Comm");
13839
return (MPI_Comm) -1;
13841
if (sizeof(MPI_Comm) <= sizeof(unsigned long)) {
13842
__PYX_VERIFY_RETURN_INT(MPI_Comm, unsigned long, PyLong_AsUnsignedLong)
13843
} else if (sizeof(MPI_Comm) <= sizeof(unsigned long long)) {
13844
__PYX_VERIFY_RETURN_INT(MPI_Comm, unsigned long long, PyLong_AsUnsignedLongLong)
13847
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
13848
#if CYTHON_USE_PYLONG_INTERNALS
13849
if (sizeof(digit) <= sizeof(MPI_Comm)) {
13850
switch (Py_SIZE(x)) {
13852
case 1: return +(MPI_Comm) ((PyLongObject*)x)->ob_digit[0];
13853
case -1: return -(MPI_Comm) ((PyLongObject*)x)->ob_digit[0];
13858
if (sizeof(MPI_Comm) <= sizeof(long)) {
13859
__PYX_VERIFY_RETURN_INT(MPI_Comm, long, PyLong_AsLong)
13860
} else if (sizeof(MPI_Comm) <= sizeof(long long)) {
13861
__PYX_VERIFY_RETURN_INT(MPI_Comm, long long, PyLong_AsLongLong)
13865
#if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
13866
PyErr_SetString(PyExc_RuntimeError,
13867
"_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
13870
PyObject *v = __Pyx_PyNumber_Int(x);
13871
#if PY_MAJOR_VERSION < 3
13872
if (likely(v) && !PyLong_Check(v)) {
13874
v = PyNumber_Long(tmp);
13879
int one = 1; int is_little = (int)*(unsigned char *)&one;
13880
unsigned char *bytes = (unsigned char *)&val;
13881
int ret = _PyLong_AsByteArray((PyLongObject *)v,
13882
bytes, sizeof(val),
13883
is_little, !is_unsigned);
13889
return (MPI_Comm) -1;
13893
PyObject *tmp = __Pyx_PyNumber_Int(x);
13894
if (!tmp) return (MPI_Comm) -1;
13895
val = __Pyx_PyInt_As_MPI_Comm(tmp);
13901
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
13902
#if CYTHON_USE_PYLONG_INTERNALS
13903
#include "longintrepr.h"
13906
static CYTHON_INLINE int64_t __Pyx_PyInt_As_int64_t(PyObject *x) {
13907
const int64_t neg_one = (int64_t) -1, const_zero = 0;
13908
const int is_unsigned = neg_one > const_zero;
13909
#if PY_MAJOR_VERSION < 3
13910
if (likely(PyInt_Check(x))) {
13911
if (sizeof(int64_t) < sizeof(long)) {
13912
__PYX_VERIFY_RETURN_INT(int64_t, long, PyInt_AS_LONG)
13914
long val = PyInt_AS_LONG(x);
13915
if (is_unsigned && unlikely(val < 0)) {
13916
PyErr_SetString(PyExc_OverflowError,
13917
"can't convert negative value to int64_t");
13918
return (int64_t) -1;
13920
return (int64_t) val;
13924
if (likely(PyLong_Check(x))) {
13926
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
13927
#if CYTHON_USE_PYLONG_INTERNALS
13928
if (sizeof(digit) <= sizeof(int64_t)) {
13929
switch (Py_SIZE(x)) {
13931
case 1: return (int64_t) ((PyLongObject*)x)->ob_digit[0];
13936
if (unlikely(Py_SIZE(x) < 0)) {
13937
PyErr_SetString(PyExc_OverflowError,
13938
"can't convert negative value to int64_t");
13939
return (int64_t) -1;
13941
if (sizeof(int64_t) <= sizeof(unsigned long)) {
13942
__PYX_VERIFY_RETURN_INT(int64_t, unsigned long, PyLong_AsUnsignedLong)
13943
} else if (sizeof(int64_t) <= sizeof(unsigned long long)) {
13944
__PYX_VERIFY_RETURN_INT(int64_t, unsigned long long, PyLong_AsUnsignedLongLong)
13947
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
13948
#if CYTHON_USE_PYLONG_INTERNALS
13949
if (sizeof(digit) <= sizeof(int64_t)) {
13950
switch (Py_SIZE(x)) {
13952
case 1: return +(int64_t) ((PyLongObject*)x)->ob_digit[0];
13953
case -1: return -(int64_t) ((PyLongObject*)x)->ob_digit[0];
13958
if (sizeof(int64_t) <= sizeof(long)) {
13959
__PYX_VERIFY_RETURN_INT(int64_t, long, PyLong_AsLong)
13960
} else if (sizeof(int64_t) <= sizeof(long long)) {
13961
__PYX_VERIFY_RETURN_INT(int64_t, long long, PyLong_AsLongLong)
13965
#if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
13966
PyErr_SetString(PyExc_RuntimeError,
13967
"_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
13970
PyObject *v = __Pyx_PyNumber_Int(x);
13971
#if PY_MAJOR_VERSION < 3
13972
if (likely(v) && !PyLong_Check(v)) {
13974
v = PyNumber_Long(tmp);
13979
int one = 1; int is_little = (int)*(unsigned char *)&one;
13980
unsigned char *bytes = (unsigned char *)&val;
13981
int ret = _PyLong_AsByteArray((PyLongObject *)v,
13982
bytes, sizeof(val),
13983
is_little, !is_unsigned);
13989
return (int64_t) -1;
14787
PyObject *v = __Pyx_PyNumber_Int(x);
14788
#if PY_MAJOR_VERSION < 3
14789
if (likely(v) && !PyLong_Check(v)) {
14791
v = PyNumber_Long(tmp);
14796
int one = 1; int is_little = (int)*(unsigned char *)&one;
14797
unsigned char *bytes = (unsigned char *)&val;
14798
int ret = _PyLong_AsByteArray((PyLongObject *)v,
14799
bytes, sizeof(val),
14800
is_little, !is_unsigned);
14806
return (int64_t)-1;
13993
PyObject *tmp = __Pyx_PyNumber_Int(x);
13994
if (!tmp) return (int64_t) -1;
13995
val = __Pyx_PyInt_As_int64_t(tmp);
14810
static CYTHON_INLINE uint64_t __Pyx_PyInt_from_py_uint64_t(PyObject* x) {
14811
const uint64_t neg_one = (uint64_t)-1, const_zero = (uint64_t)0;
14812
const int is_unsigned = const_zero < neg_one;
14813
if (sizeof(uint64_t) == sizeof(char)) {
14815
return (uint64_t)__Pyx_PyInt_AsUnsignedChar(x);
14817
return (uint64_t)__Pyx_PyInt_AsSignedChar(x);
14818
} else if (sizeof(uint64_t) == sizeof(short)) {
14820
return (uint64_t)__Pyx_PyInt_AsUnsignedShort(x);
14822
return (uint64_t)__Pyx_PyInt_AsSignedShort(x);
14823
} else if (sizeof(uint64_t) == sizeof(int)) {
14825
return (uint64_t)__Pyx_PyInt_AsUnsignedInt(x);
14827
return (uint64_t)__Pyx_PyInt_AsSignedInt(x);
14828
} else if (sizeof(uint64_t) == sizeof(long)) {
14830
return (uint64_t)__Pyx_PyInt_AsUnsignedLong(x);
14832
return (uint64_t)__Pyx_PyInt_AsSignedLong(x);
14833
} else if (sizeof(uint64_t) == sizeof(PY_LONG_LONG)) {
14835
return (uint64_t)__Pyx_PyInt_AsUnsignedLongLong(x);
14837
return (uint64_t)__Pyx_PyInt_AsSignedLongLong(x);
14839
#if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
14840
PyErr_SetString(PyExc_RuntimeError,
14841
"_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
14001
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
14002
#if CYTHON_USE_PYLONG_INTERNALS
14003
#include "longintrepr.h"
14006
static CYTHON_INLINE uint64_t __Pyx_PyInt_As_uint64_t(PyObject *x) {
14007
const uint64_t neg_one = (uint64_t) -1, const_zero = 0;
14008
const int is_unsigned = neg_one > const_zero;
14009
#if PY_MAJOR_VERSION < 3
14010
if (likely(PyInt_Check(x))) {
14011
if (sizeof(uint64_t) < sizeof(long)) {
14012
__PYX_VERIFY_RETURN_INT(uint64_t, long, PyInt_AS_LONG)
14014
long val = PyInt_AS_LONG(x);
14015
if (is_unsigned && unlikely(val < 0)) {
14016
PyErr_SetString(PyExc_OverflowError,
14017
"can't convert negative value to uint64_t");
14018
return (uint64_t) -1;
14020
return (uint64_t) val;
14024
if (likely(PyLong_Check(x))) {
14026
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
14027
#if CYTHON_USE_PYLONG_INTERNALS
14028
if (sizeof(digit) <= sizeof(uint64_t)) {
14029
switch (Py_SIZE(x)) {
14031
case 1: return (uint64_t) ((PyLongObject*)x)->ob_digit[0];
14036
if (unlikely(Py_SIZE(x) < 0)) {
14037
PyErr_SetString(PyExc_OverflowError,
14038
"can't convert negative value to uint64_t");
14039
return (uint64_t) -1;
14041
if (sizeof(uint64_t) <= sizeof(unsigned long)) {
14042
__PYX_VERIFY_RETURN_INT(uint64_t, unsigned long, PyLong_AsUnsignedLong)
14043
} else if (sizeof(uint64_t) <= sizeof(unsigned long long)) {
14044
__PYX_VERIFY_RETURN_INT(uint64_t, unsigned long long, PyLong_AsUnsignedLongLong)
14047
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
14048
#if CYTHON_USE_PYLONG_INTERNALS
14049
if (sizeof(digit) <= sizeof(uint64_t)) {
14050
switch (Py_SIZE(x)) {
14052
case 1: return +(uint64_t) ((PyLongObject*)x)->ob_digit[0];
14053
case -1: return -(uint64_t) ((PyLongObject*)x)->ob_digit[0];
14058
if (sizeof(uint64_t) <= sizeof(long)) {
14059
__PYX_VERIFY_RETURN_INT(uint64_t, long, PyLong_AsLong)
14060
} else if (sizeof(uint64_t) <= sizeof(long long)) {
14061
__PYX_VERIFY_RETURN_INT(uint64_t, long long, PyLong_AsLongLong)
14065
#if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
14066
PyErr_SetString(PyExc_RuntimeError,
14067
"_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
14070
PyObject *v = __Pyx_PyNumber_Int(x);
14071
#if PY_MAJOR_VERSION < 3
14072
if (likely(v) && !PyLong_Check(v)) {
14074
v = PyNumber_Long(tmp);
14079
int one = 1; int is_little = (int)*(unsigned char *)&one;
14080
unsigned char *bytes = (unsigned char *)&val;
14081
int ret = _PyLong_AsByteArray((PyLongObject *)v,
14082
bytes, sizeof(val),
14083
is_little, !is_unsigned);
14089
return (uint64_t) -1;
14843
14092
uint64_t val;
14844
PyObject *v = __Pyx_PyNumber_Int(x);
14845
#if PY_MAJOR_VERSION < 3
14846
if (likely(v) && !PyLong_Check(v)) {
14848
v = PyNumber_Long(tmp);
14853
int one = 1; int is_little = (int)*(unsigned char *)&one;
14854
unsigned char *bytes = (unsigned char *)&val;
14855
int ret = _PyLong_AsByteArray((PyLongObject *)v,
14856
bytes, sizeof(val),
14857
is_little, !is_unsigned);
14863
return (uint64_t)-1;
14867
static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_int64_t(int64_t val) {
14868
const int64_t neg_one = (int64_t)-1, const_zero = (int64_t)0;
14869
const int is_unsigned = const_zero < neg_one;
14870
if ((sizeof(int64_t) == sizeof(char)) ||
14871
(sizeof(int64_t) == sizeof(short))) {
14872
return PyInt_FromLong((long)val);
14873
} else if ((sizeof(int64_t) == sizeof(int)) ||
14874
(sizeof(int64_t) == sizeof(long))) {
14876
return PyLong_FromUnsignedLong((unsigned long)val);
14878
return PyInt_FromLong((long)val);
14879
} else if (sizeof(int64_t) == sizeof(PY_LONG_LONG)) {
14881
return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG)val);
14883
return PyLong_FromLongLong((PY_LONG_LONG)val);
14093
PyObject *tmp = __Pyx_PyNumber_Int(x);
14094
if (!tmp) return (uint64_t) -1;
14095
val = __Pyx_PyInt_As_uint64_t(tmp);
14101
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
14102
#if CYTHON_USE_PYLONG_INTERNALS
14103
#include "longintrepr.h"
14106
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
14107
const long neg_one = (long) -1, const_zero = 0;
14108
const int is_unsigned = neg_one > const_zero;
14109
#if PY_MAJOR_VERSION < 3
14110
if (likely(PyInt_Check(x))) {
14111
if (sizeof(long) < sizeof(long)) {
14112
__PYX_VERIFY_RETURN_INT(long, long, PyInt_AS_LONG)
14114
long val = PyInt_AS_LONG(x);
14115
if (is_unsigned && unlikely(val < 0)) {
14116
PyErr_SetString(PyExc_OverflowError,
14117
"can't convert negative value to long");
14124
if (likely(PyLong_Check(x))) {
14126
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
14127
#if CYTHON_USE_PYLONG_INTERNALS
14128
if (sizeof(digit) <= sizeof(long)) {
14129
switch (Py_SIZE(x)) {
14131
case 1: return (long) ((PyLongObject*)x)->ob_digit[0];
14136
if (unlikely(Py_SIZE(x) < 0)) {
14137
PyErr_SetString(PyExc_OverflowError,
14138
"can't convert negative value to long");
14141
if (sizeof(long) <= sizeof(unsigned long)) {
14142
__PYX_VERIFY_RETURN_INT(long, unsigned long, PyLong_AsUnsignedLong)
14143
} else if (sizeof(long) <= sizeof(unsigned long long)) {
14144
__PYX_VERIFY_RETURN_INT(long, unsigned long long, PyLong_AsUnsignedLongLong)
14147
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
14148
#if CYTHON_USE_PYLONG_INTERNALS
14149
if (sizeof(digit) <= sizeof(long)) {
14150
switch (Py_SIZE(x)) {
14152
case 1: return +(long) ((PyLongObject*)x)->ob_digit[0];
14153
case -1: return -(long) ((PyLongObject*)x)->ob_digit[0];
14158
if (sizeof(long) <= sizeof(long)) {
14159
__PYX_VERIFY_RETURN_INT(long, long, PyLong_AsLong)
14160
} else if (sizeof(long) <= sizeof(long long)) {
14161
__PYX_VERIFY_RETURN_INT(long, long long, PyLong_AsLongLong)
14165
#if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
14166
PyErr_SetString(PyExc_RuntimeError,
14167
"_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
14170
PyObject *v = __Pyx_PyNumber_Int(x);
14171
#if PY_MAJOR_VERSION < 3
14172
if (likely(v) && !PyLong_Check(v)) {
14174
v = PyNumber_Long(tmp);
14179
int one = 1; int is_little = (int)*(unsigned char *)&one;
14180
unsigned char *bytes = (unsigned char *)&val;
14181
int ret = _PyLong_AsByteArray((PyLongObject *)v,
14182
bytes, sizeof(val),
14183
is_little, !is_unsigned);
14193
PyObject *tmp = __Pyx_PyNumber_Int(x);
14194
if (!tmp) return (long) -1;
14195
val = __Pyx_PyInt_As_long(tmp);
14201
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_int64_t(int64_t value) {
14202
const int64_t neg_one = (int64_t) -1, const_zero = 0;
14203
const int is_unsigned = neg_one > const_zero;
14205
if (sizeof(int64_t) < sizeof(long)) {
14206
return PyInt_FromLong((long) value);
14207
} else if (sizeof(int64_t) <= sizeof(unsigned long)) {
14208
return PyLong_FromUnsignedLong((unsigned long) value);
14209
} else if (sizeof(int64_t) <= sizeof(unsigned long long)) {
14210
return PyLong_FromUnsignedLongLong((unsigned long long) value);
14213
if (sizeof(int64_t) <= sizeof(long)) {
14214
return PyInt_FromLong((long) value);
14215
} else if (sizeof(int64_t) <= sizeof(long long)) {
14216
return PyLong_FromLongLong((long long) value);
14885
14220
int one = 1; int little = (int)*(unsigned char *)&one;
14886
unsigned char *bytes = (unsigned char *)&val;
14221
unsigned char *bytes = (unsigned char *)&value;
14887
14222
return _PyLong_FromByteArray(bytes, sizeof(int64_t),
14888
14223
little, !is_unsigned);
15293
static CYTHON_INLINE unsigned char __Pyx_PyInt_AsUnsignedChar(PyObject* x) {
15294
const unsigned char neg_one = (unsigned char)-1, const_zero = 0;
15295
const int is_unsigned = neg_one > const_zero;
15296
if (sizeof(unsigned char) < sizeof(long)) {
15297
long val = __Pyx_PyInt_AsLong(x);
15298
if (unlikely(val != (long)(unsigned char)val)) {
15299
if (!unlikely(val == -1 && PyErr_Occurred())) {
15300
PyErr_SetString(PyExc_OverflowError,
15301
(is_unsigned && unlikely(val < 0)) ?
15302
"can't convert negative value to unsigned char" :
15303
"value too large to convert to unsigned char");
15305
return (unsigned char)-1;
15307
return (unsigned char)val;
15309
return (unsigned char)__Pyx_PyInt_AsUnsignedLong(x);
15312
static CYTHON_INLINE unsigned short __Pyx_PyInt_AsUnsignedShort(PyObject* x) {
15313
const unsigned short neg_one = (unsigned short)-1, const_zero = 0;
15314
const int is_unsigned = neg_one > const_zero;
15315
if (sizeof(unsigned short) < sizeof(long)) {
15316
long val = __Pyx_PyInt_AsLong(x);
15317
if (unlikely(val != (long)(unsigned short)val)) {
15318
if (!unlikely(val == -1 && PyErr_Occurred())) {
15319
PyErr_SetString(PyExc_OverflowError,
15320
(is_unsigned && unlikely(val < 0)) ?
15321
"can't convert negative value to unsigned short" :
15322
"value too large to convert to unsigned short");
15324
return (unsigned short)-1;
15326
return (unsigned short)val;
15328
return (unsigned short)__Pyx_PyInt_AsUnsignedLong(x);
15331
static CYTHON_INLINE unsigned int __Pyx_PyInt_AsUnsignedInt(PyObject* x) {
15332
const unsigned int neg_one = (unsigned int)-1, const_zero = 0;
15333
const int is_unsigned = neg_one > const_zero;
15334
if (sizeof(unsigned int) < sizeof(long)) {
15335
long val = __Pyx_PyInt_AsLong(x);
15336
if (unlikely(val != (long)(unsigned int)val)) {
15337
if (!unlikely(val == -1 && PyErr_Occurred())) {
15338
PyErr_SetString(PyExc_OverflowError,
15339
(is_unsigned && unlikely(val < 0)) ?
15340
"can't convert negative value to unsigned int" :
15341
"value too large to convert to unsigned int");
15343
return (unsigned int)-1;
15345
return (unsigned int)val;
15347
return (unsigned int)__Pyx_PyInt_AsUnsignedLong(x);
15350
static CYTHON_INLINE char __Pyx_PyInt_AsChar(PyObject* x) {
15351
const char neg_one = (char)-1, const_zero = 0;
15352
const int is_unsigned = neg_one > const_zero;
15353
if (sizeof(char) < sizeof(long)) {
15354
long val = __Pyx_PyInt_AsLong(x);
15355
if (unlikely(val != (long)(char)val)) {
15356
if (!unlikely(val == -1 && PyErr_Occurred())) {
15357
PyErr_SetString(PyExc_OverflowError,
15358
(is_unsigned && unlikely(val < 0)) ?
15359
"can't convert negative value to char" :
15360
"value too large to convert to char");
15366
return (char)__Pyx_PyInt_AsLong(x);
15369
static CYTHON_INLINE short __Pyx_PyInt_AsShort(PyObject* x) {
15370
const short neg_one = (short)-1, const_zero = 0;
15371
const int is_unsigned = neg_one > const_zero;
15372
if (sizeof(short) < sizeof(long)) {
15373
long val = __Pyx_PyInt_AsLong(x);
15374
if (unlikely(val != (long)(short)val)) {
15375
if (!unlikely(val == -1 && PyErr_Occurred())) {
15376
PyErr_SetString(PyExc_OverflowError,
15377
(is_unsigned && unlikely(val < 0)) ?
15378
"can't convert negative value to short" :
15379
"value too large to convert to short");
15385
return (short)__Pyx_PyInt_AsLong(x);
15388
static CYTHON_INLINE int __Pyx_PyInt_AsInt(PyObject* x) {
15389
const int neg_one = (int)-1, const_zero = 0;
15390
const int is_unsigned = neg_one > const_zero;
15391
if (sizeof(int) < sizeof(long)) {
15392
long val = __Pyx_PyInt_AsLong(x);
15393
if (unlikely(val != (long)(int)val)) {
15394
if (!unlikely(val == -1 && PyErr_Occurred())) {
15395
PyErr_SetString(PyExc_OverflowError,
15396
(is_unsigned && unlikely(val < 0)) ?
15397
"can't convert negative value to int" :
15398
"value too large to convert to int");
15404
return (int)__Pyx_PyInt_AsLong(x);
15407
static CYTHON_INLINE signed char __Pyx_PyInt_AsSignedChar(PyObject* x) {
15408
const signed char neg_one = (signed char)-1, const_zero = 0;
15409
const int is_unsigned = neg_one > const_zero;
15410
if (sizeof(signed char) < sizeof(long)) {
15411
long val = __Pyx_PyInt_AsLong(x);
15412
if (unlikely(val != (long)(signed char)val)) {
15413
if (!unlikely(val == -1 && PyErr_Occurred())) {
15414
PyErr_SetString(PyExc_OverflowError,
15415
(is_unsigned && unlikely(val < 0)) ?
15416
"can't convert negative value to signed char" :
15417
"value too large to convert to signed char");
15419
return (signed char)-1;
15421
return (signed char)val;
15423
return (signed char)__Pyx_PyInt_AsSignedLong(x);
15426
static CYTHON_INLINE signed short __Pyx_PyInt_AsSignedShort(PyObject* x) {
15427
const signed short neg_one = (signed short)-1, const_zero = 0;
15428
const int is_unsigned = neg_one > const_zero;
15429
if (sizeof(signed short) < sizeof(long)) {
15430
long val = __Pyx_PyInt_AsLong(x);
15431
if (unlikely(val != (long)(signed short)val)) {
15432
if (!unlikely(val == -1 && PyErr_Occurred())) {
15433
PyErr_SetString(PyExc_OverflowError,
15434
(is_unsigned && unlikely(val < 0)) ?
15435
"can't convert negative value to signed short" :
15436
"value too large to convert to signed short");
15438
return (signed short)-1;
15440
return (signed short)val;
15442
return (signed short)__Pyx_PyInt_AsSignedLong(x);
15445
static CYTHON_INLINE signed int __Pyx_PyInt_AsSignedInt(PyObject* x) {
15446
const signed int neg_one = (signed int)-1, const_zero = 0;
15447
const int is_unsigned = neg_one > const_zero;
15448
if (sizeof(signed int) < sizeof(long)) {
15449
long val = __Pyx_PyInt_AsLong(x);
15450
if (unlikely(val != (long)(signed int)val)) {
15451
if (!unlikely(val == -1 && PyErr_Occurred())) {
15452
PyErr_SetString(PyExc_OverflowError,
15453
(is_unsigned && unlikely(val < 0)) ?
15454
"can't convert negative value to signed int" :
15455
"value too large to convert to signed int");
15457
return (signed int)-1;
15459
return (signed int)val;
15461
return (signed int)__Pyx_PyInt_AsSignedLong(x);
15464
static CYTHON_INLINE int __Pyx_PyInt_AsLongDouble(PyObject* x) {
15465
const int neg_one = (int)-1, const_zero = 0;
15466
const int is_unsigned = neg_one > const_zero;
15467
if (sizeof(int) < sizeof(long)) {
15468
long val = __Pyx_PyInt_AsLong(x);
15469
if (unlikely(val != (long)(int)val)) {
15470
if (!unlikely(val == -1 && PyErr_Occurred())) {
15471
PyErr_SetString(PyExc_OverflowError,
15472
(is_unsigned && unlikely(val < 0)) ?
15473
"can't convert negative value to int" :
15474
"value too large to convert to int");
15480
return (int)__Pyx_PyInt_AsLong(x);
15483
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
15484
#if CYTHON_USE_PYLONG_INTERNALS
15485
#include "longintrepr.h"
15488
static CYTHON_INLINE unsigned long __Pyx_PyInt_AsUnsignedLong(PyObject* x) {
15489
const unsigned long neg_one = (unsigned long)-1, const_zero = 0;
15490
const int is_unsigned = neg_one > const_zero;
15491
#if PY_MAJOR_VERSION < 3
15492
if (likely(PyInt_Check(x))) {
15493
long val = PyInt_AS_LONG(x);
15494
if (is_unsigned && unlikely(val < 0)) {
15495
PyErr_SetString(PyExc_OverflowError,
15496
"can't convert negative value to unsigned long");
15497
return (unsigned long)-1;
15499
return (unsigned long)val;
15502
if (likely(PyLong_Check(x))) {
15504
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
15505
#if CYTHON_USE_PYLONG_INTERNALS
15506
if (sizeof(digit) <= sizeof(unsigned long)) {
15507
switch (Py_SIZE(x)) {
15509
case 1: return (unsigned long) ((PyLongObject*)x)->ob_digit[0];
15514
if (unlikely(Py_SIZE(x) < 0)) {
15515
PyErr_SetString(PyExc_OverflowError,
15516
"can't convert negative value to unsigned long");
15517
return (unsigned long)-1;
15519
return (unsigned long)PyLong_AsUnsignedLong(x);
15521
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
15522
#if CYTHON_USE_PYLONG_INTERNALS
15523
if (sizeof(digit) <= sizeof(unsigned long)) {
15524
switch (Py_SIZE(x)) {
15526
case 1: return +(unsigned long) ((PyLongObject*)x)->ob_digit[0];
15527
case -1: return -(unsigned long) ((PyLongObject*)x)->ob_digit[0];
15532
return (unsigned long)PyLong_AsLong(x);
15536
PyObject *tmp = __Pyx_PyNumber_Int(x);
15537
if (!tmp) return (unsigned long)-1;
15538
val = __Pyx_PyInt_AsUnsignedLong(tmp);
15544
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
15545
#if CYTHON_USE_PYLONG_INTERNALS
15546
#include "longintrepr.h"
15549
static CYTHON_INLINE unsigned PY_LONG_LONG __Pyx_PyInt_AsUnsignedLongLong(PyObject* x) {
15550
const unsigned PY_LONG_LONG neg_one = (unsigned PY_LONG_LONG)-1, const_zero = 0;
15551
const int is_unsigned = neg_one > const_zero;
15552
#if PY_MAJOR_VERSION < 3
15553
if (likely(PyInt_Check(x))) {
15554
long val = PyInt_AS_LONG(x);
15555
if (is_unsigned && unlikely(val < 0)) {
15556
PyErr_SetString(PyExc_OverflowError,
15557
"can't convert negative value to unsigned PY_LONG_LONG");
15558
return (unsigned PY_LONG_LONG)-1;
15560
return (unsigned PY_LONG_LONG)val;
15563
if (likely(PyLong_Check(x))) {
15565
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
15566
#if CYTHON_USE_PYLONG_INTERNALS
15567
if (sizeof(digit) <= sizeof(unsigned PY_LONG_LONG)) {
15568
switch (Py_SIZE(x)) {
15570
case 1: return (unsigned PY_LONG_LONG) ((PyLongObject*)x)->ob_digit[0];
15575
if (unlikely(Py_SIZE(x) < 0)) {
15576
PyErr_SetString(PyExc_OverflowError,
15577
"can't convert negative value to unsigned PY_LONG_LONG");
15578
return (unsigned PY_LONG_LONG)-1;
15580
return (unsigned PY_LONG_LONG)PyLong_AsUnsignedLongLong(x);
15582
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
15583
#if CYTHON_USE_PYLONG_INTERNALS
15584
if (sizeof(digit) <= sizeof(unsigned PY_LONG_LONG)) {
15585
switch (Py_SIZE(x)) {
15587
case 1: return +(unsigned PY_LONG_LONG) ((PyLongObject*)x)->ob_digit[0];
15588
case -1: return -(unsigned PY_LONG_LONG) ((PyLongObject*)x)->ob_digit[0];
15593
return (unsigned PY_LONG_LONG)PyLong_AsLongLong(x);
15596
unsigned PY_LONG_LONG val;
15597
PyObject *tmp = __Pyx_PyNumber_Int(x);
15598
if (!tmp) return (unsigned PY_LONG_LONG)-1;
15599
val = __Pyx_PyInt_AsUnsignedLongLong(tmp);
15605
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
15606
#if CYTHON_USE_PYLONG_INTERNALS
15607
#include "longintrepr.h"
15610
static CYTHON_INLINE long __Pyx_PyInt_AsLong(PyObject* x) {
15611
const long neg_one = (long)-1, const_zero = 0;
15612
const int is_unsigned = neg_one > const_zero;
15613
#if PY_MAJOR_VERSION < 3
15614
if (likely(PyInt_Check(x))) {
15615
long val = PyInt_AS_LONG(x);
15616
if (is_unsigned && unlikely(val < 0)) {
15617
PyErr_SetString(PyExc_OverflowError,
15618
"can't convert negative value to long");
15624
if (likely(PyLong_Check(x))) {
15626
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
15627
#if CYTHON_USE_PYLONG_INTERNALS
15628
if (sizeof(digit) <= sizeof(long)) {
15629
switch (Py_SIZE(x)) {
15631
case 1: return (long) ((PyLongObject*)x)->ob_digit[0];
15636
if (unlikely(Py_SIZE(x) < 0)) {
15637
PyErr_SetString(PyExc_OverflowError,
15638
"can't convert negative value to long");
15641
return (long)PyLong_AsUnsignedLong(x);
15643
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
15644
#if CYTHON_USE_PYLONG_INTERNALS
15645
if (sizeof(digit) <= sizeof(long)) {
15646
switch (Py_SIZE(x)) {
15648
case 1: return +(long) ((PyLongObject*)x)->ob_digit[0];
15649
case -1: return -(long) ((PyLongObject*)x)->ob_digit[0];
15654
return (long)PyLong_AsLong(x);
15658
PyObject *tmp = __Pyx_PyNumber_Int(x);
15659
if (!tmp) return (long)-1;
15660
val = __Pyx_PyInt_AsLong(tmp);
15666
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
15667
#if CYTHON_USE_PYLONG_INTERNALS
15668
#include "longintrepr.h"
15671
static CYTHON_INLINE PY_LONG_LONG __Pyx_PyInt_AsLongLong(PyObject* x) {
15672
const PY_LONG_LONG neg_one = (PY_LONG_LONG)-1, const_zero = 0;
15673
const int is_unsigned = neg_one > const_zero;
15674
#if PY_MAJOR_VERSION < 3
15675
if (likely(PyInt_Check(x))) {
15676
long val = PyInt_AS_LONG(x);
15677
if (is_unsigned && unlikely(val < 0)) {
15678
PyErr_SetString(PyExc_OverflowError,
15679
"can't convert negative value to PY_LONG_LONG");
15680
return (PY_LONG_LONG)-1;
15682
return (PY_LONG_LONG)val;
15685
if (likely(PyLong_Check(x))) {
15687
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
15688
#if CYTHON_USE_PYLONG_INTERNALS
15689
if (sizeof(digit) <= sizeof(PY_LONG_LONG)) {
15690
switch (Py_SIZE(x)) {
15692
case 1: return (PY_LONG_LONG) ((PyLongObject*)x)->ob_digit[0];
15697
if (unlikely(Py_SIZE(x) < 0)) {
15698
PyErr_SetString(PyExc_OverflowError,
15699
"can't convert negative value to PY_LONG_LONG");
15700
return (PY_LONG_LONG)-1;
15702
return (PY_LONG_LONG)PyLong_AsUnsignedLongLong(x);
15704
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
15705
#if CYTHON_USE_PYLONG_INTERNALS
15706
if (sizeof(digit) <= sizeof(PY_LONG_LONG)) {
15707
switch (Py_SIZE(x)) {
15709
case 1: return +(PY_LONG_LONG) ((PyLongObject*)x)->ob_digit[0];
15710
case -1: return -(PY_LONG_LONG) ((PyLongObject*)x)->ob_digit[0];
15715
return (PY_LONG_LONG)PyLong_AsLongLong(x);
15719
PyObject *tmp = __Pyx_PyNumber_Int(x);
15720
if (!tmp) return (PY_LONG_LONG)-1;
15721
val = __Pyx_PyInt_AsLongLong(tmp);
15727
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
15728
#if CYTHON_USE_PYLONG_INTERNALS
15729
#include "longintrepr.h"
15732
static CYTHON_INLINE signed long __Pyx_PyInt_AsSignedLong(PyObject* x) {
15733
const signed long neg_one = (signed long)-1, const_zero = 0;
15734
const int is_unsigned = neg_one > const_zero;
15735
#if PY_MAJOR_VERSION < 3
15736
if (likely(PyInt_Check(x))) {
15737
long val = PyInt_AS_LONG(x);
15738
if (is_unsigned && unlikely(val < 0)) {
15739
PyErr_SetString(PyExc_OverflowError,
15740
"can't convert negative value to signed long");
15741
return (signed long)-1;
15743
return (signed long)val;
15746
if (likely(PyLong_Check(x))) {
15748
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
15749
#if CYTHON_USE_PYLONG_INTERNALS
15750
if (sizeof(digit) <= sizeof(signed long)) {
15751
switch (Py_SIZE(x)) {
15753
case 1: return (signed long) ((PyLongObject*)x)->ob_digit[0];
15758
if (unlikely(Py_SIZE(x) < 0)) {
15759
PyErr_SetString(PyExc_OverflowError,
15760
"can't convert negative value to signed long");
15761
return (signed long)-1;
15763
return (signed long)PyLong_AsUnsignedLong(x);
15765
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
15766
#if CYTHON_USE_PYLONG_INTERNALS
15767
if (sizeof(digit) <= sizeof(signed long)) {
15768
switch (Py_SIZE(x)) {
15770
case 1: return +(signed long) ((PyLongObject*)x)->ob_digit[0];
15771
case -1: return -(signed long) ((PyLongObject*)x)->ob_digit[0];
15776
return (signed long)PyLong_AsLong(x);
15780
PyObject *tmp = __Pyx_PyNumber_Int(x);
15781
if (!tmp) return (signed long)-1;
15782
val = __Pyx_PyInt_AsSignedLong(tmp);
15788
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
15789
#if CYTHON_USE_PYLONG_INTERNALS
15790
#include "longintrepr.h"
15793
static CYTHON_INLINE signed PY_LONG_LONG __Pyx_PyInt_AsSignedLongLong(PyObject* x) {
15794
const signed PY_LONG_LONG neg_one = (signed PY_LONG_LONG)-1, const_zero = 0;
15795
const int is_unsigned = neg_one > const_zero;
15796
#if PY_MAJOR_VERSION < 3
15797
if (likely(PyInt_Check(x))) {
15798
long val = PyInt_AS_LONG(x);
15799
if (is_unsigned && unlikely(val < 0)) {
15800
PyErr_SetString(PyExc_OverflowError,
15801
"can't convert negative value to signed PY_LONG_LONG");
15802
return (signed PY_LONG_LONG)-1;
15804
return (signed PY_LONG_LONG)val;
15807
if (likely(PyLong_Check(x))) {
15809
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
15810
#if CYTHON_USE_PYLONG_INTERNALS
15811
if (sizeof(digit) <= sizeof(signed PY_LONG_LONG)) {
15812
switch (Py_SIZE(x)) {
15814
case 1: return (signed PY_LONG_LONG) ((PyLongObject*)x)->ob_digit[0];
15819
if (unlikely(Py_SIZE(x) < 0)) {
15820
PyErr_SetString(PyExc_OverflowError,
15821
"can't convert negative value to signed PY_LONG_LONG");
15822
return (signed PY_LONG_LONG)-1;
15824
return (signed PY_LONG_LONG)PyLong_AsUnsignedLongLong(x);
15826
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
15827
#if CYTHON_USE_PYLONG_INTERNALS
15828
if (sizeof(digit) <= sizeof(signed PY_LONG_LONG)) {
15829
switch (Py_SIZE(x)) {
15831
case 1: return +(signed PY_LONG_LONG) ((PyLongObject*)x)->ob_digit[0];
15832
case -1: return -(signed PY_LONG_LONG) ((PyLongObject*)x)->ob_digit[0];
15837
return (signed PY_LONG_LONG)PyLong_AsLongLong(x);
15840
signed PY_LONG_LONG val;
15841
PyObject *tmp = __Pyx_PyNumber_Int(x);
15842
if (!tmp) return (signed PY_LONG_LONG)-1;
15843
val = __Pyx_PyInt_AsSignedLongLong(tmp);
15849
14686
static int __Pyx_check_binary_version(void) {
15850
14687
char ctversion[4], rtversion[4];
15851
14688
PyOS_snprintf(ctversion, 4, "%d.%d", PY_MAJOR_VERSION, PY_MINOR_VERSION);