stk Namespace Reference
[DiagTimerDetail]


Detailed Description

Sierra Toolkit.

Author:
H. Carter Edwards


Classes

class  OctTreeKey
 Type for identifying a particular node in a hierarchical oct-tree. More...
struct  OctTreeSize< 0 >
struct  OctTreeSize
struct  LogControlRule
 Interface LogControlRule describes the interface to a log control rule. More...
struct  LogControlRuleAlways
 Class LogControlRuleAlways is a log control rule that always wants to write to the log file. More...
struct  LogControlRuleInterval
class  RuleMap
class  LogControl
 Class LogControl provides a mechanism for reducing excessive output. More...
class  ProductRegistry
 Class ProductRegistry maps product names and attributes to brief descriptive values. More...
class  RuntimeDoomedAdHoc
 Class RuntimeDoomedAdHoc reports an ad hoc doomed message to the report system. More...
class  RuntimeDoomedSymmetric
 Class RuntimeDoomedSymmetric reports a fatal error message to the report system. More...
class  RuntimeDoomedDeferred
 Class RuntimeDoomedDeferred reports a deferred fatal error message to the report system. More...
struct  Throttle
 Class Throttle describes the cutoff limits for a message throttle. More...
struct  MessageCode
 Class MessageCode declares a message identifier and throttle characteristics for a message. More...
class  RuntimeWarningAdHoc
 Class RuntimeWarningAdHoc reports an ad hoc warning message to the report system. More...
class  RuntimeWarningSymmetric
 Class RuntimeWarningSymmetric reports a symmetric warning message to the report system. More...
class  RuntimeWarningDeferred
 Class RuntimeWarningDeferred reports a deferred warning message to the report system. More...
struct  BroadcastArg
 Class BroadcastArg creates a copy of argc and argv after broadcasting them from processor 0. More...
class  CommBuffer
class  CommAll
class  CommBroadcast
class  CommGather
struct  CommBufferAlign< 1 >
struct  CommBufferAlign
class  ParallelInputStream
class  Bootstrap
 Class Bootstrap serves as a bootstrapping mechanism for products in the sierra toolkit and elsewhere. More...
class  CSet
 Set of entities of arbitrary types. More...
class  IdentifierA
class  IdentifierB
class  basic_indent_streambuf
 Class basic_indent_streambuf implements a output streambuf that performs indentation, blank line removal and outline bracing, sending the result character stream to another output stream buffer. More...
class  indent_streambuf_throwsafe
struct  IndentFlags
struct  IndexList
 Compile-time list of indices. More...
struct  IndexListAt
 Access member of compile-time list of indices. More...
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 0 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 1 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 2 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 3 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 4 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 5 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 6 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 7 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 8 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 9 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 10 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 11 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 12 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 13 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 14 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 15 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 16 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 17 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 18 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 19 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 20 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 21 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 22 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 23 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 24 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 25 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 26 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 27 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 28 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 29 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 30 >
struct  IndexListAt< IndexList< I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31 >, 31 >
struct  Marshal
 Struct Marshal is a data packer for sending and receiving parallel messages. More...
