tblite
Light-weight tight-binding framework
Loading...
Searching...
No Matches
param.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
27#pragma once
28
29#include "tblite/macros.h"
30#include "tblite/error.h"
31#include "tblite/table.h"
32
34typedef struct _tblite_param* tblite_param;
35
41
47
55 tblite_param param,
56 tblite_table table);
57
65 tblite_param param,
66 tblite_table table);
67
74 tblite_param param);
75
82 tblite_param param);
83
90 tblite_param param);
Provides a light-weight error handler for communicating with the library.
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
Defininition of the parametrization data format.
Definition param.f90:25
TBLITE_API_ENTRY tblite_param TBLITE_API_CALL tblite_new_param(void)
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_export_gfn1_param(tblite_error error, tblite_param param)
struct _tblite_param * tblite_param
Parametrization records.
Definition param.h:34
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_load_param(tblite_error error, tblite_param param, tblite_table table)
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_export_ipea1_param(tblite_error error, tblite_param param)
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_dump_param(tblite_error error, tblite_param param, tblite_table table)
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_delete_param(tblite_param *param)
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_export_gfn2_param(tblite_error error, tblite_param param)
Provides a representation of a generic table data structure.
struct _tblite_table * tblite_table
Definition table.h:36