ARTS
2.2.66
|
Template functions for general supergeneric ws methods. More...
#include "arts.h"
#include <iostream>
#include <stdexcept>
#include "messages.h"
#include "ppath.h"
#include "special_interp.h"
#include "mystring.h"
#include "cia.h"
Go to the source code of this file.
Classes | |
class | Timer |
Macros | |
#define | SWITCH_OUTPUT(x, y) |
Functions | |
template<typename T > | |
void | Print (const T &x, const Index &level, const Verbosity &verbosity) |
WORKSPACE METHOD: Print. More... | |
void | Print (Workspace &ws, const Agenda &x, const Index &level, const Verbosity &verbosity) |
void | Print (const ArrayOfGridPos &x, const Index &level, const Verbosity &verbosity) |
void | Print (const ArrayOfCIARecord &x, const Index &level, const Verbosity &verbosity) |
void | Print (const ArrayOfString &x, const Index &level, const Verbosity &verbosity) |
void | Print (const Ppath &ppath, const Index &level, const Verbosity &verbosity) |
void | Print (const ArrayOfPpath &x, const Index &level, const Verbosity &verbosity) |
void | Print (const Timer &x, const Index &level, const Verbosity &verbosity) |
void | PrintWorkspace (Workspace &ws, const Index &only_allocated, const Index &level, const Verbosity &verbosity) |
Template functions for general supergeneric ws methods.
Definition in file m_general.h.
#define SWITCH_OUTPUT | ( | x, | |
y | |||
) |
Definition at line 45 of file m_general.h.
Referenced by Print(), PrintWorkspace(), and TangentPointPrint().
WORKSPACE METHOD: Print.
Prints a variable on the screen.
[in] | in | Generic Input |
[in] | level | Generic Input (Default: "1") |
Definition at line 74 of file m_general.h.
References CREATE_OUTS, Print(), PrintWorkspace(), and SWITCH_OUTPUT.
Referenced by Print().
Definition at line 81 of file m_general.cc.
References CREATE_OUTS, Agenda::name(), Agenda::print(), and SWITCH_OUTPUT.
Referenced by CIAInfo(), main(), Print(), Print_sg_Agenda_g(), Print_sg_ArrayOfArrayOfGriddedField1_g(), Print_sg_ArrayOfArrayOfGriddedField2_g(), Print_sg_ArrayOfArrayOfGriddedField3_g(), Print_sg_ArrayOfArrayOfIndex_g(), Print_sg_ArrayOfArrayOfLineMixingRecord_g(), Print_sg_ArrayOfArrayOfLineRecord_g(), Print_sg_ArrayOfArrayOfMatrix_g(), Print_sg_ArrayOfArrayOfSpeciesTag_g(), Print_sg_ArrayOfArrayOfTensor3_g(), Print_sg_ArrayOfArrayOfTensor6_g(), Print_sg_ArrayOfArrayOfVector_g(), Print_sg_ArrayOfCIARecord_g(), Print_sg_ArrayOfGriddedField1_g(), Print_sg_ArrayOfGriddedField2_g(), Print_sg_ArrayOfGriddedField3_g(), Print_sg_ArrayOfGriddedField4_g(), Print_sg_ArrayOfIndex_g(), Print_sg_ArrayOfLineMixingRecord_g(), Print_sg_ArrayOfLineRecord_g(), Print_sg_ArrayOfLineshapeSpec_g(), Print_sg_ArrayOfMatrix_g(), Print_sg_ArrayOfRetrievalQuantity_g(), Print_sg_ArrayOfScatteringMetaData_g(), Print_sg_ArrayOfSingleScatteringData_g(), Print_sg_ArrayOfSparse_g(), Print_sg_ArrayOfString_g(), Print_sg_ArrayOfTensor3_g(), Print_sg_ArrayOfTensor4_g(), Print_sg_ArrayOfTensor6_g(), Print_sg_ArrayOfTensor7_g(), Print_sg_ArrayOfVector_g(), Print_sg_GasAbsLookup_g(), Print_sg_GriddedField1_g(), Print_sg_GriddedField2_g(), Print_sg_GriddedField3_g(), Print_sg_GriddedField4_g(), Print_sg_GriddedField5_g(), Print_sg_GriddedField6_g(), Print_sg_GridPos_g(), Print_sg_Index_g(), Print_sg_Matrix_g(), Print_sg_MCAntenna_g(), Print_sg_Numeric_g(), Print_sg_Ppath_g(), Print_sg_ScatteringMetaData_g(), Print_sg_SingleScatteringData_g(), Print_sg_Sparse_g(), Print_sg_SpeciesAuxData_g(), Print_sg_String_g(), Print_sg_Tensor3_g(), Print_sg_Tensor4_g(), Print_sg_Tensor5_g(), Print_sg_Tensor6_g(), Print_sg_Tensor7_g(), Print_sg_Timer_g(), Print_sg_Vector_g(), and Print_sg_Verbosity_g().
void Print | ( | const ArrayOfGridPos & | x, |
const Index & | level, | ||
const Verbosity & | verbosity | ||
) |
Definition at line 98 of file m_general.cc.
References CREATE_OUTS, Array< base >::nelem(), and SWITCH_OUTPUT.
void Print | ( | const ArrayOfCIARecord & | x, |
const Index & | level, | ||
const Verbosity & | verbosity | ||
) |
Definition at line 116 of file m_general.cc.
References CREATE_OUTS, Array< base >::nelem(), ConstVectorView::nelem(), SPEED_OF_LIGHT, and SWITCH_OUTPUT.
void Print | ( | const ArrayOfString & | x, |
const Index & | level, | ||
const Verbosity & | verbosity | ||
) |
Definition at line 147 of file m_general.cc.
References CREATE_OUTS, Array< base >::nelem(), and SWITCH_OUTPUT.
Definition at line 166 of file m_general.cc.
References Ppath::background, Ppath::constant, CREATE_OUTS, Ppath::dim, Ppath::end_los, Ppath::end_lstep, Ppath::end_pos, Ppath::gp_lat, Ppath::gp_lon, Ppath::gp_p, Ppath::los, Ppath::lstep, Ppath::ngroup, Ppath::np, Ppath::nreal, Ppath::pos, Print(), Ppath::r, Ppath::start_los, Ppath::start_lstep, Ppath::start_pos, and SWITCH_OUTPUT.
void Print | ( | const ArrayOfPpath & | x, |
const Index & | level, | ||
const Verbosity & | verbosity | ||
) |
Definition at line 221 of file m_general.cc.
References CREATE_OUTS, Timer::finished, Array< base >::nelem(), Print(), and SWITCH_OUTPUT.
Definition at line 288 of file m_general.cc.
References SWITCH_OUTPUT.
void PrintWorkspace | ( | Workspace & | ws, |
const Index & | only_allocated, | ||
const Index & | level, | ||
const Verbosity & | verbosity | ||
) |
Definition at line 300 of file m_general.cc.
References CREATE_OUTS, Workspace::is_initialized(), Workspace::nelem(), PrintWsvName(), and SWITCH_OUTPUT.
Referenced by Print(), and PrintWorkspace_g().