tblite
Light-weight tight-binding framework
Toggle main menu visibility
Loading...
Searching...
No Matches
include
tblite
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
26
27
#pragma once
28
29
#include "
tblite/macros.h
"
30
#include "
tblite/error.h
"
31
#include "
tblite/table.h
"
32
34
typedef
struct
_tblite_param*
tblite_param
;
35
39
TBLITE_API_ENTRY
tblite_param
TBLITE_API_CALL
40
tblite_new_param
(
void
);
41
45
TBLITE_API_ENTRY
void
TBLITE_API_CALL
46
tblite_delete_param
(
tblite_param
* param);
47
53
TBLITE_API_ENTRY
void
TBLITE_API_CALL
54
tblite_load_param
(
tblite_error
error,
55
tblite_param
param,
56
tblite_table
table);
57
63
TBLITE_API_ENTRY
void
TBLITE_API_CALL
64
tblite_dump_param
(
tblite_error
error,
65
tblite_param
param,
66
tblite_table
table);
67
72
TBLITE_API_ENTRY
void
TBLITE_API_CALL
73
tblite_export_gfn2_param
(
tblite_error
error,
74
tblite_param
param);
75
80
TBLITE_API_ENTRY
void
TBLITE_API_CALL
81
tblite_export_gfn1_param
(
tblite_error
error,
82
tblite_param
param);
83
88
TBLITE_API_ENTRY
void
TBLITE_API_CALL
89
tblite_export_ipea1_param
(
tblite_error
error,
90
tblite_param
param);
error.h
Provides a light-weight error handler for communicating with the library.
tblite_error
struct _tblite_error * tblite_error
Error instance.
Definition
error.h:35
macros.h
General macro definitions for the tblite C API bindings.
TBLITE_API_ENTRY
#define TBLITE_API_ENTRY
Definition
macros.h:49
TBLITE_API_CALL
#define TBLITE_API_CALL
Definition
macros.h:57
tblite_param
Defininition of the parametrization data format.
Definition
param.f90:25
tblite_new_param
TBLITE_API_ENTRY tblite_param TBLITE_API_CALL tblite_new_param(void)
tblite_export_gfn1_param
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_export_gfn1_param(tblite_error error, tblite_param param)
tblite_load_param
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_load_param(tblite_error error, tblite_param param, tblite_table table)
tblite_export_ipea1_param
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_export_ipea1_param(tblite_error error, tblite_param param)
tblite_dump_param
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_dump_param(tblite_error error, tblite_param param, tblite_table table)
tblite_delete_param
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_delete_param(tblite_param *param)
tblite_export_gfn2_param
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_export_gfn2_param(tblite_error error, tblite_param param)
table.h
Provides a representation of a generic table data structure.
tblite_table
struct _tblite_table * tblite_table
Definition
table.h:36
Generated by
1.17.0