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
#define iout   infostream::access_iout_obj()

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)


Define Documentation

#define iDEBUGF   iDEBUG << iFILE

Definition at line 85 of file InfoStream.h.

#define iERRORF   iERROR << iFILE

Definition at line 84 of file InfoStream.h.

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

Definition at line 81 of file InfoStream.h.

#define iINFOF   iINFO << iFILE

Definition at line 82 of file InfoStream.h.

#define iout   infostream::access_iout_obj()

Definition at line 87 of file InfoStream.h.

Referenced by Controller::adaptTempInit(), Controller::adaptTempUpdate(), Controller::adaptTempWriteRestart(), after_backend_init(), Controller::algorithm(), ResidueLookupElem::append(), Rebalancer::assign(), Parameters::assign_angle_index(), Parameters::assign_dihedral_index(), Parameters::assign_vdw_index(), WorkDistrib::assignNodeToPatch(), average(), ParallelIOMgr::bcastHydroBasedCounter(), ParallelIOMgr::bcastMolInfo(), Controller::berendsenPressure(), Molecule::build_go_arrays(), Molecule::build_go_params(), Molecule::build_go_sigmas(), Molecule::build_go_sigmas2(), Molecule::build_gridforce_params(), buildExclusions(), WorkDistrib::buildNodeAwarePeOrdering(), ProxyMgr::buildProxySpanningTree(), ComputeQMMgr::calcMOPAC(), ComputeQMMgr::calcORCA(), GlobalMasterIMD::calculate(), ComputeQMMgr::calcUSR(), ParseOptions::check_consistency(), LdbCoordinator::collectLoads(), colvarproxy_namd::colvarproxy_namd(), Controller::compareChecksums(), ConfigList::ConfigList(), Output::coordinate(), Controller::correctMomentum(), WorkDistrib::createAtomLists(), WorkDistrib::createHomePatches(), Rebalancer::deAssign(), Molecule::delete_qm_bonded(), ComputeGridForce::do_calc(), Node::earlyExit(), ARestraint::EarlyExit(), GlobalMasterMisc::easy_calc(), GlobalMasterMisc::easy_init(), ComputeNonbondedCUDA::finishReductions(), Fopen(), Output::force(), ParseOptions::get(), GlobalMasterIMD::get_vmd_forces(), PressureProfileReduction::getData(), ParseOptions::getfromptr(), GlobalMasterIMD::GlobalMasterIMD(), GlobalMasterSMD::GlobalMasterSMD(), GlobalMasterTMD::GlobalMasterTMD(), GromacsTopFile::GromacsTopFile(), Sequencer::hardWallDrude(), HomePatch::hardWallDrude(), ParallelIOMgr::initialize(), OptPmeMgr::initialize(), GridforceFullSubGrid::initialize(), ComputePmeCUDAMgr::initialize(), ComputePmeMgr::initialize(), ComputeMsmMgr::initialize(), ComputeMsmMgr::initialize_create(), Controller::langevinPiston1(), Controller::langevinPiston2(), NamdState::loadStructure(), ComputeHomeTuples< AnisoElem, aniso, aniso >::loadTuples(), colvarproxy_namd::log(), main::main(), PatchMap::makePatches(), Sequencer::maximumMove(), Controller::minimize(), HomePatch::minimize_rattle2(), HomePatch::mollyAverage(), parm::moveto(), Rebalancer::multirefine(), my_assert(), my_imd_connect(), NAMD_backup_file(), NAMD_file_exists(), NAMD_write(), RefineTorusLB::newRefine(), LdbCoordinator::nodeDone(), Sync::openSync(), AVector::Out(), AVector::Output(), Controller::outputExtendedSystem(), Controller::outputFepEnergy(), Controller::outputTiEnergy(), WorkDistrib::patchMapInit(), Molecule::prepare_qm(), IRSet::print(), ARestraintManager::Print_dU_dLambda_Info(), ALambdaManager::Print_dU_dLambda_Summary(), ALambdaManager::Print_MCTI_Integration(), Parameters::print_param_summary(), Controller::printEnergies(), ARestraintManager::PrintEnergyInfo(), Controller::printFepMessage(), ALambdaControl::PrintHeader(), ADiheRestraint::PrintInfo(), AnAngleRestraint::PrintInfo(), ADistRestraint::PrintInfo(), APosRestraint::PrintInfo(), ALambdaControl::PrintLambdaHeader(), Rebalancer::printLoads(), ARestraintManager::PrintPreInfo(), ARestraintManager::PrintRestraintInfo(), Rebalancer::printResults(), ALambdaManager::PrintSomeSpaces(), Rebalancer::printSummary(), Controller::printTiMessage(), Controller::printTiming(), ProblemParsing(), ComputeQMMgr::procQMRes(), ParseOptions::range(), Sequencer::rattle1(), HomePatch::rattle1(), HomePatch::rattle1old(), HomePatch::rattle2(), read_binary_file(), Parameters::read_charmm_parameter_file(), Parameters::read_ener_table(), Molecule::read_go_file(), Parameters::read_parm(), SimParameters::readExtendedSystem(), parm::readparm(), Controller::reassignVelocities(), LdbCoordinator::rebalance(), Controller::receivePressure(), ParallelIOMgr::recvAtomsCntPerPatch(), ComputeFmmSerialMgr::recvCoord(), ComputeQMMgr::recvPartQM(), ComputeQMMgr::recvPntChrg(), Output::recvReplicaDcdData(), Output::recvReplicaDcdInit(), Rebalancer::refine(), PatchMap::registerPatch(), Controller::rescaleaccelMD(), LdbCoordinator::resumeReady(), Node::run(), ComputeNonbondedUtil::select(), ComputePmeMgr::sendDataPart(), ComputePmeMgr::sendPencils(), ParseOptions::set(), Node::startup(), ComputeQMMgr::storeQMRes(), Rebalancer::strategy(), NamdCentLB::Strategy(), tbsoft_sendusage(), TopoManagerWrapper::TopoManagerWrapper(), ComputePme::ungridForces(), ParseOptions::units(), Output::velocity(), Controller::write_accelMDG_rest_file(), and Rebalancer::~Rebalancer().

