Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

InfoStream.h File Reference

#include <iostream>
#include <sstream>

Go to the source code of this file.

Classes

class  infostream

Defines

#define LOCALMOD(type)   infostream& operator<<(type x)
#define iFILE   __FILE__<<'('<<__LINE__<<"): "
#define iINFOF   iINFO << iFILE
#define iWARNF   iWARN << iFILE
#define iERRORF   iERROR << iFILE
#define iDEBUGF   iDEBUG << iFILE

Functions

std::ostream & operator<< (std::ostream &strm, const Vector &v1)
infostreamoperator<< (infostream &strm, const Vector &v1)
std::ostream & operator<< (std::ostream &strm, const Tensor &t1)
infostreamoperator<< (infostream &strm, const Tensor &t1)
infostreamendi (infostream &s)
std::ostream & iINFO (std::ostream &s)
std::ostream & iWARN (std::ostream &s)
std::ostream & iERROR (std::ostream &s)
std::ostream & iDEBUG (std::ostream &s)
std::ostream & iPE (std::ostream &s)

Variables

infostream iout


Define Documentation

#define iDEBUGF   iDEBUG << iFILE
 

Definition at line 76 of file InfoStream.h.

#define iERRORF   iERROR << iFILE
 

Definition at line 75 of file InfoStream.h.

#define iFILE   __FILE__<<'('<<__LINE__<<"): "
 

Definition at line 72 of file InfoStream.h.

#define iINFOF   iINFO << iFILE
 

Definition at line 73 of file InfoStream.h.

#define iWARNF   iWARN << iFILE
 

Definition at line 74 of file InfoStream.h.

#define LOCALMOD type   )     infostream& operator<<(type x)
 

Definition at line 32 of file InfoStream.h.


Function Documentation

infostream& endi infostream s  ) 
 

modifiers *

Definition at line 32 of file InfoStream.C.

References infostream::endi().

Referenced by ComputeGridForce::doForce(), GridforceGrid::get_box(), GridforceGrid::initialize(), GridforceGrid::pack(), Molecule::print_atoms(), Molecule::print_bonds(), Molecule::print_exclusions(), and GridforceGrid::unpack().

00032 { s.endi(); return s; }

std::ostream& iDEBUG std::ostream &  s  ) 
 

Definition at line 97 of file InfoStream.C.

00097 { return s << "DEBUG: "; }

std::ostream& iERROR std::ostream &  s  ) 
 

Definition at line 96 of file InfoStream.C.

Referenced by Controller::berendsenPressure(), ParseOptions::check_consistancy(), Controller::compareChecksums(), Controller::correctMomentum(), Node::earlyExit(), ParseOptions::get(), LdbCoordinator::initialize(), LdbCoordinator::LdbCoordinator(), Sequencer::maximumMove(), NAMD_backup_file(), PatchMgr::PatchMgr(), Controller::printEnergies(), ParseOptions::range(), HomePatch::rattle1(), Sequencer::rattle1(), ComputePme::sendData(), ComputePme::sendPencils(), ParseOptions::set(), Sync::Sync(), and ParseOptions::units().

00096 { return s << "ERROR: "; }

std::ostream& iINFO std::ostream &  s  ) 
 

iINFOF, iWARNF, iERRORF, iDEBUGF provide initial headings with file name and line numbers. *

Definition at line 94 of file InfoStream.C.

Referenced by Rebalancer::adjustBackgroundLoadAndComputeAverage(), average(), Molecule::build_exPressure_atoms(), Molecule::build_extra_bonds(), Molecule::build_fep_flags(), ProxyMgr::buildProxySpanningTree(), GlobalMasterIMD::calculate(), Controller::compareChecksums(), ConfigList::ConfigList(), NamdState::configListInit(), WorkDistrib::createHomePatches(), Rebalancer::deAssign(), GlobalMasterMisc::easy_calc(), GlobalMasterMisc::easy_init(), GlobalMasterIMD::get_vmd_forces(), getExtraBonds(), GlobalMasterIMD::GlobalMasterIMD(), GlobalMasterSMD::GlobalMasterSMD(), GlobalMasterTMD::GlobalMasterTMD(), ComputePmeMgr::initialize(), Controller::langevinPiston1(), Controller::langevinPiston2(), main::main(), main(), PatchMap::makePatches(), Rebalancer::multirefine(), Patch::positionsReady(), WorkDistrib::preCreateHomePatches(), Parameters::print_param_summary(), ComputeMap::printComputeMap(), Controller::printEnergies(), Rebalancer::printResults(), Rebalancer::printSummary(), Controller::receivePressure(), Rebalancer::refine(), Node::run(), ComputeNonbondedUtil::select(), Node::startup(), Rebalancer::strategy(), and tbsoft_sendusage().

