mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
*** empty log message ***
This commit is contained in:
parent
026ae7d046
commit
8325c3b5da
@ -33,7 +33,7 @@ using namespace std;
|
||||
|
||||
namespace Cantera {
|
||||
|
||||
int _equilflag(char* xy) {
|
||||
int _equilflag(const char* xy) {
|
||||
string flag = string(xy);
|
||||
if (flag == "TP") return TP;
|
||||
else if (flag == "TV") return TV;
|
||||
|
@ -32,7 +32,7 @@ using namespace std;
|
||||
|
||||
namespace Cantera {
|
||||
|
||||
int _equilflag(char* xy);
|
||||
int _equilflag(const char* xy);
|
||||
|
||||
/**
|
||||
* Chemical equilibrium options. Used internally by class ChemEquil.
|
||||
@ -163,7 +163,7 @@ namespace Cantera {
|
||||
* determines the two properties that will be held fixed in the
|
||||
* calculation.
|
||||
*/
|
||||
inline void equilibrate(thermo_t& s, char* XY) {
|
||||
inline void equilibrate(thermo_t& s, const char* XY) {
|
||||
ChemEquil e;
|
||||
e.equilibrate(s,_equilflag(XY));
|
||||
}
|
||||
|
@ -57,8 +57,8 @@ tools-install:
|
||||
cd tools; @MAKE@ install
|
||||
|
||||
hdr-install:
|
||||
@INSTALL@ -d @prefix@/include/cantera
|
||||
cp -r -f build/include/cantera @prefix@/include/cantera
|
||||
@INSTALL@ -d @prefix@/include
|
||||
cp -r -f build/include/cantera @prefix@/include
|
||||
|
||||
hdr-collect:
|
||||
@INSTALL@ -d build/include/cantera
|
||||
|
Loading…
Reference in New Issue
Block a user