#define iWARNF   iWARN << iFILE

Definition at line 83 of file InfoStream.h.

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

Definition at line 34 of file InfoStream.h.


Function Documentation

infostream& endi ( infostream s  ) 

modifiers

Definition at line 38 of file InfoStream.C.

References infostream::endi().

Referenced by Controller::adaptTempInit(), Controller::adaptTempUpdate(), Controller::adaptTempWriteRestart(), GridforceFullSubGrid::addToSubgridsFlat(), after_backend_init(), Controller::algorithm(), ResidueLookupElem::append(), Rebalancer::assign(), WorkDistrib::assignNodeToPatch(), average(), ParallelIOMgr::bcastHydroBasedCounter(), ParallelIOMgr::bcastMolInfo(), Controller::berendsenPressure(), Molecule::build_go_arrays(), Molecule::build_go_params(), Molecule::build_go_sigmas(), Molecule::build_go_sigmas2(), Molecule::build_gridforce_params(), buildExclusions(), WorkDistrib::buildNodeAwarePeOrdering(), ProxyMgr::buildProxySpanningTree(), GridforceFullMainGrid::buildSubgridsFlat(), ComputeQMMgr::calcMOPAC(), GlobalMasterIMD::calculate(), ParseOptions::check_consistency(), LdbCoordinator::collectLoads(), colvarproxy_namd::colvarproxy_namd(), Controller::compareChecksums(), GridforceFullMainGrid::compute_b(), GridforceFullSubGrid::compute_b(), GridforceLiteGrid::compute_derivative_grids(), GridforceFullBaseGrid::compute_VdV(), GridforceLiteGrid::compute_wts(), ConfigList::ConfigList(), Output::coordinate(), Controller::correctMomentum(), WorkDistrib::createAtomLists(), WorkDistrib::createHomePatches(), Rebalancer::deAssign(), ComputeGridForce::do_calc(), ComputeGridForce::doForce(), ARestraint::EarlyExit(), GlobalMasterMisc::easy_calc(), GlobalMasterMisc::easy_init(), ComputeNonbondedCUDA::finishReductions(), GridforceGrid::fits_lattice(), Fopen(), Output::force(), ParseOptions::get(), GridforceFullMainGrid::get_all_gridvals(), GridforceLiteGrid::get_all_gridvals(), GridforceGrid::get_corner(), GlobalMasterIMD::get_vmd_forces(), PressureProfileReduction::getData(), ParseOptions::getfromptr(), GlobalMasterIMD::GlobalMasterIMD(), GlobalMasterSMD::GlobalMasterSMD(), GlobalMasterTMD::GlobalMasterTMD(), GridforceFullSubGrid::GridforceFullSubGrid(), HomePatch::hardWallDrude(), Sequencer::hardWallDrude(), ComputeMsmMgr::initialize(), ComputePmeMgr::initialize(), ComputePmeCUDAMgr::initialize(), GridforceFullMainGrid::initialize(), GridforceFullSubGrid::initialize(), GridforceLiteGrid::initialize(), OptPmeMgr::initialize(), ParallelIOMgr::initialize(), ComputeMsmMgr::initialize_create(), GridforceLiteGrid::linear_interpolate(), NamdState::loadStructure(), ComputeHomeTuples< AnisoElem, aniso, aniso >::loadTuples(), colvarproxy_namd::log(), main::main(), PatchMap::makePatches(), Sequencer::maximumMove(), Controller::minimize(), HomePatch::minimize_rattle2(), HomePatch::mollyAverage(), parm::moveto(), Rebalancer::multirefine(), my_assert(), my_imd_connect(), NAMD_backup_file(), NAMD_file_exists(), NAMD_write(), RefineTorusLB::newRefine(), LdbCoordinator::nodeDone(), Sync::openSync(), Controller::outputExtendedSystem(), Controller::outputFepEnergy(), Controller::outputTiEnergy(), GridforceFullBaseGrid::pack(), GridforceFullMainGrid::pack(), GridforceFullSubGrid::pack(), WorkDistrib::patchMapInit(), Molecule::prepare_qm(), Molecule::print_atoms(), Molecule::print_bonds(), ARestraintManager::Print_dU_dLambda_Info(), ALambdaManager::Print_dU_dLambda_Summary(), Molecule::print_exclusions(), ALambdaManager::Print_MCTI_Integration(), Controller::printEnergies(), ARestraintManager::PrintEnergyInfo(), Controller::printFepMessage(), ALambdaControl::PrintHeader(), APosRestraint::PrintInfo(), ADistRestraint::PrintInfo(), AnAngleRestraint::PrintInfo(), ADiheRestraint::PrintInfo(), ALambdaControl::PrintLambdaHeader(), Rebalancer::printLoads(), ARestraintManager::PrintRestraintInfo(), Rebalancer::printSummary(), Controller::printTiMessage(), Controller::printTiming(), ProblemParsing(), ComputeQMMgr::procQMRes(), ParseOptions::range(), HomePatch::rattle1(), Sequencer::rattle1(), HomePatch::rattle1old(), HomePatch::rattle2(), read_binary_file(), Parameters::read_charmm_parameter_file(), Molecule::read_go_file(), SimParameters::readExtendedSystem(), GridforceFullBaseGrid::readHeader(), parm::readparm(), GridforceFullBaseGrid::readSubgridHierarchy(), Controller::reassignVelocities(), LdbCoordinator::rebalance(), Controller::receivePressure(), ParallelIOMgr::recvAtomsCntPerPatch(), ComputeFmmSerialMgr::recvCoord(), ComputeQMMgr::recvPartQM(), ComputeQMMgr::recvPntChrg(), Rebalancer::refine(), PatchMap::registerPatch(), GridforceFullMainGrid::reinitialize(), Controller::rescaleaccelMD(), LdbCoordinator::resumeReady(), ComputeNonbondedUtil::select(), Molecule::send_Molecule(), ComputePmeMgr::sendDataPart(), ComputePmeMgr::sendPencils(), ParseOptions::set(), GridforceFullMainGrid::set_all_gridvals(), GridforceLiteGrid::set_all_gridvals(), Node::startup(), ComputeQMMgr::storeQMRes(), NamdCentLB::Strategy(), tbsoft_sendusage(), TopoManagerWrapper::TopoManagerWrapper(), ComputePme::ungridForces(), ParseOptions::units(), GridforceFullBaseGrid::unpack(), GridforceFullMainGrid::unpack(), GridforceFullSubGrid::unpack(), Output::velocity(), Controller::write_accelMDG_rest_file(), and Rebalancer::~Rebalancer().

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

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

