----------------------------------------------------------------------------
| 2775 | |
| 2776 | //---------------------------------------------------------------------------- |
| 2777 | void avtFluentFileFormat::GetFaceTreeBinary() |
| 2778 | { |
| 2779 | int start = CaseBuffer.find('(', 1); |
| 2780 | int end = CaseBuffer.find(')',1); |
| 2781 | string info = CaseBuffer.substr(start+1,end-start-1 ); |
| 2782 | auto result = vtk::scan<int, int, int, int>(info, "{:x} {:x} {:x} {:x}"); |
| 2783 | auto& [faceId0, faceId1, parentZoneId, childZoneId] = result->values(); |
| 2784 | |
| 2785 | int dstart = CaseBuffer.find('(', 7); |
| 2786 | int dend = CaseBuffer.find(')', dstart+1); |
| 2787 | int ptr = dstart + 1; |
| 2788 | |
| 2789 | int numberOfKids, kid; |
| 2790 | for (int i = faceId0; i <=faceId1; i++) |
| 2791 | { |
| 2792 | Faces[i-1].parent = 1; |
| 2793 | numberOfKids = GetCaseBufferInt(ptr); |
| 2794 | ptr = ptr + 4; |
| 2795 | for (int j = 0; j < numberOfKids; j++) |
| 2796 | { |
| 2797 | kid = GetCaseBufferInt(ptr); |
| 2798 | ptr = ptr + 4; |
| 2799 | Faces[kid-1].child = 1; |
| 2800 | } |
| 2801 | } |
| 2802 | } |
| 2803 | |
| 2804 | //---------------------------------------------------------------------------- |
| 2805 | void avtFluentFileFormat::GetInterfaceFaceParentsAscii() |
no test coverage detected