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

◆ _is_initialized

bool libMesh::libMeshPrivateData::_is_initialized = false

Flag that tells if init() has been called.

Definition at line 247 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< libMesh::Number >::clear(), libMesh::PetscShellMatrix< T >::clear(), libMesh::TaoOptimizationSolver< T >::clear(), libMesh::NloptOptimizationSolver< T >::clear(), libMesh::EigenSparseMatrix< T >::clear(), libMesh::PetscNonlinearSolver< Number >::clear(), libMesh::LaspackMatrix< T >::clear(), libMesh::DistributedVector< T >::clear(), libMesh::LaspackVector< T >::clear(), libMesh::PetscLinearSolver< Number >::clear(), libMesh::EigenSparseVector< T >::clear(), libMesh::EpetraMatrix< T >::clear(), libMesh::EpetraVector< T >::clear(), libMesh::PetscVector< libMesh::Number >::clear(), libMesh::NumericVector< Number >::clear(), libMesh::PetscMatrix< libMesh::Number >::clear(), libMesh::closed(), libMesh::PetscNonlinearSolver< Number >::force_new_preconditioner(), libMesh::EigenSparseLinearSolver< T >::init(), libMesh::PetscPreconditioner< T >::init(), libMesh::LaspackLinearSolver< T >::init(), libMesh::AztecLinearSolver< T >::init(), libMesh::SlepcEigenSolver< libMesh::Number >::init(), libMesh::TrilinosPreconditioner< T >::init(), libMesh::PetscShellMatrix< T >::init(), libMesh::TaoOptimizationSolver< T >::init(), libMesh::EigenSparseMatrix< T >::init(), libMesh::LaspackMatrix< T >::init(), libMesh::NloptOptimizationSolver< T >::init(), libMesh::PetscNonlinearSolver< Number >::init(), libMesh::EpetraMatrix< T >::init(), libMesh::DistributedVector< T >::init(), libMesh::PetscLinearSolver< Number >::init(), libMesh::EigenSparseVector< T >::init(), libMesh::PetscMatrix< libMesh::Number >::init(), libMesh::EpetraVector< T >::init(), libMesh::PetscVector< libMesh::Number >::init(), libMesh::PetscShellMatrix< T >::initialized(), libMesh::initialized(), TIMPI::OpFunction< libMesh::FEType >::max(), libMesh::TypeVectorOpFunction< libMesh::VectorValue< T > >::max(), TIMPI::OpFunction< libMesh::FEType >::min(), libMesh::TypeVectorOpFunction< libMesh::VectorValue< T > >::min(), libMesh::DistributedVector< T >::operator=(), libMesh::PetscMatrix< libMesh::Number >::PetscMatrix(), libMesh::PetscVector< libMesh::Number >::PetscVector(), libMesh::Preconditioner< Number >::set_matrix(), libMesh::Preconditioner< Number >::set_type(), libMesh::TypeVectorOpFunction< libMesh::VectorValue< T > >::sum(), libMesh::DistributedVector< T >::swap(), libMesh::EigenSparseVector< T >::swap(), libMesh::NumericVector< Number >::swap(), and libMesh::LibMeshInit::~LibMeshInit().

◆ _n_processors

processor_id_type libMesh::libMeshPrivateData::_n_processors = 1

Total number of processors used.

Definition at line 243 of file libmesh.C.

Referenced by libMesh::global_n_processors().

◆ _n_threads

int libMesh::libMeshPrivateData::_n_threads = 1

Total number of threads possible.

Definition at line 246 of file libmesh.C.

Referenced by libMesh::n_threads().

◆ _processor_id

processor_id_type libMesh::libMeshPrivateData::_processor_id = 0

The local processor id.

Definition at line 244 of file libmesh.C.

Referenced by libMesh::global_processor_id().

◆ _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 248 of file libmesh.C.

Referenced by libMesh::default_solver_package().