| Base 80b5e9 | Head #4499 e02e81 | ||||
|---|---|---|---|---|---|
| Total | Total | +/- | New | ||
| Rate | 65.65% | 65.64% | -0.00% | 100.00% | |
| Hits | 78738 | 78736 | -2 | 6 | |
| Misses | 41207 | 41209 | +2 | 0 | |
| Filename | Stmts | Miss | Cover |
|---|---|---|---|
| src/mesh/distributed_mesh.C | 0 | +2 | -0.25% |
| TOTAL | 0 | +2 | -0.00% |
codecodecode+
187 188 189 190 + 191 192 + 193 194 195 + 196 197 198 |
// Helper functions for complex/real numbers // to clean up #ifdef LIBMESH_USE_COMPLEX_NUMBERS elsewhere template<typename T> LIBMESH_DEVICE_INLINE T libmesh_real(T a) { return a; } template<typename T> LIBMESH_DEVICE_INLINE T libmesh_imag(T /*a*/) { return 0; } template<typename T> LIBMESH_DEVICE_INLINE T libmesh_conj(T a) { return a; } template<typename T> LIBMESH_DEVICE_INLINE T libmesh_real(std::complex<T> a) { return std::real(a); } template<typename T> LIBMESH_DEVICE_INLINE T libmesh_imag(std::complex<T> a) { return std::imag(a); } |
202 203 204 205 + 206 207 208 |
// std::isnan() is in <cmath> as of C++11. template <typename T> LIBMESH_DEVICE_INLINE bool libmesh_isnan(T x) { return std::isnan(x); } template <typename T> LIBMESH_DEVICE_INLINE bool libmesh_isnan(std::complex<T> a) |
210 211 212 213 + 214 215 216 |
// std::isinf() is in <cmath> as of C++11. template <typename T> LIBMESH_DEVICE_INLINE bool libmesh_isinf(T x) { return std::isinf(x); } template <typename T> LIBMESH_DEVICE_INLINE bool libmesh_isinf(std::complex<T> a) |
102 103 104 105 + 106 107 108 |
template<typename T> LIBMESH_DEVICE_INLINE auto norm_sq(const T & a) { return a * libmesh_conj(a); } template<typename T> LIBMESH_DEVICE_INLINE |
1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 |
sender_could_become_owner) { if (it != repartitioned_node_pids.end() && pid < it->second) it->second = pid; else repartitioned_node_pids[n] = pid; } else if (it == repartitioned_node_pids.end()) repartitioned_node_pids[n] = DofObject::invalid_processor_id; repartitioned_node_sets_to_push[pid].insert(n); |