Cantera
3.2.0a5
Install
User Guide
Examples
Reference
Develop
Community
Loading...
Searching...
No Matches
ctsurf.h
Go to the documentation of this file.
1
/**
2
* @file ctsurf.h
3
*
4
* @deprecated Deprecated in %Cantera 3.2 and to be removed thereafter.
5
* The legacy CLib is superseded by the generated CLib.
6
*/
7
8
// This file is part of Cantera. See License.txt in the top-level directory or
9
// at https://cantera.org/license.txt for license and copyright information.
10
11
#ifndef CTC_SURF_H
12
#define CTC_SURF_H
13
14
#pragma message("warning: The legacy CLib library ctsurf.h is deprecated and "
\
15
"will be removed after Cantera 3.2. Use generated CLib instead.")
16
17
#include "
clib_defs.h
"
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
23
CANTERA_CAPI
int
surf_setCoverages(
int
i,
const
double
* c,
int
norm);
24
CANTERA_CAPI
int
surf_getCoverages(
int
i,
double
* c);
25
CANTERA_CAPI
int
surf_setConcentrations(
int
i,
const
double
* c);
26
CANTERA_CAPI
int
surf_getConcentrations(
int
i,
double
* c);
27
CANTERA_CAPI
int
surf_setSiteDensity(
int
i,
double
s0);
28
CANTERA_CAPI
double
surf_siteDensity(
int
i);
29
CANTERA_CAPI
int
surf_setCoveragesByName(
int
i,
const
char
* c);
30
31
#ifdef __cplusplus
32
}
33
#endif
34
35
#endif
clib_defs.h
include
cantera
clib
ctsurf.h
Generated by
1.9.7