Skip to content

Commit df6c531

Browse files
committed
add user-defined literal for SI conductivity
1 parent 158f0dd commit df6c531

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

kul.hpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2245,6 +2245,12 @@ auto operator""_H(long double v)
22452245
return henries<double>(v);
22462246
}
22472247

2248+
KOKKOS_INLINE_FUNCTION constexpr
2249+
auto operator""_S_per_m(long double v)
2250+
{
2251+
return siemens_per_meter_quantity<double>(v);
2252+
}
2253+
22482254
}
22492255

22502256
// Section [where]: where(mask, quantity) = rhs for compatibility with SIMD

0 commit comments

Comments
 (0)