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 = 1
 Total number of processors used. More...
 
processor_id_type _processor_id = 0
 The local processor id. More...
 
int _n_threads = 1
 Total number of threads possible. More...
 
bool _is_initialized = false
 Flag that tells if init() has been called. More...
 
SolverPackage _solver_package
 The default solver package to use. 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

bool libMesh::libMeshPrivateData::_is_initialized = false
processor_id_type libMesh::libMeshPrivateData::_n_processors = 1

Total number of processors used.

Definition at line 251 of file libmesh.C.

Referenced by libMesh::global_n_processors(), and libMesh::LibMeshInit::LibMeshInit().

int libMesh::libMeshPrivateData::_n_threads = 1

Total number of threads possible.

Definition at line 254 of file libmesh.C.

Referenced by libMesh::n_threads().

processor_id_type libMesh::libMeshPrivateData::_processor_id = 0

The local processor id.

Definition at line 252 of file libmesh.C.

Referenced by libMesh::global_processor_id(), and libMesh::LibMeshInit::LibMeshInit().

SolverPackage libMesh::libMeshPrivateData::_solver_package
Initial value:
=
#if defined(LIBMESH_HAVE_PETSC)
PETSC_SOLVERS

The default solver package to use.

Definition at line 256 of file libmesh.C.

Referenced by libMesh::default_solver_package(), and libMesh_MPI_Handler().