DiscConfig Class Reference

#include <DiscConfig.h>

Collaboration diagram for DiscConfig:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DiscConfig (const char *, const char *, bool)
 ~DiscConfig ()
bool ok () const
const stringgetConfigFile () const
unsigned int numSMPs () const
unsigned int fileSMPs () const
unsigned int mySMP () const
unsigned int getSMPIndex () const
unsigned int getSMPIndex (const string &smpname) const
const stringgetSMPHost () const
const stringgetSMPHost (unsigned int smp) const
unsigned int getNumSMPNodes () const
unsigned int getNumSMPNodes (unsigned int smp) const
unsigned int getSMPNode (unsigned int n) const
unsigned int getSMPNode (unsigned int smp, unsigned int n) const
unsigned int getSMPBox0 () const
unsigned int getSMPBox0 (unsigned int smp) const
unsigned int getNumFiles () const
unsigned int getNumFiles (unsigned int smp) const
const stringgetFilename (unsigned int fn) const
const stringgetFilename (unsigned int smp, unsigned int fn) const
unsigned int getNumOtherSMP () const
unsigned int getNumOtherSMP (unsigned int smp) const
unsigned int getOtherSMP (unsigned int sn) const
unsigned int getOtherSMP (unsigned int smp, unsigned int sn) const
unsigned int pNodesPerSMP (unsigned int node) const
unsigned int getNumNodes () const
unsigned int getNodeSMPIndex (unsigned int n) const
const stringgetNodeHost (unsigned int n) const
void printDebug (Inform &)

Static Public Member Functions

static int dc_tokenize_string (const char *s, const char *tok, string *&)

Detailed Description

Definition at line 59 of file DiscConfig.h.


Constructor & Destructor Documentation

DiscConfig::DiscConfig const char *  ,
const char *  ,
bool 
 

Definition at line 106 of file DiscConfig.cpp.

References IpplInfo::abort(), endl(), ERRORMSG, TAU_FIELD, TAU_IO, TAU_PROFILE, and TAU_UTILITY.

Here is the call graph for this function:

DiscConfig::~DiscConfig  ) 
 

Definition at line 127 of file DiscConfig.cpp.

References TAU_FIELD, TAU_IO, TAU_PROFILE, and TAU_UTILITY.


Member Function Documentation

int DiscConfig::dc_tokenize_string const char *  s,
const char *  tok,
string *& 
[static]
 

Definition at line 71 of file DiscConfig.cpp.

unsigned int DiscConfig::fileSMPs  )  const [inline]
 

Definition at line 82 of file DiscConfig.h.

Referenced by printDebug().

const string& DiscConfig::getConfigFile  )  const [inline]
 

Definition at line 77 of file DiscConfig.h.

Referenced by printDebug(), and DiscField< Dim >::read().

const string& DiscConfig::getFilename unsigned int  smp,
unsigned int  fn
const [inline]
 

Definition at line 129 of file DiscConfig.h.

const string& DiscConfig::getFilename unsigned int  fn  )  const [inline]
 

Definition at line 126 of file DiscConfig.h.

Referenced by printDebug().

const string& DiscConfig::getNodeHost unsigned int  n  )  const [inline]
 

Definition at line 163 of file DiscConfig.h.

unsigned int DiscConfig::getNodeSMPIndex unsigned int  n  )  const [inline]
 

Definition at line 158 of file DiscConfig.h.

unsigned int DiscConfig::getNumFiles unsigned int  smp  )  const [inline]
 

Definition at line 121 of file DiscConfig.h.

unsigned int DiscConfig::getNumFiles  )  const [inline]
 

Definition at line 120 of file DiscConfig.h.

Referenced by pNodesPerSMP(), and printDebug().

unsigned int DiscConfig::getNumNodes  )  const [inline]
 

Definition at line 155 of file DiscConfig.h.

unsigned int DiscConfig::getNumOtherSMP unsigned int  smp  )  const [inline]
 

Definition at line 135 of file DiscConfig.h.

unsigned int DiscConfig::getNumOtherSMP  )  const [inline]
 

Definition at line 134 of file DiscConfig.h.

Referenced by printDebug().

unsigned int DiscConfig::getNumSMPNodes unsigned int  smp  )  const [inline]
 

Definition at line 103 of file DiscConfig.h.

unsigned int DiscConfig::getNumSMPNodes  )  const [inline]
 

Definition at line 102 of file DiscConfig.h.

Referenced by printDebug().

unsigned int DiscConfig::getOtherSMP unsigned int  smp,
unsigned int  sn
const [inline]
 

Definition at line 143 of file DiscConfig.h.

unsigned int DiscConfig::getOtherSMP unsigned int  sn  )  const [inline]
 

Definition at line 140 of file DiscConfig.h.

Referenced by printDebug().

unsigned int DiscConfig::getSMPBox0 unsigned int  smp  )  const [inline]
 

Definition at line 115 of file DiscConfig.h.

unsigned int DiscConfig::getSMPBox0  )  const [inline]
 

Definition at line 114 of file DiscConfig.h.

Referenced by printDebug().

const string& DiscConfig::getSMPHost unsigned int  smp  )  const [inline]
 

Definition at line 97 of file DiscConfig.h.

const string& DiscConfig::getSMPHost  )  const [inline]
 

Definition at line 96 of file DiscConfig.h.

Referenced by printDebug().

unsigned int DiscConfig::getSMPIndex const string smpname  )  const [inline]
 

Definition at line 91 of file DiscConfig.h.

unsigned int DiscConfig::getSMPIndex  )  const [inline]
 

Definition at line 90 of file DiscConfig.h.

unsigned int DiscConfig::getSMPNode unsigned int  smp,
unsigned int  n
const [inline]
 

Definition at line 109 of file DiscConfig.h.

unsigned int DiscConfig::getSMPNode unsigned int  n  )  const [inline]
 

Definition at line 108 of file DiscConfig.h.

Referenced by printDebug().

unsigned int DiscConfig::mySMP  )  const [inline]
 

Definition at line 83 of file DiscConfig.h.

Referenced by printDebug().

unsigned int DiscConfig::numSMPs  )  const [inline]
 

Definition at line 81 of file DiscConfig.h.

Referenced by printDebug().

bool DiscConfig::ok  )  const [inline]
 

Definition at line 74 of file DiscConfig.h.

unsigned int DiscConfig::pNodesPerSMP unsigned int  node  )  const
 

Definition at line 152 of file DiscConfig.cpp.

References getNumFiles().

Here is the call graph for this function:

void DiscConfig::printDebug Inform  ) 
 

Definition at line 617 of file DiscConfig.cpp.

References endl(), fileSMPs(), getConfigFile(), getFilename(), getNumFiles(), getNumOtherSMP(), getNumSMPNodes(), getOtherSMP(), getSMPBox0(), getSMPHost(), getSMPNode(), IpplInfo::myNode(), mySMP(), and numSMPs().

Referenced by DiscField< Dim >::printDebug().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Mon Jan 16 14:36:48 2006 for IPPL by  doxygen 1.4.6