Cantera  3.0.0
Loading...
Searching...
No Matches
eigen_sparse.h
1// This file is part of Cantera. See License.txt in the top-level directory or
2// at https://cantera.org/license.txt for license and copyright information.
3
4#ifndef CT_EIGEN_SPARSE_H
5#define CT_EIGEN_SPARSE_H
6
7#include "cantera/base/config.h"
8#if CT_USE_SYSTEM_EIGEN
9 #if CT_USE_SYSTEM_EIGEN_PREFIXED
10 #include <eigen3/Eigen/Sparse>
11 #else
12 #include <Eigen/Sparse>
13 #endif
14#else
15#include "cantera/ext/Eigen/Sparse"
16#endif
17
18namespace Cantera
19{
20//! @ingroup matrices
21typedef std::vector<Eigen::Triplet<double>> SparseTriplets;
22}
23
24#endif
Namespace for the Cantera kernel.
Definition AnyMap.cpp:564