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

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

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)
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 69 of file InfoStream.C.


Function Documentation

infostream& endi infostream s  ) 
 

modifiers *

Definition at line 32 of file InfoStream.C.

References infostream::endi().

Referenced by ComputeGridForce::doForce(), ComputeGridForce::finishForce(), GridforceGrid::get_box(), GridforceGrid::init1(), GridforceGrid::init4(), GridforceGrid::pack(), Molecule::print_atoms(), Molecule::print_bonds(), Molecule::print_exclusions(), GridforceGrid::request_box(), 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(), Sequencer::rattle1(), HomePatch::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(), after_backend_init(), average(), 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(), GridforceGrid::init4(), OptPmeMgr::initialize(), ComputePmeMgr::initialize(), Controller::langevinPiston1(), Controller::langevinPiston2(), main::main(), PatchMap::makePatches(), Rebalancer::multirefine(), Sync::openSync(), Patch::positionsReady(), WorkDistrib::preCreateHomePatches(), Parameters::print_param_summary(), ComputeMap::printComputeMap(), Controller::printEnergies(), Rebalancer::printResults(), Rebalancer::printSummary(), read_binary_file(), 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 GridforceGrid::allocateGridEntry(), ResidueLookupElem::append(), Parameters::assign_vdw_index(), GlobalMasterIMD::calculate(), Controller::compareChecksums(), ConfigList::ConfigList(), NamdState::configListInit(), ParseOptions::get(), GlobalMasterIMD::get_vmd_forces(), getAngleData(), getBondData(), getCrosstermData(), getDihedralData(), getImproperData(), GlobalMasterIMD::GlobalMasterIMD(), GridforceGrid::init4(), ComputeHomeTuples< ExclElem, Exclusion, int >::loadTuples(), main::main(), HomePatch::mollyAverage(), Rebalancer::multirefine(), my_imd_connect(), Controller::printEnergies(), Controller::printMinimizeEnergies(), Controller::printTiming(), HomePatch::rattle1(), HomePatch::rattle2(), read_binary_file(), Parameters::read_charmm_parameter_file(), 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.

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.

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.

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


Generated on Mon Nov 23 04:59:27 2009 for NAMD by  doxygen 1.3.9.1