8 #ifndef SRC_C_TOOLKITS_CODIPACK_CODIPACKGLOBAL_H_
9 #define SRC_C_TOOLKITS_CODIPACK_CODIPACKGLOBAL_H_
14 #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
17 #if defined(_HAVE_CODIPACK_)
23 std::vector<int> input_indices;
24 std::vector<int> output_indices;
26 void print(std::ostream& out)
const {
27 out <<
"-------------------------------------\nCoDi_global:\n in = [ ";
28 for(
auto& in_index : input_indices) {
29 out << in_index <<
" ";
31 out <<
"]\n out = [ ";
32 for(
auto& out_index : output_indices) {
33 out << out_index <<
" ";
35 out <<
"]\n-------------------------------------\n";