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