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

◆ _is_initialized

bool libMesh::libMeshPrivateData::_is_initialized = false

Flag that tells if init() has been called.

Definition at line 239 of file libmesh.C.

Referenced by libMesh::LinearSolver< Number >::attach_preconditioner(), libMesh::NonlinearSolver< Number >::attach_preconditioner(), libMesh::EigenSparseLinearSolver< T >::clear(), libMesh::LaspackLinearSolver< T >::clear(), libMesh::AztecLinearSolver< T >::clear(), libMesh::SlepcEigenSolver< T >::clear(), libMesh::TaoOptimizationSolver< T >::clear(), libMesh::NloptOptimizationSolver< T >::clear(), libMesh::EigenSparseMatrix< T >::clear(), libMesh::LaspackMatrix< T >::clear(), libMesh::DistributedVector< T >::clear(), libMesh::EigenSparseVector< T >::clear(), libMesh::LaspackVector< T >::clear(), libMesh::PetscNonlinearSolver< Number >::clear(), libMesh::PetscLinearSolver< T >::clear(), libMesh::EpetraMatrix< T >::clear(), libMesh::EpetraVector< T >::clear(), libMesh::PetscVector< T >::clear(), libMesh::PetscMatrix< T >::clear(), libMesh::NumericVector< Number >::clear(), libMesh::closed(), libMesh::EigenSparseLinearSolver< T >::init(), libMesh::LaspackLinearSolver< T >::init(), libMesh::AztecLinearSolver< T >::init(), libMesh::SlepcEigenSolver< T >::init(), libMesh::PetscPreconditioner< T >::init(), libMesh::TaoOptimizationSolver< T >::init(), libMesh::TrilinosPreconditioner< T >::init(), libMesh::EigenSparseMatrix< T >::init(), libMesh::NloptOptimizationSolver< T >::init(), libMesh::LaspackMatrix< T >::init(), libMesh::PetscMatrix< T >::init(), libMesh::DistributedVector< T >::init(), libMesh::PetscNonlinearSolver< Number >::init(), libMesh::EigenSparseVector< T >::init(), libMesh::EpetraMatrix< T >::init(), libMesh::PetscLinearSolver< T >::init(), libMesh::EpetraVector< T >::init(), libMesh::PetscVector< T >::init(), libMesh::initialized(), libMesh::LibMeshInit::LibMeshInit(), libMesh::Parallel::TypeVectorOpFunction< Point >::max(), libMesh::Parallel::TypeVectorOpFunction< Point >::min(), libMesh::DistributedVector< T >::operator=(), libMesh::Preconditioner< Number >::set_matrix(), libMesh::Preconditioner< Number >::set_type(), libMesh::Parallel::TypeVectorOpFunction< Point >::sum(), libMesh::EigenSparseVector< T >::swap(), and libMesh::NumericVector< Number >::swap().

◆ _n_processors

processor_id_type libMesh::libMeshPrivateData::_n_processors = 1

Total number of processors used.

Definition at line 235 of file libmesh.C.

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

◆ _n_threads

int libMesh::libMeshPrivateData::_n_threads = 1

Total number of threads possible.

Definition at line 238 of file libmesh.C.

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

◆ _processor_id

processor_id_type libMesh::libMeshPrivateData::_processor_id = 0

The local processor id.

Definition at line 236 of file libmesh.C.

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

◆ _solver_package

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

The default solver package to use.

Definition at line 240 of file libmesh.C.

Referenced by libMesh::default_solver_package().