Go to the documentation of this file.
41 out3 <<
" Manual agenda execution\n";
52 out3 <<
" Manual, exclusive agenda execution\n";
54 #pragma omp critical(AgendaExecuteExclusive_region)
66 const Agenda& input_agenda,
69 output_agenda = input_agenda;
72 output_agenda.
check(ws, verbosity);
81 const String& output_agenda_name,
85 const String& in_agenda_name,
87 const Agenda& input_agenda,
90 if (output_agenda_name != in_agenda_name)
93 os <<
"Output and input agenda must be the same!" << endl
94 <<
"*" << output_agenda_name <<
"* and *" << in_agenda_name <<
"* "
96 throw runtime_error (os.str());
100 for (
Index i = 0; i < input_agenda.
Methods().nelem(); i++)
101 methods.push_back(input_agenda.
Methods()[i]);
104 output_agenda.
check(ws, verbosity);
123 const Agenda& input_agenda,
Declarations for AgRecord, storing lookup information for one agenda.
void execute(Workspace &ws) const
Execute an agenda.
Index get_wsv_id(const String &name)
Get index of WSV.
void set_methods(const Array< MRecord > &ml)
void AgendaExecuteExclusive(Workspace &ws, const Agenda &this_agenda, const Verbosity &verbosity)
WORKSPACE METHOD: AgendaExecuteExclusive.
Declarations for agendas.
void AgendaAppend(Workspace &ws, Agenda &output_agenda, const String &output_agenda_name, const Agenda &in_agenda, const String &in_agenda_name, const Agenda &input_agenda, const Verbosity &verbosity)
WORKSPACE METHOD: AgendaAppend.
Declarations having to do with the four output streams.
The implementation for String, the ARTS string class.
void AgendaSet(Workspace &ws, Agenda &output_agenda, const String &agenda_name, const Agenda &input_agenda, const Verbosity &verbosity)
WORKSPACE METHOD: AgendaSet.
void Arts(Workspace &, const Agenda &, const Verbosity &verbosity)
WORKSPACE METHOD: Arts.
void check(Workspace &ws, const Verbosity &verbosity)
Checks consistency of an agenda.
This file contains the declaration and partly the implementation of the workspace class.
void Arts2(Workspace &ws, const Agenda &input_agenda, const Verbosity &verbosity)
WORKSPACE METHOD: Arts2.
void AgendaExecute(Workspace &ws, const Agenda &this_agenda, const Verbosity &verbosity)
WORKSPACE METHOD: AgendaExecute.
void set_name(const String &nname)
Set agenda name.
INDEX Index
The type to use for all integer numbers and indices.
const Array< MRecord > & Methods() const
void arts_exit_with_error_message(const String &m, ArtsOut &out)
Print error message and exit.
Auxiliary header stuff related to workspace variable groups.