📄 thermo_types.h
字号:
//---------------------------------------------------------------------------
// Project: FlowLive
// Module: thermo
/*!\file thermo_types.h
\brief type definitions for the thermodynamic library
\version 0.0.2.0
\date Created: 2005-01-21
\date Last modified: 2005-01-21
\author <a href="mailto:xtobias@gmx.net">Tobias Severin, xtobias@gmx.net</a>
*/
//---------------------------------------------------------------------------
#ifndef THERMO_TYPES_H
#define THERMO_TYPES_H
//---------------------------------------------------------------------------
//#include <string>
#include <thermo/thermo.h>
//---------------------------------------------------------------------------
THERMO_BEGIN
//! A struct for NASA-Lewis coefficients
typedef struct
{
double A,B,C,D,E,F,G,H;
} t_nlc;
//---------------------------------------------------------------------------
//! A struct for transport coefficient data
/*!
// columns:
// 1. name
// 2. Molecule Type - 0: single atom, 1: linear molecule, 2. nonlinear molecule
// 3. Lennard-Jones potential well depth e/kb [K]
// 4. Lennard-Jones collision diameter sigma [耛
// 5. dipole moment [Debye] = [1.0E-18 cm^(3/2) erg^(1/2)
// 6. polarizability alpha [鲁]
// 7. rotational relaxation collision number Zrot at 298K
// 8. comment
*/
typedef struct
{
// std::string Name;
int MoleculeType;
double LennardJonesPotentialWellDepth;
double LennardJonesCollisionDiameter;
double DipoleMoment;
double Polarizability;
double RotationalRelaxationCollisionNumber;
} t_trans;
// molecule types
static const int mtSingleAtom = 0;
static const int mtLinear = 1;
static const int mtNonLinear = 2;
//---------------------------------------------------------------------------
THERMO_END
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -