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