libMesh
Variables
libMesh::libMeshPrivateData Namespace Reference

Namespaces don't provide private data, so let's take the data we would like private and put it in an obnoxious namespace. More...

Variables

processor_id_type _n_processors
 Total number of processors used. More...
 
processor_id_type _processor_id
 The local processor id. More...
 
int _n_threads
 Total number of threads possible. More...
 

Detailed Description

Namespaces don't provide private data, so let's take the data we would like private and put it in an obnoxious namespace.

At least that way it is a pain to use, thus discouraging errors.

Variable Documentation

◆ _n_processors

processor_id_type libMesh::libMeshPrivateData::_n_processors

Total number of processors used.

Referenced by libMesh::global_n_processors().

◆ _n_threads

int libMesh::libMeshPrivateData::_n_threads

Total number of threads possible.

Referenced by libMesh::n_threads().

◆ _processor_id

processor_id_type libMesh::libMeshPrivateData::_processor_id

The local processor id.

Referenced by libMesh::global_processor_id().