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 "teca_config.h"
7 #include <iosfwd>
8 
9 /// A helper class for debug and error messages.
11 {};
12 
13 // Prints the callers rank and thread id to the given stream. This is a
14 // debug/diagnostic message and hence rank will always be reported relative to
15 // the WORLD communicator.
17 std::ostream &operator<<(std::ostream &os, const teca_parallel_id &id);
18 
19 #endif
operator<<
TECA_EXPORT std::ostream & operator<<(std::ostream &os, const teca_calendar_util::time_point &tpt)
send the time_point to a stream in humnan readable form
teca_parallel_id
A helper class for debug and error messages.
Definition: teca_parallel_id.h:10
teca_error::TECA_EXPORT
p_teca_error_handler error_handler TECA_EXPORT
The global error handler instance.