ARTS 2.5.11 (git: 725533f0)
m_wigner.cc
Go to the documentation of this file.
1
9#include "messages.h"
10#include "wigner_functions.h"
11
12/* Workspace method: Doxygen documentation will be auto-generated */
13void Wigner6Init(Index& wigner_initialized,
14 const Index& fast_wigner_stored_symbols,
15 const Index& largest_wigner_symbol_parameter,
16 const Verbosity&) {
17 wigner_initialized = make_wigner_ready(int(largest_wigner_symbol_parameter), int(fast_wigner_stored_symbols), 6);
18}
19
20/* Workspace method: Doxygen documentation will be auto-generated */
21void Wigner3Init(Index& wigner_initialized,
22 const Index& fast_wigner_stored_symbols,
23 const Index& largest_wigner_symbol_parameter,
24 const Verbosity&) {
25 wigner_initialized = make_wigner_ready(int(largest_wigner_symbol_parameter), int(fast_wigner_stored_symbols), 3);
26}
27
28/* Workspace method: Doxygen documentation will be auto-generated */
29void WignerFastInfoPrint(const Index& wigner_initialized, const Verbosity&) {
30 ARTS_USER_ERROR_IF (not wigner_initialized,
31 "Must first initialize wigner...");
32
33#if DO_FAST_WIGNER
34 fastwigxj_print_stats();
35#else
37 "You cannot do this without having compiled with fast wigner.");
38#endif
39}
40
41/* Workspace method: Doxygen documentation will be auto-generated */
42void Wigner6Unload(Index& wigner_initialized, const Verbosity&) {
43 ARTS_USER_ERROR_IF (not wigner_initialized,
44 "Must first initialize wigner...");
45 wigner_initialized = 0;
46
47#if DO_FAST_WIGNER
48 fastwigxj_unload(3);
49 fastwigxj_unload(6);
50#endif
51 wig_table_free();
52}
53
54/* Workspace method: Doxygen documentation will be auto-generated */
55void Wigner3Unload(Index& wigner_initialized, const Verbosity&) {
56 ARTS_USER_ERROR_IF (not wigner_initialized,
57 "Must first initialize wigner...");
58 wigner_initialized = 0;
59
60#if DO_FAST_WIGNER
61 fastwigxj_unload(3);
62#endif
63 wig_table_free();
64}
#define ARTS_USER_ERROR(...)
Definition debug.h:153
#define ARTS_USER_ERROR_IF(condition,...)
Definition debug.h:137
void Wigner6Init(Index &wigner_initialized, const Index &fast_wigner_stored_symbols, const Index &largest_wigner_symbol_parameter, const Verbosity &)
WORKSPACE METHOD: Wigner6Init.
Definition m_wigner.cc:13
void WignerFastInfoPrint(const Index &wigner_initialized, const Verbosity &)
WORKSPACE METHOD: WignerFastInfoPrint.
Definition m_wigner.cc:29
void Wigner3Init(Index &wigner_initialized, const Index &fast_wigner_stored_symbols, const Index &largest_wigner_symbol_parameter, const Verbosity &)
WORKSPACE METHOD: Wigner3Init.
Definition m_wigner.cc:21
void Wigner6Unload(Index &wigner_initialized, const Verbosity &)
WORKSPACE METHOD: Wigner6Unload.
Definition m_wigner.cc:42
void Wigner3Unload(Index &wigner_initialized, const Verbosity &)
WORKSPACE METHOD: Wigner3Unload.
Definition m_wigner.cc:55
Declarations having to do with the four output streams.
Index make_wigner_ready(int largest, int fastest, int size)
Ready Wigner.
Wigner symbol interactions.