Skip to content

Commit

Permalink
git clang-format main
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Baptiste Rouquier committed Dec 19, 2024
1 parent 9de3055 commit 7581f3f
Show file tree
Hide file tree
Showing 11 changed files with 237 additions and 165 deletions.
132 changes: 66 additions & 66 deletions include/hpcombi/bmat8_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
//****************************************************************************//

/** @file
@brief implementation of bmat8.hpp ; this file should not be included directly. */
@brief implementation of bmat8.hpp ; this file should not be included directly.
*/

// NOLINT(build/header_guard)

Expand All @@ -36,71 +37,70 @@ static const constexpr std::array<uint64_t, 8> COL_MASK = {
0x1010101010101010, 0x808080808080808, 0x404040404040404,
0x202020202020202, 0x101010101010101};

static const constexpr std::array<uint64_t, 64> BIT_MASK = {{
0x8000000000000000,
0x4000000000000000,
0x2000000000000000,
0x1000000000000000,
0x800000000000000,
0x400000000000000,
0x200000000000000,
0x100000000000000,
0x80000000000000,
0x40000000000000,
0x20000000000000,
0x10000000000000,
0x8000000000000,
0x4000000000000,
0x2000000000000,
0x1000000000000,
0x800000000000,
0x400000000000,
0x200000000000,
0x100000000000,
0x80000000000,
0x40000000000,
0x20000000000,
0x10000000000,
0x8000000000,
0x4000000000,
0x2000000000,
0x1000000000,
0x800000000,
0x400000000,
0x200000000,
0x100000000,
0x80000000,
0x40000000,
0x20000000,
0x10000000,
0x8000000,
0x4000000,
0x2000000,
0x1000000,
0x800000,
0x400000,
0x200000,
0x100000,
0x80000,
0x40000,
0x20000,
0x10000,
0x8000,
0x4000,
0x2000,
0x1000,
0x800,
0x400,
0x200,
0x100,
0x80,
0x40,
0x20,
0x10,
0x8,
0x4,
0x2,
0x1}};
static const constexpr std::array<uint64_t, 64> BIT_MASK = {{0x8000000000000000,
0x4000000000000000,
0x2000000000000000,
0x1000000000000000,
0x800000000000000,
0x400000000000000,
0x200000000000000,
0x100000000000000,
0x80000000000000,
0x40000000000000,
0x20000000000000,
0x10000000000000,
0x8000000000000,
0x4000000000000,
0x2000000000000,
0x1000000000000,
0x800000000000,
0x400000000000,
0x200000000000,
0x100000000000,
0x80000000000,
0x40000000000,
0x20000000000,
0x10000000000,
0x8000000000,
0x4000000000,
0x2000000000,
0x1000000000,
0x800000000,
0x400000000,
0x200000000,
0x100000000,
0x80000000,
0x40000000,
0x20000000,
0x10000000,
0x8000000,
0x4000000,
0x2000000,
0x1000000,
0x800000,
0x400000,
0x200000,
0x100000,
0x80000,
0x40000,
0x20000,
0x10000,
0x8000,
0x4000,
0x2000,
0x1000,
0x800,
0x400,
0x200,
0x100,
0x80,
0x40,
0x20,
0x10,
0x8,
0x4,
0x2,
0x1}};

inline bool BMat8::operator()(size_t i, size_t j) const noexcept {
HPCOMBI_ASSERT(i < 8);
Expand Down
Loading

0 comments on commit 7581f3f

Please sign in to comment.