62 return (
va >= 0 &&
va <= 3) && (
vs >= 0 && vs <= 3) && (vf >= 0 &&
vf <= 3);
99 return (sufficient_priority_agenda() &&
100 (sufficient_priority_screen() || sufficient_priority_file()));
108 return (
in_main_agenda() || verbosity.get_agenda_verbosity() >= priority);
116 return verbosity.get_screen_verbosity() >= priority;
124 return verbosity.get_file_verbosity() >= priority;
179 #pragma omp critical(ArtsOut_screen) 189 #pragma omp critical(ArtsOut_file) 192 report_file << t << flush;
204 #define CREATE_OUT0 ArtsOut0 out0(verbosity) 205 #define CREATE_OUT1 ArtsOut1 out1(verbosity) 206 #define CREATE_OUT2 ArtsOut2 out2(verbosity) 207 #define CREATE_OUT3 ArtsOut3 out3(verbosity) 209 #define CREATE_OUTS \ 210 ArtsOut0 out0(verbosity); \ 211 ArtsOut1 out1(verbosity); \ 212 ArtsOut2 out2(verbosity); \ 213 ArtsOut3 out3(verbosity) INDEX Index
The type to use for all integer numbers and indices.
Index get_agenda_verbosity() const
ArtsOut(const int p, const Verbosity &v)
void set_agenda_verbosity(Index v)
bool is_main_agenda() const
Verbosity(Index vagenda, Index vscreen, Index vfile)
const Verbosity & verbosity
ArtsOut1(const Verbosity &v)
bool in_main_agenda() const
Are we in the main agenda?
Index va
Verbosity for agenda output.
This file contains the definition of Array.
ArtsOut3(const Verbosity &v)
The global header file for ARTS.
Index vf
Verbosity for output to file.
const Verbosity & get_verbosity() const
void set_file_verbosity(Index v)
void set_main_agenda(bool main_agenda)
friend ostream & operator<<(ostream &os, const Verbosity &v)
bool sufficient_priority_agenda() const
Does the current message have sufficient priority for agenda?
ofstream report_file
The report file.
Index vs
Verbosity for output to screen.
bool sufficient_priority_file() const
Does the current message have sufficient priority for file?
bool sufficient_priority_screen() const
Does the current message have sufficient priority for screen?
Index get_file_verbosity() const
bool sufficient_priority() const
Does the current message have sufficient priority for output?
ArtsOut0(const Verbosity &v)
ArtsOut2(const Verbosity &v)
Index get_screen_verbosity() const
Header file for helper functions for OpenMP.
bool valid() const
Check if artsmessages contains valid message levels.
void set_screen_verbosity(Index v)