00094 { return s << "Info: "; }

std::ostream& iPE std::ostream &  s  ) 
 

Definition at line 34 of file InfoStream.C.

Referenced by LdbCoordinator::initialize(), LdbCoordinator::LdbCoordinator(), PatchMgr::PatchMgr(), PatchMap::registerPatch(), Sync::Sync(), and ComputeMgr::updateComputes().

00034                                {
00035   return s << "Pe(" << CkMyPe() << ')';
00036 }

std::ostream& iWARN std::ostream &  s  ) 
 

Definition at line 95 of file InfoStream.C.

Referenced by ResidueLookupElem::append(), Parameters::assign_vdw_index(), Molecule::build_constant_forces(), Molecule::build_constorque_params(), Molecule::build_constraint_params(), Molecule::build_gridforce_params(), Molecule::build_movdrag_params(), Molecule::build_rotdrag_params(), Molecule::build_stirred_atoms(), GlobalMasterIMD::calculate(), Controller::compareChecksums(), ConfigList::ConfigList(), ParseOptions::get(), GlobalMasterIMD::get_vmd_forces(), getAngleData(), getBondData(), getCrosstermData(), getDihedralData(), getImproperData(), GlobalMasterIMD::GlobalMasterIMD(), GridforceGrid::initialize(), ComputeHomeTuples< BondElem, Bond, BondValue >::loadTuples(), main::main(), HomePatch::mollyAverage(), Rebalancer::multirefine(), my_imd_connect(), Controller::printMinimizeEnergies(), HomePatch::rattle1(), HomePatch::rattle2(), read_binary_file(), Parameters::read_charmm_parameter_file(), Molecule::read_parm(), and ParseOptions::set().

00095 { return s << "Warning: "; }

infostream& operator<< infostream strm,
const Tensor t1
 

Definition at line 56 of file InfoStream.C.

References Tensor::xx, Tensor::xy, Tensor::xz, Tensor::yx, Tensor::yy, Tensor::yz, Tensor::zx, Tensor::zy, and Tensor::zz.

00056                                                            {
00057        strm << t1.xx << " " << t1.xy << " " << t1.xz << " "
00058             << t1.yx << " " << t1.yy << " " << t1.yz << " "
00059             << t1.zx << " " << t1.zy << " " << t1.zz;
00060        return strm;
00061 }

std::ostream& operator<< std::ostream &  strm,
const Tensor t1
 

Definition at line 49 of file InfoStream.C.

References Tensor::xx, Tensor::xy, Tensor::xz, Tensor::yx, Tensor::yy, Tensor::yz, Tensor::zx, Tensor::zy, and Tensor::zz.

00049                                                            {
00050        strm << t1.xx << " " << t1.xy << " " << t1.xz << " "
00051             << t1.yx << " " << t1.yy << " " << t1.yz << " "
00052             << t1.zx << " " << t1.zy << " " << t1.zz;
00053        return strm;
00054 }

infostream& operator<< infostream strm,
const Vector v1
 

Definition at line 43 of file InfoStream.C.

References Vector::x, Vector::y, and Vector::z.

00043                                                            {
00044        strm << v1.x << " " << v1.y << " " << v1.z;
00045        return strm;
00046 }

std::ostream& operator<< std::ostream &  strm,
const Vector v1
 

Definition at line 38 of file InfoStream.C.

References Vector::x, Vector::y, and Vector::z.

00038                                                            {
00039        strm << v1.x << " " << v1.y << " " << v1.z;
00040        return strm;
00041 }


Variable Documentation

infostream iout
 

Definition at line 99 of file InfoStream.C.

