Go to the documentation of this file.
83 os <<
" " << x <<
"\n";
98 os <<
" " << x[i].idx <<
" " << x[i].fd[0] <<
" " << x[i].fd[1]
147 Print( x.
np, level, verbosity );
153 Print( x.
z, level, verbosity );
196 os <<
"Ppath element " << i <<
": ";
198 Print( x[i], level, verbosity );
224 const Index& only_allocated,
231 os <<
" Allocated workspace variables: \n";
233 os <<
" Workspace variables: \n";
262 if ((starttime.realtime = times (&starttime.cputime)) == (clock_t)-1)
263 throw runtime_error (
"Timer error: Unable to get current CPU time");
271 throw runtime_error (
"Timer error: ARTS was compiled without POSIX support, thus timer\nfunctions are not available.");
280 const Timer& starttime,
286 static long clktck = 0;
289 if ((clktck = sysconf (_SC_CLK_TCK)) < 0)
290 throw runtime_error (
"Timer error: Unable to determine CPU clock ticks");
292 if ((endtime.realtime = times (&endtime.cputime)) == (clock_t)-1)
293 throw runtime_error (
"Timer error: Unable to get current CPU time");
296 cout.setf (ios::showpoint | ios::fixed);
298 out1 <<
" * CPU time total: " << setprecision (2)
299 << (
Numeric)((endtime.cputime.tms_stime - starttime.cputime.tms_stime)
300 + (endtime.cputime.tms_utime - starttime.cputime.tms_utime))
303 out1 <<
" user: " << setprecision (2)
304 << (
Numeric)(endtime.cputime.tms_utime - starttime.cputime.tms_utime)
307 out1 <<
" system: " << setprecision (2)
308 << (
Numeric)(endtime.cputime.tms_stime - starttime.cputime.tms_stime)
311 out1 <<
"\n real: " << setprecision (2)
312 << (
Numeric)(endtime.realtime - starttime.realtime) / (
Numeric)clktck;
314 out1 <<
" " << setprecision (2)
315 << (
Numeric)((endtime.cputime.tms_stime - starttime.cputime.tms_stime)
316 + (endtime.cputime.tms_utime - starttime.cputime.tms_utime))
317 / (
Numeric)(endtime.realtime - starttime.realtime) * 100.
326 throw runtime_error (
"Timer error: ARTS was compiled without POSIX support, thus timer\nfunctions are not available.");
343 out1 <<
" Forced exit.\n";
361 Print( gp, 0, verbosity );
void timerStart(Timer &, const Verbosity &)
WORKSPACE METHOD: timerStart.
void Exit(const Verbosity &verbosity)
WORKSPACE METHOD: Exit.
void Print(Workspace &ws, const Agenda &x, const Index &level, const Verbosity &verbosity)
void gridpos(ArrayOfGridPos &gp, ConstVectorView old_grid, ConstVectorView new_grid, const Numeric &extpolfac)
Set up a grid position Array.
void verbositySetFile(Verbosity &verbosity, const Index &level)
WORKSPACE METHOD: verbositySetFile.
#define SWITCH_OUTPUT(x, y)
This file contains the definition of Array.
The structure to describe a propagation path and releated quantities.
void verbositySetAgenda(Verbosity &verbosity, const Index &level)
WORKSPACE METHOD: verbositySetAgenda.
void Test(const Verbosity &verbosity)
WORKSPACE METHOD: Test.
Declarations having to do with the four output streams.
Verbosity verbosity_at_launch
The implementation for String, the ARTS string class.
void verbositySetScreen(Verbosity &verbosity, const Index &level)
WORKSPACE METHOD: verbositySetScreen.
void timerStop(const Timer &, const Verbosity &)
WORKSPACE METHOD: timerStop.
Index nelem() const
Returns the number of elements.
NUMERIC Numeric
The type to use for all floating point numbers.
void set_agenda_verbosity(Index v)
Index get_agenda_verbosity() const
void verbositySet(Verbosity &verbosity, const Index &agenda, const Index &screen, const Index &file)
WORKSPACE METHOD: verbositySet.
The class MakeVector is a special kind of Vector that can be initialized explicitly from one or more ...
void INCLUDE(const Verbosity &)
WORKSPACE METHOD: INCLUDE.
void PrintWsvName(OutputStream &outstream, Index i)
Print WSV name to output stream.
void PrintWorkspace(Workspace &ws, const Index &only_allocated, const Index &level, const Verbosity &verbosity)
void Error(const String &msg, const Verbosity &verbosity)
WORKSPACE METHOD: Error.
This file contains the declaration and partly the implementation of the workspace class.
void set_file_verbosity(Index v)
Index get_screen_verbosity() const
bool is_initialized(Index i)
Checks existence of the given WSV.
Index get_file_verbosity() const
INDEX Index
The type to use for all integer numbers and indices.
void verbosityInit(Verbosity &verbosity)
WORKSPACE METHOD: verbosityInit.
void arts_exit(int status)
This is the exit function of ARTS.
void set_screen_verbosity(Index v)
Index nelem() const
Number of elements.
Auxiliary header stuff related to workspace variable groups.
This file contains the definition of String, the ARTS string class.
The global header file for ARTS.
Template functions for general supergeneric ws methods.