mirror of
https://github.com/paboyle/Grid.git
synced 2025-06-19 08:17:05 +01:00
working 7-link; Grid_log; generalShift
This commit is contained in:
@ -38,20 +38,6 @@ directory
|
||||
using namespace Grid;
|
||||
|
||||
|
||||
/*! @brief make the logger work like python print */
|
||||
template<typename... Args>
|
||||
inline std::string sjoin(Args&&... args) noexcept {
|
||||
std::ostringstream msg;
|
||||
(msg << ... << args);
|
||||
return msg.str();
|
||||
}
|
||||
template <typename... Args>
|
||||
inline void Grid_log(Args&&... args) {
|
||||
std::string msg = sjoin(std::forward<Args>(args)...);
|
||||
std::cout << GridLogMessage << msg << std::endl;
|
||||
}
|
||||
|
||||
|
||||
/*! @brief parameter file to easily adjust Nloop */
|
||||
struct ConfParameters: Serializable {
|
||||
GRID_SERIALIZABLE_CLASS_MEMBERS(
|
||||
|
Reference in New Issue
Block a user