Referenced by Rebalancer::adjustBackgroundLoadAndComputeAverage(), Controller::algorithm(), ResidueLookupElem::append(), Rebalancer::assign(), Parameters::assign_vdw_index(), average(), Controller::berendsenPressure(), Molecule::build_constant_forces(), Molecule::build_constorque_params(), Molecule::build_constraint_params(), Molecule::build_exPressure_atoms(), Molecule::build_extra_bonds(), Molecule::build_fep_flags(), Molecule::build_gridforce_params(), Molecule::build_movdrag_params(), Molecule::build_rotdrag_params(), Molecule::build_stirred_atoms(), ProxyMgr::buildProxySpanningTree(), GlobalMasterIMD::calculate(), ParseOptions::check_consistancy(), Controller::compareChecksums(), ConfigList::ConfigList(), NamdState::configListInit(), Output::coordinate(), Controller::correctMomentum(), WorkDistrib::createAtomLists(), WorkDistrib::createHomePatches(), Rebalancer::deAssign(), ARestraint::EarlyExit(), Node::earlyExit(), GlobalMasterMisc::easy_calc(), GlobalMasterMisc::easy_init(), WorkDistrib::fillOnePatchAtoms(), Fopen(), ParseOptions::get(), GlobalMasterIMD::get_vmd_forces(), getAngleData(), getBondData(), getCrosstermData(), PressureProfileReduction::getData(), getDihedralData(), getExtraBonds(), getImproperData(), GlobalMasterIMD::GlobalMasterIMD(), GlobalMasterSMD::GlobalMasterSMD(), GlobalMasterTMD::GlobalMasterTMD(), ComputePmeMgr::initialize(), GridforceGrid::initialize(), LdbCoordinator::initialize(), Controller::langevinPiston1(), Controller::langevinPiston2(), LdbCoordinator::LdbCoordinator(), ComputeHomeTuples< BondElem, Bond, BondValue >::loadTuples(), main::main(), main(), PatchMap::makePatches(), Sequencer::maximumMove(), Controller::minimize(), HomePatch::mollyAverage(), Rebalancer::multirefine(), my_assert(), my_imd_connect(), NAMD_backup_file(), AVector::Out(), AVector::Output(), Controller::outputExtendedSystem(), Controller::outputFepEnergy(), Controller::outputTiEnergy(), PatchMgr::PatchMgr(), Patch::positionsReady(), WorkDistrib::preCreateHomePatches(), Set::print(), ARestraintManager::Print_dU_dLambda_Info(), ALambdaManager::Print_dU_dLambda_Summary(), ALambdaManager::Print_MCTI_Integration(), Parameters::print_param_summary(), ComputeMap::printComputeMap(), Controller::printEnergies(), ARestraintManager::PrintEnergyInfo(), Controller::printFepMessage(), ALambdaControl::PrintHeader(), APosRestraint::PrintInfo(), ADistRestraint::PrintInfo(), AnAngleRestraint::PrintInfo(), ADiheRestraint::PrintInfo(), ALambdaControl::PrintLambdaHeader(), Rebalancer::printLoads(), Controller::printMinimizeEnergies(), ARestraintManager::PrintPreInfo(), ARestraintManager::PrintRestraintInfo(), Rebalancer::printResults(), ALambdaManager::PrintSomeSpaces(), Rebalancer::printSummary(), Controller::printTiMessage(), Controller::printTiming(), ProblemParsing(), ParseOptions::range(), HomePatch::rattle1(), Sequencer::rattle1(), HomePatch::rattle2(), read_binary_file(), Parameters::read_charmm_parameter_file(), Molecule::read_parm(), parm::readparm(), Controller::reassignVelocities(), Controller::receivePressure(), Rebalancer::refine(), PatchMap::registerPatch(), Controller::rescaleVelocities(), Node::run(), ComputeNonbondedUtil::select(), ComputePme::sendData(), ComputePme::sendPencils(), ParseOptions::set(), Node::startup(), Rebalancer::strategy(), Sync::Sync(), tbsoft_sendusage(), ParseOptions::units(), ComputeMgr::updateComputes(), and Output::velocity().


Generated on Thu Sep 4 04:07:41 2008 for NAMD by  doxygen 1.3.9.1