23 std::unique_lock<std::mutex> lock(id_mutex);
int getId()
Get a unique id for a cached value.
std::map< int, CachedValue< double > > m_scalarCache
Cached scalar values.
std::map< int, CachedValue< vector_fp > > m_arrayCache
Cached array values.
void clear()
Clear all cached values.
static int m_last_id
The last assigned id. Automatically incremented by the getId() method.
Namespace for the Cantera kernel.