home | help
sc::ExEnv(3)		    Library Functions Manual		    sc::ExEnv(3)

NAME
     sc::ExEnv	-  The	ExEnv class is used to find out about how the program is
     being run.

SYNOPSIS
     #include <exenv.h>

   Static Public Member Functions
     static void init (int &argcref, char **&argvref)
	 Set the argument count and vector.
     static int initialized ()
	 Return nonzero if ExEnv has been initialized.
     static int & argc ()
	 Return an reference to the argument count.
     static char **& argv ()
	 Return an reference to the argument vector.
     static const char * program_name ()
	 Return argv[0] with the path removed.
     static const char * hostname ()
	 Return the host name.
     static const char * username ()
	 Return the user name.
     static void set_out (std::ostream *o)
     static std::ostream & outn ()
	 Return an ostream that writes from all nodes.
     static std::ostream & errn ()
	 Return an ostream for error messages that writes from all nodes.
     static std::ostream & out0 ()
	 Return an ostream that writes from node 0.
     static std::ostream & err0 ()
	 Return an ostream for error messages that writes from node 0.
     static size_t memory ()
	 The amount of memory on this node.
     static int nproc ()
	 The number of processors on this node.

   Static Protected Attributes
     static int initialized_
     static int * argc_
     static char *** argv_
     static char hostname_ [256]
     static char username_ [9]
     static size_t mem_
     static int nproc_
     static std::ostream * out_
     static std::ostream * nullstream_

Detailed Description
     The ExEnv class is used to find out about how the program is being run.

Member Function Documentation
   std::ostream & sc::ExEnv::err0 () [inline],	[static]
     Return an ostream for error messages that writes from node 0.

     References out0().

     Referenced by sc::AggregateKeyVal::dump(), sc::KeyVal::dump(),  sc::Parsed-
     KeyVal::dump(), sc::PrefixKeyVal::dump(), sc::StringKeyVal::dump(), sc::Ag-
     gregateKeyVal::errortrace(),    sc::KeyVal::errortrace(),	  sc::ParsedKey-
     Val::errortrace(),   sc::PrefixKeyVal::errortrace(),   and   sc::StringKey-
     Val::errortrace().

   std::ostream & sc::ExEnv::errn () [inline],	[static]
     Return an ostream for error messages that writes from all nodes.

     References outn().

   std::ostream & sc::ExEnv::out0 () [static]
     Return an ostream that writes from node 0.

     Referenced    by	sc::RefSymmSCMatrix::accumulate_transform(),   sc::Mole-
     cule::cleanup_molecule(),	  sc::RefDiagSCMatrix::clone(),     sc::RefSCMa-
     trix::clone(),    sc::BlockedDiagSCMatrix::element_op(),	sc::BlockedSCMa-
     trix::element_op(), sc::BlockedSCVector::element_op(), sc::BlockedSymmSCMa-
     trix::element_op(), sc::DistSCMatrix::element_op(),  sc::DistSCVector::ele-
     ment_op(),   sc::LocalDiagSCMatrix::element_op(),	 sc::LocalSCMatrix::ele-
     ment_op(),   sc::LocalSCVector::element_op(),   sc::LocalSymmSCMatrix::ele-
     ment_op(),    sc::ReplDiagSCMatrix::element_op(),	  sc::ReplSCMatrix::ele-
     ment_op(),    sc::ReplSCVector::element_op(),    sc::ReplSymmSCMatrix::ele-
     ment_op(),   err0(),  sc::StateIn::list_objects(),  sc::TwoBodyMOIntsTrans-
     form::memory_report(),	   sc::TwoBodyMOIntsTransform::mospace_report(),
     sc::RefSCDimension::operator     int(),	sc::ActiveMsgMemoryGrp::print(),
     sc::Appearance::print(),  sc::ARMCIMemoryGrp::print(),   sc::CartMolecular-
     Coor::print(),	   sc::CharacterTable::print(),       sc::CLHF::print(),
     sc::CLKS::print(),      sc::CLSCF::print(),      sc::DiagSCMatrix::print(),
     sc::DIIS::print(),  sc::EulerMaclaurinRadialIntegrator::print(),  sc::File-
     Grp::print(),     sc::Function::print(),	  sc::GaussianBasisSet::print(),
     sc::GaussianShell::print(),    sc::GaussLegendreAngularIntegrator::print(),
     sc::HSOSHF::print(),  sc::HSOSKS::print(),  sc::HSOSSCF::print(),	sc::Int-
     Coor::print(),    sc::IntCoorGen::print(),   sc::IntMolecularCoor::print(),
     sc::IrreducibleRepresentation::print(),	       sc::LebedevLaikovIntegra-
     tor::print(),	     sc::Material::print(),	     sc::MBPT2::print(),
     sc::MBPT2_R12::print(), sc::MemoryGrp::print(),  sc::MOIndexSpace::print(),
     sc::MolecularCoor::print(),     sc::MolecularEnergy::print(),     sc::Mole-
     cule::print(), sc::MP2R12Energy::print(), sc::OneBodyWavefunction::print(),
     sc::OSSHF::print(), sc::OSSSCF::print(),  sc::ParallelRegionTimer::print(),
     sc::PointGroup::print(),	    sc::PsiExEnv::print(),	sc::PsiWavefunc-
     tion::print(),    sc::RadialAngularIntegrator::print(),	 sc::RDMAMemory-
     Grp::print(),     sc::RegionTimer::print(),    sc::RenderedObject::print(),
     sc::SCBlockInfo::print(),	  sc::SCDimension::print(),    sc::SCF::print(),
     sc::SCMatrix::print(),   sc::SCVector::print(),  sc::ShmMemoryGrp::print(),
     sc::SphereShape::print(),	sc::StdDenFunctional::print(),	 sc::SumDenFunc-
     tional::print(),	  sc::SymmetryOperation::print(),     sc::SymmMolecular-
     Coor::print(), sc::SymmSCMatrix::print(), sc::SymRep::print(),  sc::Taylor-
     MolecularEnergy::print(), sc::TCHF::print(), sc::TCSCF::print(), sc::Trans-
     form::print(),  sc::TriangulatedSurface::print(), sc::TwoBodyGrid::print(),
     sc::UHF::print(),	sc::UKS::print(),   sc::UncappedTorusHoleShape::print(),
     sc::UnrestrictedSCF::print(),   sc::Wavefunction::print(),  sc::XalphaFunc-
     tional::print(),	   sc::GaussianBasisSet::print_brief(),      sc::SetInt-
     Coor::print_details(),	 sc::SimpleCo::print_details(),      sc::SumInt-
     Coor::print_details(), sc::TwoBodyMOIntsTransform::print_footer(), sc::Two-
     BodyMOIntsTransform::print_header(),  sc::MolecularEnergy::print_natom_3(),
     sc::KeyVal::print_unseen(),  sc::ParsedKeyVal::print_unseen(), and sc::Ref-
     SCVector::symmetric_outer_product().

   std::ostream & sc::ExEnv::outn () [inline],	[static]
     Return an ostream that writes from all nodes.

     Referenced by errn().

Author
     Generated automatically by Doxygen for MPQC from the source code.

MPQC				  Version 2.3.1 		    sc::ExEnv(3)

home | help