Page MenuHomec4science

common_def.hpp
No OneTemporary

File Metadata

Created
Fri, Dec 27, 06:13

common_def.hpp

/*-------------------------------------------------------
- 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