libMesh::libMeshPrivateData Namespace Reference

Variables

bool _is_initialized = false
 
SolverPackage _solver_package
 
processor_id_type _n_processors = 1
 
processor_id_type _processor_id = 0
 
int _n_threads = 1
 

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

Flag that tells if init() has been called.

Definition at line 253 of file libmesh.C.

Referenced by libMesh::LinearSolver< T >::attach_preconditioner(), libMesh::NonlinearSolver< T >::attach_preconditioner(), libMesh::AztecLinearSolver< T >::clear(), libMesh::LaspackLinearSolver< T >::clear(), libMesh::SlepcEigenSolver< T >::clear(), libMesh::PetscLinearSolver< T >::clear(), libMesh::EpetraMatrix< T >::clear(), libMesh::PetscMatrix< T >::clear(), libMesh::closed(), libMesh::EpetraMatrix< T >::get_transpose(), libMesh::AztecLinearSolver< T >::init(), libMesh::LaspackLinearSolver< T >::init(), libMesh::SlepcEigenSolver< T >::init(), libMesh::PetscPreconditioner< T >::init(), libMesh::TrilinosPreconditioner< T >::init(), libMesh::PetscLinearSolver< T >::init(), libMesh::EigenSparseMatrix< T >::init(), libMesh::LaspackMatrix< T >::init(), libMesh::PetscMatrix< T >::init(), libMesh::EpetraMatrix< T >::init(), libMesh::SparseMatrix< Number >::initialized(), libMesh::initialized(), libMesh::LibMeshInit::LibMeshInit(), libMesh::DistributedVector< T >::operator=(), libMesh::Parallel::StandardType< Hilbert::HilbertIndices >::StandardType(), libMesh::Parallel::StandardType< TypeVector< T > >::StandardType(), libMesh::Parallel::StandardType< VectorValue< T > >::StandardType(), libMesh::Parallel::StandardType< std::pair< T1, T2 > >::StandardType(), libMesh::Parallel::StandardType< Point >::StandardType(), libMesh::LaspackMatrix< T >::update_sparsity_pattern(), and libMesh::EpetraMatrix< T >::update_sparsity_pattern().

processor_id_type libMesh::libMeshPrivateData::_n_processors = 1

Total number of processors used.

Definition at line 249 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 252 of file libmesh.C.

Referenced by libMesh::n_threads().

processor_id_type libMesh::libMeshPrivateData::_processor_id = 0

The local processor id.

Definition at line 250 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 254 of file libmesh.C.

Referenced by libMesh::default_solver_package().