| 705 | int fields::is_phasing() { return phasein_time > 0; } |
| 706 | |
| 707 | bool fields::equal_layout(const fields &f) const { |
| 708 | if (a != f.a || num_chunks != f.num_chunks || v != f.v || S != f.S) return false; |
| 709 | for (int d = 0; d < 5; d++) |
| 710 | if (k[d] != f.k[d]) return false; |
| 711 | for (int i = 0; i < num_chunks; ++i) |
| 712 | if (chunks[i]->a != f.chunks[i]->a || chunks[i]->v != f.chunks[i]->v) return false; |
| 713 | return true; |
| 714 | } |
| 715 | |
| 716 | // total computational grid_volume, including regions redundant by symmetry |
| 717 | volume fields::total_volume(void) const { |
no outgoing calls
no test coverage detected