Definition at line 110 of file InfoStream.C.

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

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

Definition at line 109 of file InfoStream.C.

Referenced by Controller::berendsenPressure(), ComputeQMMgr::calcMOPAC(), ComputeQMMgr::calcORCA(), ComputeQMMgr::calcUSR(), ParseOptions::check_consistency(), Controller::compareChecksums(), Controller::correctMomentum(), Molecule::delete_qm_bonded(), Node::earlyExit(), ParseOptions::get(), ParseOptions::getfromptr(), HomePatch::hardWallDrude(), Sequencer::hardWallDrude(), Sequencer::maximumMove(), NAMD_backup_file(), NAMD_file_exists(), Molecule::prepare_qm(), Controller::printEnergies(), ParseOptions::range(), HomePatch::rattle1(), Sequencer::rattle1(), HomePatch::rattle1old(), ComputeQMMgr::recvPartQM(), ComputeQMMgr::recvPntChrg(), ComputeNonbondedUtil::select(), ComputePmeMgr::sendDataPart(), ComputePmeMgr::sendPencils(), ParseOptions::set(), ComputePme::ungridForces(), and ParseOptions::units().

00109 { 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 107 of file InfoStream.C.

Referenced by Controller::adaptTempInit(), after_backend_init(), WorkDistrib::assignNodeToPatch(), average(), ParallelIOMgr::bcastHydroBasedCounter(), ParallelIOMgr::bcastMolInfo(), Molecule::build_go_arrays(), Molecule::build_go_params(), Molecule::build_go_sigmas(), Molecule::build_go_sigmas2(), buildExclusions(), ProxyMgr::buildProxySpanningTree(), GlobalMasterIMD::calculate(), Controller::compareChecksums(), ConfigList::ConfigList(), WorkDistrib::createHomePatches(), Rebalancer::deAssign(), GlobalMasterMisc::easy_calc(), GlobalMasterMisc::easy_init(), GlobalMasterIMD::get_vmd_forces(), GlobalMasterIMD::GlobalMasterIMD(), GlobalMasterSMD::GlobalMasterSMD(), GlobalMasterTMD::GlobalMasterTMD(), ComputeMsmMgr::initialize(), ComputePmeMgr::initialize(), ComputePmeCUDAMgr::initialize(), OptPmeMgr::initialize(), ParallelIOMgr::initialize(), ComputeMsmMgr::initialize_create(), Controller::langevinPiston1(), Controller::langevinPiston2(), NamdState::loadStructure(), main::main(), PatchMap::makePatches(), Rebalancer::multirefine(), Sync::openSync(), WorkDistrib::patchMapInit(), Molecule::prepare_qm(), Parameters::print_param_summary(), Controller::printEnergies(), Rebalancer::printResults(), Rebalancer::printSummary(), ComputeQMMgr::procQMRes(), read_binary_file(), SimParameters::readExtendedSystem(), Controller::receivePressure(), ParallelIOMgr::recvAtomsCntPerPatch(), ComputeFmmSerialMgr::recvCoord(), ComputeQMMgr::recvPartQM(), Rebalancer::refine(), Node::run(), ComputeNonbondedUtil::select(), Node::startup(), NamdCentLB::Strategy(), Rebalancer::strategy(), tbsoft_sendusage(), and TopoManagerWrapper::TopoManagerWrapper().

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

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

Definition at line 40 of file InfoStream.C.

Referenced by PatchMap::registerPatch().

00040                                {
00041   return s << "Pe(" << CkMyPe() << ')';
00042 }

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

Definition at line 108 of file InfoStream.C.

Referenced by Controller::adaptTempUpdate(), ResidueLookupElem::append(), Parameters::assign_angle_index(), Parameters::assign_dihedral_index(), Parameters::assign_vdw_index(), Molecule::build_gridforce_params(), WorkDistrib::buildNodeAwarePeOrdering(), GlobalMasterIMD::calculate(), Controller::compareChecksums(), ConfigList::ConfigList(), ComputeGridForce::do_calc(), ParseOptions::get(), GlobalMasterIMD::get_vmd_forces(), GlobalMasterIMD::GlobalMasterIMD(), GromacsTopFile::GromacsTopFile(), NamdState::loadStructure(), ComputeHomeTuples< AnisoElem, aniso, aniso >::loadTuples(), main::main(), HomePatch::minimize_rattle2(), HomePatch::mollyAverage(), parm::moveto(), Rebalancer::multirefine(), my_imd_connect(), NAMD_write(), WorkDistrib::patchMapInit(), Controller::printEnergies(), Controller::printTiming(), HomePatch::rattle1(), HomePatch::rattle1old(), HomePatch::rattle2(), read_binary_file(), Parameters::read_charmm_parameter_file(), Molecule::read_go_file(), Parameters::read_parm(), ComputeQMMgr::recvPartQM(), Controller::rescaleaccelMD(), and Controller::write_accelMDG_rest_file().

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

infostream& operator<< ( infostream strm,
const Tensor t1 
)

Definition at line 62 of file InfoStream.C.

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

00062                                                            {
00063        strm << t1.xx << " " << t1.xy << " " << t1.xz << " "
00064             << t1.yx << " " << t1.yy << " " << t1.yz << " "
00065             << t1.zx << " " << t1.zy << " " << t1.zz;
00066        return strm;
00067 }

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

Definition at line 55 of file InfoStream.C.

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

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

infostream& operator<< ( infostream strm,
const Vector v1 
)

Definition at line 49 of file InfoStream.C.

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

00049                                                            {
00050        strm << v1.x << " " << v1.y << " " << v1.z;
00051        return strm;
00052 }

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

Definition at line 44 of file InfoStream.C.

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

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


Generated on Fri Sep 22 01:17:16 2017 for NAMD by  doxygen 1.4.7