Go to the documentation of this file.
35 ofs <<
"/*! \\file workspace_memory_handler.cc\n"
37 <<
" * \\brief Defines global workspace_handler_objects and its \n"
38 <<
" * dispatch functions.\n\n"
39 <<
" * <b>DO NOT EDIT!</b>\n\n"
40 <<
" * \\date " << __DATE__ <<
", " << __TIME__ <<
"\n"
43 ofs <<
"#include \"workspace_memory_handler.h\"\n"
44 <<
"#include <iostream>\n"
45 <<
"#include \"matpackII.h\"\n"
46 <<
"#include \"m_general.h\"\n"
47 <<
"#include \"supergeneric.h\"\n"
48 <<
"#include \"artstime.h\"\n"
49 <<
"#include \"ppath.h\"\n"
50 <<
"#include \"gas_abs_lookup.h\"\n"
51 <<
"#include \"linemixing_hitran.h\"\n"
52 <<
"#include \"optproperties.h\"\n"
53 <<
"#include \"gridded_fields.h\"\n"
54 <<
"#include \"jacobian.h\"\n"
55 <<
"#include \"agenda_class.h\"\n"
56 <<
"#include \"mc_interp.h\"\n"
57 <<
"#include \"mc_antenna.h\"\n"
58 <<
"#include \"cia.h\"\n"
59 <<
"#include \"propagationmatrix.h\"\n"
60 <<
"#include \"transmissionmatrix.h\"\n"
61 <<
"#include \"covariance_matrix.h\"\n"
62 <<
"#include \"telsem.h\"\n"
63 <<
"#include \"tessem.h\"\n"
64 <<
"#include \"hitran_xsec.h\"\n"
65 <<
"#include \"absorptionlines.h\"\n"
68 ofs <<
"// Allocation and deallocation routines for workspace groups\n";
81 ofs <<
" /// Initialization dispatch functions.\n"
82 <<
"void WorkspaceMemoryHandler::initialize() {\n"
88 ofs <<
" allocation_ptrs_[" << i <<
"] = allocate_wsvg_" <<
wsv_group_names[i]
90 <<
" deallocation_ptrs_[" << i <<
"] = deallocate_wsvg_" <<
wsv_group_names[i]
92 <<
" duplication_ptrs_[" << i <<
"] = duplicate_wsvg_" <<
wsv_group_names[i]
96 }
catch (
const std::runtime_error &
x) {
97 cout <<
"Something went wrong. Message text:\n";
98 cout <<
x.what() <<
'\n';
This file contains the definition of Array.
Implementation of Matrix, Vector, and such stuff.
void define_wsv_group_names()
Define the array of workspace variable group names.
void open_output_file(ofstream &file, const String &name)
Open a file for writing.
This file contains basic functions to handle ASCII files.
Vector x(Workspace &ws) noexcept
INDEX Index
The type to use for all integer numbers and indices.
const ArrayOfString wsv_group_names
The names associated with Wsv groups as Strings.
Index nelem() const
Number of elements.
The global header file for ARTS.