class  PrintTable
struct  cell_width
struct  at
struct  indent
struct  justify
class  SameType
 Member enum { value = . More...
struct  SameType< T, T >
struct  Copy< 0, i >
struct  Sum< 0, i >
struct  Prod< 0, i >
struct  Max< 0, i >
struct  Min< 0, i >
struct  BitOr< 0, i >
struct  BitAnd< 0, i >
struct  InnerProduct< 0, i >
struct  Compare< 0, i >
struct  Copy< n,-1 >
struct  Sum< n,-1 >
struct  Prod< n,-1 >
struct  BitOr< n,-1 >
struct  BitAnd< n,-1 >
struct  Max< n,-1 >
struct  Min< n,-1 >
struct  InnerProduct< n,-1 >
struct  Compare< n,-1 >
struct  Copy
struct  Sum
struct  Prod
struct  BitOr
struct  BitAnd
struct  Max
struct  Min
struct  InnerProduct
struct  Compare
struct  StaticAssert
 Compile-time assertion

If the compile-time expression is true then defines

  • enum { OK = true };
  • static bool ok() { return true ; } .
More...
struct  StaticAssert< true >
struct  EqualCase
 Case-insensitive equality compare binary function object. More...
struct  NotEqualCase
 Case-insensitive inequality compare binary function object. More...
struct  LessCase
 Case-insensitive less-than compare binary function object. More...
struct  LessEqualCase
 Case-insensitive less-than-or-equal-to compare binary function object. More...
struct  GreaterCase
 Case-insensitive greater-than compare binary function object. More...
struct  GreaterEqualCase
 Case-insensitive greater-than-or-equal-to compare binary function object. More...
class  basic_tee_streambuf
 Class basic_tee_streambuf maintains a list of destination output stream buffers to send written characters to. More...
struct  TypeListEnd
class  TypeList
 A link within a linked list of types. More...
class  TypeListLength
 Member enum { value = . More...
struct  TypeListLength< TypeListEnd >
struct  TypeListLength< TypeList< Value, Tail > >
class  TypeListAt
 Member typedef . More...
struct  TypeListAt< TypeListEnd, ordinal >
struct  TypeListAt< TypeList< Value, Tail >, 0 >
struct  TypeListAt< TypeList< Value, Tail >, ordinal >
class  TypeListIndex
 Member enum { value = . More...
struct  TypeListIndex< TypeListEnd, TestValue, ordinal >
struct  TypeListIndex< TypeList< Value, Tail >, TestValue, ordinal >
class  TypeListCount
 Member enum { value = . More...
struct  TypeListCount< TypeListEnd, TestValue >
struct  TypeListCount< TypeList< Value, Tail >, TestValue >
class  TypeListMember
 Member enum { value = . More...
struct  TypeListMember< TypeListEnd, TestValue >
struct  TypeListMember< TypeList< Value, Tail >, TestValue >
class  TypeListUnique
 Member enum { value = . More...
struct  TypeListUnique< TypeListEnd >
struct  TypeListUnique< TypeList< Value, Tail > >
class  TypeListDisjoint
 Member enum { value = . More...
struct  TypeListDisjoint< TypeListEnd, ListB >
struct  TypeListDisjoint< TypeList< Value, Tail >, ListB >
class  TypeListFirst
 Member typedef . More...
struct  TypeListFirst< TypeListEnd >
struct  TypeListFirst< TypeList< Value, Tail > >
class  TypeListLast
 Member typedef . More...
struct  TypeListLast< TypeListEnd >
struct  TypeListLast< TypeList< Value, TypeListEnd > >
struct  TypeListLast< TypeList< Value, Tail > >
class  TypeListAppend
 Member typedef . More...
struct  TypeListAppend< TypeListEnd, TypeListEnd >
struct  TypeListAppend< TypeListEnd, T >
struct  TypeListAppend< TypeList< Value, Tail >, T >
class  TypeListJoin
 Member typedef . More...
struct  TypeListJoin< TypeListEnd, TypeListEnd >
struct  TypeListJoin< TypeListEnd, TypeList< Value, Tail > >
struct  TypeListJoin< TypeList< ValueA, TailA >, TypeList< ValueB, TailB > >
class  TypeListEraseAt
 Member typedef . More...
struct  TypeListEraseAt< TypeList< Value, Tail >, 0 >
struct  TypeListEraseAt< TypeList< Value, Tail >, ordinal >
class  TypeListClean
 Member typedef . More...
struct  TypeListClean< TypeListEnd >
struct  TypeListClean< TypeList< TypeListEnd, Tail > >
struct  TypeListClean< TypeList< Value, Tail > >
class  MakeTypeList
 Member typedef . More...
class  PairIter< IterType, std::random_access_iterator_tag >

Namespaces

namespace  linsys
 Linear-System Assembly.
namespace  mesh
namespace  unit_test
namespace  search
namespace  diag
namespace  parallel
namespace  util

Typedefs

typedef std::map< std::ostream *,
LogControl * > 
OStreamLogControlMap
typedef stk::basic_tee_streambuf<
char, std::char_traits< char > > 
tee_streambuf
 Tee stream buffer for char.
typedef void(*) REH (const char *message, int type)
 Type definition REH is a pointer to a function of type void that takes a const std::exception reference as a parameter.
typedef std::ostream &(*) OStreamFunctionPtr (std::ostream &)
typedef std::ios_base &(*) IOSBaseFunctionPtr (std::ios_base &)
typedef std::pair< MessageId,
std::string > 
MessageKey
typedef boost::unordered_map<
MessageKey, Throttle
MessageIdMap
typedef std::vector< DeferredMessage > DeferredMessageVector
typedef boost::unordered_map<
unsigned, MessageTypeInfo > 
MessageTypeInfoMap
typedef ptrdiff_t MessageId
 Typedef MessageId defines a message identifier.
typedef std::ostream &(*) OStreamFunctionPtr (std::ostream &)
typedef std::ios_base &(*) IOSBaseFunctionPtr (std::ios_base &)
typedef MPI_Comm ParallelMachine
typedef MPI_Datatype ParallelDatatype
typedef void(*) DeleteFunction (void *)
typedef std::pair< const std::type_info *,
DeleteFunction
Manager
typedef unsigned long TimeFormat
typedef stk::basic_indent_streambuf<
char > 
indent_streambuf
typedef std::map< uint32_t,
std::string > 
TypeNameMap
typedef stk::basic_tee_streambuf<
char > 
tee_streambuf

Enumerations

enum  { OK = StaticAssert< OctTreeKey::NWord == 2 >::OK }
enum  LogMask {
  LOG_ALWAYS = 0x00000000,
  LOG_TRACE = 0x00000001,
  LOG_TRACE_STATS = 0x00000002,
  LOG_TRACE_SUB_CALLS = 0x00000004,
  LOG_MEMBERS = 0x00000008,
  LOG_STREAM_COMMON = LOG_TRACE | LOG_TRACE_STATS
}
 Enumeration LogMask enumerates global bit assignments.
enum  State {
  ON,
  CACHE
}
 Enumeration State describes the current state of the caching for this controller. More...
enum  MessageType {
  MSG_WARNING = 0,
  MSG_DOOMED = 1,
  MSG_EXCEPTION = 2,
  MSG_INFORMATION = 3,
  MSG_TYPE_MASK = 0x0FFFFFFF,
  MSG_SYMMETRIC = 0x80000000,
  MSG_DEFERRED = 0x40000000,
  MSG_UNUSED0 = 0x20000000,
  MSG_UNUSED1 = 0x10000000
}
 Enumeration MessageType declares the global message types. More...
enum  ThrottleGroup {
  MSG_APPLICATION = 0,
  MSG_TIME_STEP = 1
}
 Enumeration ThrottleGroup lists defined throttling groups. More...
enum  {
  STK_MPI_TAG_SIZING = 0,
  STK_MPI_TAG_DATA = 1
}
enum  {
  TIMEFORMAT_NONE = 0x00,
  TIMEFORMAT_HMS = 0x01,
  TIMEFORMAT_SECONDS = 0x02,
  TIMEFORMAT_STYLE_MASK = 0x0F,
  TIMEFORMAT_MILLIS = 0x10
}

Functions

void throw_index (const unsigned d, const unsigned i)
void throw_depth (const unsigned min_depth, const unsigned depth)
unsigned oct_tree_size (const unsigned Depth)
 Number of nodes in an oct-tree of a given depth.
unsigned oct_tree_offset (const unsigned Depth, const OctTreeKey &k)
 Offset of a oct-tree node in a dense tree of a given depth.
OctTreeKey hsfc3d (const unsigned Depth, const unsigned *const coord)
 Generate a 3D Hilbert space filling curve oct-tree key from an integer XYZ coordinate.
bool operator== (const OctTreeKey &l, const OctTreeKey &r)
 Equality test.
bool operator!= (const OctTreeKey &l, const OctTreeKey &r)
 Inequality test.
bool operator< (const OctTreeKey &l, const OctTreeKey &r)
 Comparison using depth-first full ordering.
template<class T>
Marshaloperator<< (Marshal &mout, const diag::Timer::Metric< T > &t)
Marshaloperator<< (Marshal &mout, const diag::Timer &t)
Marshaloperator>> (Marshal &min, diag::ParallelTimer &t)
double cpu_time ()
 Member function cpu_time returns the accumulated cpu time for the process as a double precision value in seconds to "millisecond" accuracy.
const char * demangle (const char *symbol)
 Function demangle returns the demangled C++ symbol from the mangled C++ symbol.
OStreamLogControlMapget_ostream_log_control_map ()
LogStreamMap & get_file_stream_map ()
OStreamTeeStreambufMap & get_ostream_tee_streambuf_map ()
void create_log_file (const std::string &name, const std::string &path)
 Function create_log_file opens a log file at the specified path and adds it to the registry of log files with the specified name.
void close_log_file (const std::string &name)
 Function close_log_file close the log file with the specified name and removes it from the registry of log files.
void register_log_ostream (std::ostream &os, const std::string &name)
 Function register_log_ostream takes an existing std::ostream and makes it available for output redirection.
void unregister_log_ostream (std::ostream &os)
 Function register_log_ostream takes an existing std::ostream and makes it available for output redirection.
const std::string & get_log_path (const std::string &name)
 Function get_log_path returns the file path of the log file with the specified name from the log file registry.
std::ostream * get_log_ostream (const std::string &name)
 Function get_log_file_ostream return the output stream of the log file with the specified name from the log registry.
void register_ostream (std::ostream &os, const std::string &name)
 Function register_ostream registers an output stream with the output stream registry.
void unregister_ostream (std::ostream &os)
 Function unregister_ostream unregisters an output stream.
std::ostream * get_ostream_ostream (const std::string &name)
 Function get_ostream_streambuf locates the output stream registered with the specified name.
tee_streambufget_ostream_tee_streambuf (const std::string &name)
std::ostream * get_ostream_tee_ostream (const std::string &name)
 Function get_ostream_tee_streambuf locates the tee streambuf registered with the specified name.
bool is_registered_ostream (const std::string &name)
 Function is_registered_ostream returns true if an output stream of the specified name is registered.
void parse_output_description (const std::string &output_description, CommandList &command_list)
void execute (const CommandList &command_list)
void bind_output_streams (const std::string &output_description)
 Function bind_output_streams parses the output_description and opens and registers the log streams and binds the registered output streams to the registered log streams.
bool path_access (const std::string &path, int mode)
 Function path_access returns true if the process has permission to access path with the specified mode.
bool path_exists (const std::string &path)
 Function path_exists returns true if the path exists.
bool path_read_access (const std::string &path)
 Function path_read_access returns true if the process has read access to the path.
bool path_write_access (const std::string &path)
 Function path_write_access returns true if the process has write access to the path.
flock * file_lock (short type, short whence)
bool write_lock (int fd)
 Function write_lock returns true if the process was able to place an exclusive lock on the specified file descriptor.
bool release_lock (int fd)
 Function release_lock returns true if the process was able to release a lock previously palced on the specified file descriptor.
bool read_lock (int fd)
 Function read_lock returns true if the process was able to place a shared lock on the specified file descriptor.
bool append_lock (int fd)
 Function append_lock returns true if the process was able to place an exclusive lock on the end of the specified file descriptor.
std::string hostname ()
 Function hostname returns the hostname of the host running the application.
std::string domainname ()
 Function domainname returns the domainname of the domain running the application.
std::string username ()
 Function username returns the username of the user running the application.
std::string hardware ()
 Function hardware returns the hardware type of the host running the application.
std::string osname ()
 Function osname returns the operating system nameof the host running the application.
std::string osversion ()
 Function osversion returns the hardware type of the host running the application.
int pid ()
 Function pid returns the process id of the process running the application.
int pgrp ()
 Function pgrp returns the process group id of the process running the application.
flock * file_lock (short type, short whence)
boost::program_options::options_description & get_options_description ()
 Function get_options_description is a singleton used to store the command line option descriptions for the boost::program_options library.
boost::program_options::variables_map & get_variables_map ()
 Function get_variabel_map is a singleton used to store the variables parsed from the line option descriptions.
void default_report_handler (const char *message, int type)
 Function default_report_handler is the default error reporter for sierra exceptions.
void report (const char *message, int type)
 Function report calls the current exception reporter to report the message in x.
REH set_report_handler (REH reh)
 Function set_report_handler sets the exception report function to be called when an report_exception() is called.
std::string source_relative_path (const std::string &path)
 Function source_relative_path strips everything through "/src/", "/include/" or "/App_" so that error message output doesn't mention names.
unsigned int get_doomed_count ()
 Function get_doomed_count returns the accumulated doomed count.
void reset_doomed_count ()
 Function reset_doomed_count sets the accumulated doomed count to zero.
void set_max_doomed_count (unsigned int max_messages)
 Function set_max_messages sets the maximum number of doomed before no more doomed will be displayed.
unsigned get_max_doomed_count ()
 Function set_max_messages sets the maximum number of doomed and doomed messages displayed before the message is thrown as a RuntimeError exception.
void report_doomed (const char *message, const MessageCode &message_code=MessageCode::s_defaultMessageCode)
 Function report_symmetric_doomed sends a doomed message to the reporter.
void report_symmetric_doomed (const char *message, const MessageCode &message_code=MessageCode::s_defaultMessageCode)
 Function report_symmetric_doomed sends a doomed message to the reporter.
void report_deferred_doomed (const char *message, const char *aggregate, const MessageCode &message_code)
 Member function report_deferred_doomed .
bool is_doomed ()
 Function is_doomed returns true if get_doomed_count() > 0.
void bootstrap ()
MessageTypeInfo & get_message_type_info (unsigned type)
CutoffStatus count_message (MessageId message_id, const char *message, const Throttle &throttle)
Marshaloperator<< (Marshal &mout, const DeferredMessage &s)
Marshaloperator>> (Marshal &min, DeferredMessage &s)
void register_message_type (unsigned message_type, unsigned max_count, const char *name)
 Member function set_message_name .
unsigned get_message_count (unsigned message_type)
 Member function get_message_count .
unsigned increment_message_count (unsigned message_type)
void reset_message_count (unsigned message_type)
 Member function reset_message_count .
const std::string & get_message_name (unsigned message_type)
 Member function get_message_name .
void set_max_message_count (unsigned message_type, unsigned max_count)
 Member function set_max_message_count .
unsigned get_max_message_count (unsigned message_type)
 Member function get_max_message_count .
void report_message (const char *message, unsigned message_type, const MessageCode &message_code)
 Member function report_message .
void reset_throttle_group (int throttle_group)
 Function reset_message_group sets the count to zero of all messages in the specified throttle group.
void add_deferred_message (int message_type, MessageId message_id, size_t throttle_cutoff, int throttle_group, const char *header, const char *aggegrate)
 Function add_deferred_message adds a message to the deferred message queue.
void report_deferred_messages (ParallelMachine comm)
 Function report_deferred_messages aggregates and reports the message on the root processor.
void aggregate_messages (ParallelMachine comm, std::ostringstream &os, const char *separator=", ")
 Function aggregate_messages writes a message message to the output string by joining the messages from each processor, in order.
std::ostream & operator<< (std::ostream &os, const MessageType &message_type)
 Function operator<< writes the message type name to the output stream.
unsigned get_warning_count ()
 Function get_warning_count returns the accumulated warning count.
void reset_warning_count ()
 Function reset_warning_count sets the accumulated warning count to zero.
void set_max_warning_count (unsigned int max_messages)
 Function set_max_messages sets the maximum number of warning before no more warning will be displayed.
unsigned get_max_warning_count ()
 Function set_max_messages sets the maximum number of warning and doomed messages displayed before the message is thrown as a RuntimeError exception.
void report_warning (const char *message, const MessageCode &message_code=MessageCode::s_defaultMessageCode)
 Member function report_warning .
void report_symmetric_warning (const char *message, const MessageCode &message_code=MessageCode::s_defaultMessageCode)
 Function report_symmetric_warning sends a warning message to the reporter.
void report_deferred_warning (const char *message, const char *aggregate, const MessageCode &message_code)
 Member function report_deferred_warning .
double wall_time ()
 Member function wall_time returns the epoch as a double precision value in seconds to "millisecond" accuracy.
double wall_dtime (double &t)
unsigned parallel_machine_size (ParallelMachine parallel_machine)
 Member function parallel_machine_size .
unsigned parallel_machine_rank (ParallelMachine parallel_machine)
 Member function parallel_machine_rank .
void parallel_machine_barrier (ParallelMachine parallel_machine)
 Member function parallel_machine_barrier .
ParallelMachine parallel_machine_null ()
 parallel_machine_null returns MPI_COMM_NULL if MPI is enabled.
ParallelMachine parallel_machine_init (int *argc, char ***argv)
 parallel_machine_init calls MPI_Init.
void parallel_machine_finalize ()
 parallel_machine_finalize calls MPI_Finalize.
bool all_to_all_dense (ParallelMachine p_comm, const CommBuffer *const send, const CommBuffer *const recv, std::ostream &msg)
bool all_to_all_sparse (ParallelMachine p_comm, const CommBuffer *const send, const CommBuffer *const recv, std::ostream &msg)
size_t align_quad (size_t n)
bool comm_dense_sizes (ParallelMachine, const unsigned *const send_size, unsigned *const recv_size, bool local_flag=false)
 If the communication is known to be dense.
void sum_np_max_2_op (void *inv, void *outv, int *len, ParallelDatatype *)
bool comm_sizes (ParallelMachine, const unsigned num_msg_bound, unsigned &num_msg_maximum, const unsigned *const send_size, unsigned *const recv_size, bool local_flag=false)
 Given the send sizes determine the receive sizes.
void broadcast (ParallelMachine comm, void *buf, int n)
void all_write_string (ParallelMachine, std::ostream &, const std::string &)
 Write string from any or all processors to the ostream on the root processor.
void all_reduce (ParallelMachine arg_comm, ParallelReduceOp arg_op, void *arg_in, void *arg_out, unsigned arg_len)
void all_reduce_sum (ParallelMachine, const double *local, double *global, unsigned count)
 Parallel summation to all processors.
void all_reduce_sum (ParallelMachine, const float *local, float *global, unsigned count)
 Parallel summation to all processors.
void all_reduce_sum (ParallelMachine, const int *local, int *global, unsigned count)
 Parallel summation to all processors.
void all_reduce_sum (ParallelMachine, const size_t *local, size_t *global, unsigned count)
 Parallel summation to all processors.
void all_reduce_bor (ParallelMachine, const unsigned *local, unsigned *global, unsigned count)
 Parallel bitwise-or to all processors.
template<class ReduceOp>
void all_reduce (ParallelMachine, const ReduceOp &)
 Aggregated parallel in-place reduce-to-all-processors operations.
std::vector< Manager >::const_iterator lower_bound (const std::vector< Manager > &v, const std::type_info &t)
std::vector< Manager >::iterator lower_bound (std::vector< Manager > &v, const std::type_info &t)
std::string formatTime (double time, TimeFormat time_format)
int compare (const char *s1, const size_t s1_length, const char *s2, const size_t s2_length)
IdentifierA operator+ (const IdentifierA &identifier1, const IdentifierA &identifier2)
IdentifierA operator+ (const IdentifierA &identifier1, const std::string &string2)
std::string operator+ (const std::string &string1, const IdentifierA &identifier2)
std::ostream & operator<< (std::ostream &os, const IdentifierA &identifier)
std::istream & operator>> (std::istream &is, IdentifierA &identifier)
bool operator< (const std::string &s1, const IdentifierA &s2)
bool operator< (const IdentifierA &s1, const std::string &s2)
bool operator< (const IdentifierA &s1, const char *s2)
bool operator< (const IdentifierA &s1, const IdentifierA &s2)
bool operator== (const std::string &s1, const IdentifierA &s2)
bool operator== (const IdentifierA &s1, const std::string &s2)
bool operator== (const IdentifierA &s1, const char *s2)
bool operator== (const IdentifierA &s1, const IdentifierA &s2)
bool operator<= (const std::string &s1, const IdentifierA &s2)
bool operator<= (const IdentifierA &s1, const std::string &s2)
bool operator<= (const IdentifierA &s1, const char *s2)
bool operator<= (const IdentifierA &s1, const IdentifierA &s2)
bool operator> (const std::string &s1, const IdentifierA &s2)
bool operator> (const IdentifierA &s1, const std::string &s2)
bool operator> (const IdentifierA &s1, const char *s2)
bool operator> (const IdentifierA &s1, const IdentifierA &s2)
bool operator>= (const std::string &s1, const IdentifierA &s2)
bool operator>= (const IdentifierA &s1, const std::string &s2)
bool operator>= (const IdentifierA &s1, const char *s2)
bool operator>= (const IdentifierA &s1, const IdentifierA &s2)
bool operator!= (const std::string &s1, const IdentifierA &s2)
bool operator!= (const IdentifierA &s1, const std::string &s2)
bool operator!= (const IdentifierA &s1, const char *s2)
bool operator!= (const IdentifierA &s1, const IdentifierA &s2)
std::ostream & operator<< (std::ostream &os, const IdentifierB &identifier)
std::istream & operator>> (std::istream &is, IdentifierB &identifier)
IdentifierB operator+ (const IdentifierB &identifier1, const IdentifierB &identifier2)
IdentifierB operator+ (const IdentifierB &identifier1, const std::string &string2)
IdentifierB operator+ (const IdentifierB &identifier1, const char *string2)
std::string operator+ (const std::string &string1, const IdentifierB &identifier2)
bool operator< (const IdentifierB &s1, const std::string &s2)
bool operator< (const IdentifierB &s1, const char *s2)
bool operator< (const IdentifierB &s1, const IdentifierB &s2)
bool operator== (const std::string &s1, const IdentifierB &s2)
bool operator== (const IdentifierB &s1, const std::string &s2)
bool operator== (const IdentifierB &s1, const char *s2)
bool operator== (const IdentifierB &s1, const IdentifierB &s2)
bool operator<= (const std::string &s1, const IdentifierB &s2)
bool operator<= (const IdentifierB &s1, const std::string &s2)
bool operator<= (const IdentifierB &s1, const char *s2)
bool operator<= (const IdentifierB &s1, const IdentifierB &s2)
bool operator> (const std::string &s1, const IdentifierB &s2)
bool operator> (const IdentifierB &s1, const std::string &s2)
bool operator> (const IdentifierB &s1, const char *s2)
bool operator> (const IdentifierB &s1, const IdentifierB &s2)
bool operator>= (const std::string &s1, const IdentifierB &s2)
bool operator>= (const IdentifierB &s1, const std::string &s2)
bool operator>= (const IdentifierB &s1, const char *s2)
bool operator>= (const IdentifierB &s1, const IdentifierB &s2)
bool operator!= (const std::string &s1, const IdentifierB &s2)
bool operator!= (const IdentifierB &s1, const std::string &s2)
bool operator!= (const IdentifierB &s1, const char *s2)
bool operator!= (const IdentifierB &s1, const IdentifierB &s2)
bool operator< (const std::string &s1, const IdentifierB &s2)
template<class Ch, class Tr>
std::basic_ostream< Ch, Tr > & push (std::basic_ostream< Ch, Tr > &os)
template<class Ch, class Tr>
std::basic_ostream< Ch, Tr > & pop (std::basic_ostream< Ch, Tr > &os)
IndentFlags indent_flags (int flags)
template<class Ch, class Tr>
std::basic_ostream< Ch, Tr > & operator<< (std::basic_ostream< Ch, Tr > &os, IndentFlags indent_flags)
uint32_t crc32_reflect (uint32_t seed, const char c)
void crc32_initialize ()
void crc32_part (uint32_t &crc, const unsigned char *s, unsigned l)
uint32_t crc32 (const unsigned char *s, unsigned l)
void crc32_write (std::stringstream &os, const std::type_info &typeinfo)
void crc32_check (std::stringstream &is, const std::type_info &typeinfo)
template<>
Marshaloperator<< (Marshal &mout, const std::type_info &t)
 Function operator<< write the crc32 encoding of the name from the type information to the packed byte stream.
template<>
Marshaloperator>> (Marshal &min, const std::type_info &t)
 Function operator<< reads the crc32 encoding of the name from the type information from the packed byte stream.
template<>
Marshaloperator<< (Marshal &mout, const signed char &t)
template<>
Marshaloperator<< (Marshal &mout, const unsigned char &t)
template<>
Marshaloperator<< (Marshal &mout, const char &t)
template<>
Marshaloperator<< (Marshal &mout, const short &t)
template<>
Marshaloperator<< (Marshal &mout, const unsigned short &t)
template<>
Marshaloperator<< (Marshal &mout, const int &t)
template<>
Marshaloperator<< (Marshal &mout, const unsigned int &t)
template<>
Marshaloperator<< (Marshal &mout, const long &t)
template<>
Marshaloperator<< (Marshal &mout, const unsigned long &t)
template<>
Marshaloperator<< (Marshal &mout, const long long &t)
template<>
Marshaloperator<< (Marshal &mout, const unsigned long long &t)
template<>
Marshaloperator<< (Marshal &mout, const float &t)
template<>
Marshaloperator<< (Marshal &mout, const double &t)
template<>
Marshaloperator<< (Marshal &mout, const std::string &s)
template<>
Marshaloperator>> (Marshal &min, signed char &t)
template<>
Marshaloperator>> (Marshal &min, unsigned char &t)
template<>
Marshaloperator>> (Marshal &min, char &t)
template<>
Marshaloperator>> (Marshal &min, short &t)
template<>
Marshaloperator>> (Marshal &min, unsigned short &t)
template<>
Marshaloperator>> (Marshal &min, int &t)
template<>
Marshaloperator>> (Marshal &min, unsigned int &t)
template<>
Marshaloperator>> (Marshal &min, long &t)
template<>
Marshaloperator>> (Marshal &min, unsigned long &t)
template<>
Marshaloperator>> (Marshal &min, long long &t)
template<>
Marshaloperator>> (Marshal &min, unsigned long long &t)
template<>
Marshaloperator>> (Marshal &min, float &t)
template<>
Marshaloperator>> (Marshal &min, double &t)
template<>
Marshaloperator>> (Marshal &min, std::string &s)
template<typename T>
Marshaloperator<< (Marshal &mout, const T &t)
 Function operator<< writes the object to the packed byte stream.
template<typename T>
Marshaloperator>> (Marshal &min, T &t)
 Function operator>> reads the object from the packed byte stream.
template<class T>
Marshaloperator<< (Marshal &mout, const std::vector< T > &v)
template<class T>
Marshaloperator>> (Marshal &min, std::vector< T > &v)
template<class T>
Marshaloperator<< (Marshal &mout, const std::list< T > &l)
template<class T>
Marshaloperator>> (Marshal &min, std::list< T > &l)
template<class T>
Marshalwrite (Marshal &mout, const T &t)
template<typename T>
Marshalread (Marshal &min, T &t)
template<typename T>
PrintTableoperator<< (PrintTable &table, const T &t)
PrintTableoperator<< (PrintTable &tout, const cell_width &m)
PrintTableoperator<< (PrintTable &tout, const at &m)
PrintTableoperator<< (PrintTable &tout, const indent &m)
PrintTableoperator<< (PrintTable &tout, const justify &m)
PrintTableend_col (PrintTable &tout)
PrintTableend_row (PrintTable &tout)
PrintTableend_header (PrintTable &tout)
PrintTableend_format (PrintTable &tout)
PrintTablepush (PrintTable &tout)
PrintTablepop (PrintTable &tout)
PrintTablespan (PrintTable &tout)
std::ostream & operator<< (std::ostream &os, const PrintTable &table)
bool equal_case (const char *lhs, const char *rhs)
 Case-insensitive equality compare.
bool not_equal_case (const char *lhs, const char *rhs)
 Case-insensitive inequality compare.
bool less_case (const char *lhs, const char *rhs)
 Case-insensitive less-than compare.
bool less_equal_case (const char *lhs, const char *rhs)
 Case-insensitive less-than-or-equal-to compare.
bool greater_case (const char *lhs, const char *rhs)
 Case-insensitive greater-than compare.
bool greater_equal_case (const char *lhs, const char *rhs)
 Case-insensitive greater-than-or-equal-to compare.
bool equal_case (const std::string &lhs, const std::string &rhs)
 Case-insensitive equality compare.
bool not_equal_case (const std::string &lhs, const std::string &rhs)
 Case-insensitive inequality compare.
bool less_case (const std::string &lhs, const std::string &rhs)
 Case-insensitive less-than compare.
bool less_equal_case (const std::string &lhs, const std::string &rhs)
 Case-insensitive less-than-or-equal-to compare.
bool greater_case (const std::string &lhs, const std::string &rhs)
 Case-insensitive greater-than compare.
bool greater_equal_case (const std::string &lhs, const std::string &rhs)
 Case-insensitive greater-than-or-equal-to compare.

Variables

const unsigned tree_size [11]
REH s_reportHandler = &default_report_handler
stk::Bootstrap x (bootstrap)
MessageIdMap s_messageIdMap
MessageIdMap s_deferredMessageIdMap
DeferredMessageVector s_deferredMessageVector
MessageTypeInfoMap s_messageTypeInfo
static const char PUSH = '\016'
 Meta-character to increase indentation.
static const char POP = '\017'
 Meta-character to decrease indentation.
static const char LEFT = '\021'
 Meta-character to force left justification.
bool s_crcInitialized = false
 CRC table has been initialized.
uint32_t s_crcTable [256]
 CRC lookup table.
TypeNameMap s_typeNameMap
 CRC'd type name map.


Enumeration Type Documentation

enum stk::State

Enumeration State describes the current state of the caching for this controller.

Enumerator:
ON  Output is to be written to the log stream.
CACHE  Output is to be written to the cache stream.

Definition at line 181 of file LogControl.hpp.


Function Documentation

double stk::cpu_time (  ) 

Member function cpu_time returns the accumulated cpu time for the process as a double precision value in seconds to "millisecond" accuracy.

Returns:
a double value of the accumulated process CPU runtime.

Definition at line 16 of file CPUTime.cpp.

const char * stk::demangle ( const char *  symbol  ) 

Function demangle returns the demangled C++ symbol from the mangled C++ symbol.

The mangled named is obtained from the type_info name() function. From some compilers, the name is already demangled.

Parameters:
symbol a char const pointer to the symbol.
Returns:
a std::string value of the demangled name.

Definition at line 77 of file Demangle.cpp.

double stk::wall_time (  ) 

Member function wall_time returns the epoch as a double precision value in seconds to "millisecond" accuracy.

Returns:
a double value of the seconds since the 1/1/1970 epoch.

Definition at line 16 of file WallTime.cpp.

unsigned stk::parallel_machine_size ( ParallelMachine  parallel_machine  ) 

Member function parallel_machine_size .

..

Parameters:
m a ParallelMachine ...
Returns:
an unsigned int ...

Definition at line 18 of file Parallel.cpp.

unsigned stk::parallel_machine_rank ( ParallelMachine  parallel_machine  ) 

Member function parallel_machine_rank .

..

Parameters:
m a ParallelMachine ...
Returns:
an unsigned int ...

Definition at line 25 of file Parallel.cpp.

void stk::parallel_machine_barrier ( ParallelMachine  parallel_machine  ) 

Member function parallel_machine_barrier .

..

Definition at line 32 of file Parallel.cpp.

bool stk::comm_sizes ( ParallelMachine  ,
const unsigned  num_msg_bound,
unsigned &  num_msg_maximum,
const unsigned *const   send_size,
unsigned *const   recv_size,
bool  local_flag = false 
)

Given the send sizes determine the receive sizes.

Send and receive size arrays are dimensioned to the size of the parallel machine. Return global parallel logical OR of the input local flag. This parallel reduction is aggregated into the required communication for determining the sparse sizes. Output the receive sizes and maximum number of send or receive messages for a single processor. A dense all-to-all communication is used if: num_msg_bound < num_msg_maximum otherwise a set of point-to-point messages are used.

Definition at line 839 of file ParallelComm.cpp.

template<>
Marshal & stk::operator<< ( Marshal &  mout,
const std::type_info &  t 
)

Function operator<< write the crc32 encoding of the name from the type information to the packed byte stream.

When the bytes are read, the crc32 encoding of the type being read is varified.

Parameters:
mout a Marshal reference to the marshaller.
t a std::type_info const reference to the type information to write for verification when read on extraction.
Returns:
a Marshal reference to the marhsaller.

Definition at line 210 of file Marshal.cpp.

template<>
Marshal & stk::operator>> ( Marshal &  min,
const std::type_info &  t 
)

Function operator<< reads the crc32 encoding of the name from the type information from the packed byte stream.

The read crc32 is compared to the crc32 encoding of the name from the type information passed. If the two are different and exception is thrown.

Parameters:
min a Marshal reference to the marshaller.
t a std::type_info const reference to the type information to compare with the what was read from the packed byte stream.
Returns:
a Marshal reference to the marhsaller.

Definition at line 216 of file Marshal.cpp.

template<typename T>
Marshal& stk::operator<< ( Marshal &  mout,
const T &  t 
)

Function operator<< writes the object to the packed byte stream.

This is the template class and has no implementation. You must specialize this class to write an object.

Parameters:
mout a Marshal reference to the marshaller.
t a T const reference to the object to write.
Returns:
a Marshal reference to the marhsaller.

template<typename T>
Marshal& stk::operator>> ( Marshal &  min,
T &  t 
)

Function operator>> reads the object from the packed byte stream.

This is the template class and has no implementation. You must specialize this class to read an object.

Parameters:
min a Marshal reference to the marshaller.
t a T const reference to the object to read.
Returns:
a Marshal reference to the marhsaller.


Variable Documentation

const unsigned stk::tree_size[11] [static]

Initial value:

 {
  OctTreeSize< 0>::value ,
  OctTreeSize< 1>::value ,
  OctTreeSize< 2>::value ,
  OctTreeSize< 3>::value ,
  OctTreeSize< 4>::value ,
  OctTreeSize< 5>::value ,
  OctTreeSize< 6>::value ,
  OctTreeSize< 7>::value ,
  OctTreeSize< 8>::value ,
  OctTreeSize< 9>::value ,
  OctTreeSize<10>::value
}

Definition at line 168 of file OctTree.cpp.


Generated on Tue Jul 13 09:27:33 2010 for Sierra Toolkit by  doxygen 1.4.7