9 #ifndef stk_util_use_cases_UseCaseEnvironement_hpp 10 #define stk_util_use_cases_UseCaseEnvironement_hpp 12 #include <stk_util/parallel/Parallel.hpp> 13 #include <stk_util/parallel/BroadcastArg.hpp> 15 #include <stk_util/diag/Writer_fwd.hpp> 16 #include <stk_util/diag/Timer.hpp> 19 #include <stk_util/environment/ProgramOptions.hpp> 20 #include <stk_util/environment/ReportHandler.hpp> 21 #include <stk_util/environment/RuntimeWarning.hpp> 22 #include <stk_util/environment/RuntimeDoomed.hpp> 29 LOG_ALWAYS = stk_classic::LOG_ALWAYS,
30 LOG_TRACE = stk_classic::LOG_TRACE,
31 LOG_TRACE_STATS = stk_classic::LOG_TRACE_STATS,
32 LOG_TRACE_SUB_CALLS = stk_classic::LOG_TRACE_SUB_CALLS,
33 LOG_MEMBERS = stk_classic::LOG_MEMBERS,
35 LOG_SEARCH = 0x0000010,
36 LOG_TRANSFER = 0x0000020,
49 MSG_PARALLEL_EXCEPTION
57 enum message_throttle_type {
58 MSG_APPLICATION = stk_classic::MSG_APPLICATION,
63 TIMER_MESH = 0x00000001,
64 TIMER_MESH_IO = 0x00000002,
65 TIMER_SEARCH = 0x00000004,
66 TIMER_TRANSFER = 0x00000008,
67 TIMER_ALL = 0xFFFFFFFF,
69 TIMER_FORCE = 0x00000000
77 std::ostream &
dwout();
85 void my_report_handler(
const char *message,
int type);
96 struct UseCaseEnvironment
99 UseCaseEnvironment(
int *argc,
char ***argv);
105 void initialize(
int* argc,
char ***argv);
107 ~UseCaseEnvironment();
110 std::string m_workingDirectory;
111 bool m_need_to_finalize;
116 #endif // stk_util_use_cases_UseCaseEnvironement_hpp
std::ostream & dout()
Diagnostic output stream.
std::ostream & dwout()
Diagnostic writer stream.
Message is informational.
std::ostream & pout()
Per-processor output stream (See RuntimeDeferredx)
std::ostream & out()
Normal output stream.
Message is a fatal error.
Class TimerSet implements a set of timer classifications. A time classification consists of a bit mas...
Class Writer implements a runtime selectable diagnostic output writer to aid in the development and d...
std::ostream & tout()
Regression test textual output stream.
LogMask
Enumeration LogMask enumerates global bit assignments.
Class Timer implements a diagnostic timer and timer container for the collection and display of execu...