InfoStream.C File Reference

#include "InfoStream.h"
#include "charm++.h"
#include "Vector.h"
#include "Tensor.h"
#include <stdio.h>

Go to the source code of this file.

Defines

#define LOCALMOD(type)

Functions

 CkpvExtern (infostream, iout_obj)
infostreamendi (infostream &s)
std::ostream & iPE (std::ostream &s)
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)
 LOCALMOD (long long)
 LOCALMOD (unsigned long long)
std::ostream & iINFO (std::ostream &s)
std::ostream & iWARN (std::ostream &s)
std::ostream & iERROR (std::ostream &s)
std::ostream & iDEBUG (std::ostream &s)


Define Documentation

#define LOCALMOD ( type   ) 

Value:

infostream& infostream::operator<<(type x) \
                { (std::ostream&)(*this) << x; return(*this); }

Definition at line 75 of file InfoStream.C.


Function Documentation

CkpvExtern ( infostream  ,
iout_obj   
)

Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved.

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(), GridforceFullSubGrid::compute_b(), GridforceFullMainGrid::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(), GridforceLiteGrid::get_all_gridvals(), GridforceFullMainGrid::get_all_gridvals(), GridforceGrid::get_corner(), GlobalMasterIMD::get_vmd_forces(), PressureProfileReduction::getData(), ParseOptions::getfromptr(), GlobalMasterIMD::GlobalMasterIMD(), GlobalMasterSMD::GlobalMasterSMD(), GlobalMasterTMD::GlobalMasterTMD(), GridforceFullSubGrid::GridforceFullSubGrid(), Sequencer::hardWallDrude(), HomePatch::hardWallDrude(), ParallelIOMgr::initialize(), OptPmeMgr::initialize(), GridforceLiteGrid::initialize(), GridforceFullSubGrid::initialize(), GridforceFullMainGrid::initialize(), ComputePmeCUDAMgr::initialize(), ComputePmeMgr::initialize(), ComputeMsmMgr::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(), GridforceFullSubGrid::pack(), GridforceFullMainGrid::pack(), GridforceFullBaseGrid::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(), ADiheRestraint::PrintInfo(), AnAngleRestraint::PrintInfo(), ADistRestraint::PrintInfo(), APosRestraint::PrintInfo(), ALambdaControl::PrintLambdaHeader(), Rebalancer::printLoads(), ARestraintManager::PrintRestraintInfo(), 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(), 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(), GridforceLiteGrid::set_all_gridvals(), GridforceFullMainGrid::set_all_gridvals(), Node::startup(), ComputeQMMgr::storeQMRes(), NamdCentLB::Strategy(), tbsoft_sendusage(), TopoManagerWrapper::TopoManagerWrapper(), ComputePme::ungridForces(), ParseOptions::units(), GridforceFullSubGrid::unpack(), GridforceFullMainGrid::unpack(), GridforceFullBaseGrid::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(), Sequencer::hardWallDrude(), HomePatch::hardWallDrude(), Sequencer::maximumMove(), NAMD_backup_file(), NAMD_file_exists(), Molecule::prepare_qm(), Controller::printEnergies(), ParseOptions::range(), Sequencer::rattle1(), HomePatch::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(), ParallelIOMgr::initialize(), OptPmeMgr::initialize(), ComputePmeCUDAMgr::initialize(), ComputePmeMgr::initialize(), ComputeMsmMgr::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(), Rebalancer::strategy(), NamdCentLB::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: "; }

LOCALMOD ( unsigned long  long  ) 

LOCALMOD ( long  long  ) 

<< integers

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.

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.

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.

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


Generated on Tue Nov 21 01:17:16 2017 for NAMD by  doxygen 1.4.7