h5b_model.h 2.22 KB
Newer Older
1
/*
gsell's avatar
gsell committed
2
  Copyright (c) 2006-2016, The Regents of the University of California,
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
  through Lawrence Berkeley National Laboratory (subject to receipt of any
  required approvals from the U.S. Dept. of Energy) and the Paul Scherrer
  Institut (Switzerland).  All rights reserved.

  License: see file COPYING in top level of source distribution.
*/

#ifndef __H5CORE_H5B_MODEL_H
#define __H5CORE_H5B_MODEL_H

#include "h5core/h5_types.h"

#ifdef __cplusplus
extern "C" {
#endif

h5_err_t
h5b_has_field_data (
        const h5_file_t);

gsell's avatar
gsell committed
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
h5_ssize_t
h5b_get_num_fields (
	const h5_file_t);

h5_err_t
h5b_get_field_info (
	const h5_file_t,
	const h5_size_t,
	char* const, const h5_size_t,
	h5_size_t* const, h5_size_t* const, h5_size_t* const, h5_int64_t* const);

h5_err_t
h5b_has_field (
	const h5_file_t,
	const char*);

h5_err_t
h5b_get_field_info_by_name (
	const h5_file_t,
	const char* name,
	h5_size_t* const, h5_size_t* const, h5_size_t* const, h5_int64_t* const);

45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
h5_int64_t
h5b_3d_has_view (
        const h5_file_t f);

h5_err_t
h5b_3d_set_view (
        const h5_file_t,
        const h5_size_t, const h5_size_t,
        const h5_size_t, const h5_size_t,
        const h5_size_t, const h5_size_t);

h5_err_t
h5b_3d_get_view (
        const h5_file_t,
        h5_size_t* const, h5_size_t* const,
        h5_size_t* const, h5_size_t* const,
        h5_size_t* const, h5_size_t* const);

h5_err_t
h5b_3d_get_reduced_view (
        const h5_file_t,
        h5_size_t* const, h5_size_t* const,
        h5_size_t* const, h5_size_t* const,
        h5_size_t* const, h5_size_t* const);

h5_err_t
h5b_3d_set_chunk (
        const h5_file_t,
        const h5_size_t, const h5_size_t, const h5_size_t k);

h5_err_t
h5b_3d_get_chunk (
	const h5_file_t,
	const char*,
	h5_size_t* const, h5_size_t* const, h5_size_t* const);

h5_err_t
h5b_3d_set_grid (
	const h5_file_t,
	const h5_size_t, const h5_size_t, const h5_size_t);

h5_err_t
h5b_3d_get_grid_coords (
	const h5_file_t,
	const int,
	h5_int64_t* const, h5_int64_t* const, h5_int64_t* const);

h5_err_t
h5b_3d_set_dims (
	const h5_file_t,
	const h5_size_t, const h5_size_t, const h5_size_t);

h5_err_t
h5b_3d_set_halo (
	const h5_file_t, const h5_size_t, const h5_size_t, const h5_size_t);

#ifdef __cplusplus
}
#endif

#endif