tblite
Light-weight tight-binding framework
Loading...
Searching...
No Matches
double_dictionary.h
Go to the documentation of this file.
1/* This file is part of tblite.
2 * SPDX-Identifier: LGPL-3.0-or-later
3 *
4 * tblite is free software: you can redistribute it and/or modify it under
5 * the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * tblite is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with tblite. If not, see <https://www.gnu.org/licenses/>.
16**/
17
25#pragma once
26#include "tblite/macros.h"
27
28// Double Dictionary Container
29typedef struct _tblite_double_dictionary* tblite_double_dictionary;
30
37 tblite_double_dictionary dict);
38
47 tblite_double_dictionary dict,
48 const int* index,
49 double* array);
50
61 tblite_double_dictionary dict,
62 const int* index,
63 int* dim1,
64 int* dim2,
65 int* dim3);
66
75 tblite_double_dictionary dict,
76 char* label,
77 double* array);
78
89 tblite_double_dictionary dict,
90 char* label,
91 int* dim1,
92 int* dim2,
93 int* dim3);
94
103 tblite_double_dictionary dict,
104 const int* index,
105 char* label,
106 const int* buffersize);
107
112tblite_delete_double_dictionary(tblite_double_dictionary* dict);
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_delete_double_dictionary(tblite_double_dictionary *dict)
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_get_array_entry_index(tblite_error error, tblite_double_dictionary dict, const int *index, double *array)
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_get_array_size_index(tblite_error error, tblite_double_dictionary dict, const int *index, int *dim1, int *dim2, int *dim3)
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_get_label_entry_index(tblite_error error, tblite_double_dictionary dict, const int *index, char *label, const int *buffersize)
TBLITE_API_ENTRY int TBLITE_API_CALL tblite_get_n_entries_dict(tblite_error error, tblite_double_dictionary dict)
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_get_array_size_label(tblite_error error, tblite_double_dictionary dict, char *label, int *dim1, int *dim2, int *dim3)
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_get_array_entry_label(tblite_error error, tblite_double_dictionary dict, char *label, double *array)
struct _tblite_error * tblite_error
Error instance.
Definition error.h:35
General macro definitions for the tblite C API bindings.
#define TBLITE_API_ENTRY
Definition macros.h:49
#define TBLITE_API_CALL
Definition macros.h:57