Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96491272
common_def.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Dec 27, 06:13
Size
1 KB
Mime Type
text/x-c
Expires
Sun, Dec 29, 06:13 (1 d, 7 h)
Engine
blob
Format
Raw Data
Handle
23193588
Attached To
rSPECMICP SpecMiCP / ReactMiCP
common_def.hpp
View Options
/*-------------------------------------------------------
- Module : database
- File : common_def.hpp
- Author : Fabien Georget
Copyright (c) 2014, Fabien Georget, Princeton University
---------------------------------------------------------*/
#ifndef SPECMICP_DATABASE_COMMONDEF_HPP
#define SPECMICP_DATABASE_COMMONDEF_HPP
#include <vector>
#include <Eigen/Core>
//! \file common_def.hpp common type definitions
namespace
specmicp
{
namespace
database
{
//! ID of a species
using
id_species_t
=
unsigned
int
;
//! Vector containing a list of species (by ID)
using
list_species_t
=
std
::
vector
<
id_species_t
>
;
//! Vector containing each strings
using
vector_labels_t
=
std
::
vector
<
std
::
string
>
;
//! Stoechiometric coefficients for the reactions
using
reaction_mat_t
=
Eigen
::
Matrix
<
double
,
Eigen
::
Dynamic
,
Eigen
::
Dynamic
>
;
//! Vector containing logK values
using
logK_vector_t
=
Eigen
::
Matrix
<
double
,
Eigen
::
Dynamic
,
1
>
;
}
// end namespace database
}
// end namespace specmicp
#endif
// SPECMICP_DATABASE_COMMONDEF_HPP
Event Timeline
Log In to Comment