Expose `time` to the mechanisms (#1113)
The `vec_t_` time vector is already available to the mechanisms, but not exposed. It is indexed by `cell_index` instead of directly by the `node_index` (`vec_t[vec_ci_[node_index_[i]]]`). This kind of indexing was previously unavailble. It has not been added to the printers. This PR also includes some cleanup in the vectorized code printer. Address #1109
Showing
- modcc/identifier.hpp 1 addition, 0 deletionsmodcc/identifier.hpp
- modcc/module.cpp 12 additions, 3 deletionsmodcc/module.cpp
- modcc/printer/cprinter.cpp 174 additions, 109 deletionsmodcc/printer/cprinter.cpp
- modcc/printer/gpuprinter.cpp 25 additions, 7 deletionsmodcc/printer/gpuprinter.cpp
- modcc/printer/printerutil.cpp 8 additions, 3 deletionsmodcc/printer/printerutil.cpp
- modcc/printer/printerutil.hpp 3 additions, 2 deletionsmodcc/printer/printerutil.hpp
This diff is collapsed.
Please register or sign in to comment