TECA
The Toolkit for Extreme Climate Analysis
teca_parallel_id.h
Go to the documentation of this file.
1 #ifndef teca_parallel_id_h
2 #define teca_parallel_id_h
3 
4 /// @file
5 
6 #include <iosfwd>
7 
8 /// A helper class for debug and error messages.
10 {};
11 
12 // Prints the callers rank and thread id to the given stream. This is a
13 // debug/diagnostic message and hence rank will always be reported relative to
14 // the WORLD communicator.
15 std::ostream &operator<<(
16  std::ostream &os,
17  const teca_parallel_id &id);
18 
19 #endif
teca_parallel_id
A helper class for debug and error messages.
Definition: teca_parallel_id.h:9
operator<<
std::ostream & operator<<(std::ostream &os, const teca_calendar_util::time_point &tpt)
send the time_point to a stream in humnan readable form