5 gmvFile <<
"gmvinput " <<
format <<
nl;
9 gmvFile <<
points[indx].x() <<
" ";
14 gmvFile <<
points[indx].y() <<
" ";
19 gmvFile <<
points[indx].z() <<
" ";
22 gmvFile <<
"cells " <<
cells.size() <<
nl;
28 gmvFile <<
"hex " << 8 <<
" ";
29 for (
label ip=0; ip<nNodes; ip++)
31 gmvFile <<
cells[indx][ip] + 1 <<
" ";
37 gmvFile <<
"tet " << 4 <<
" ";
38 for (
label ip=0; ip<nNodes; ip++)
40 gmvFile <<
cells[indx][ip] + 1 <<
" ";
46 gmvFile <<
"prism " << 6 <<
" ";
47 for (
label ip=0; ip<nNodes; ip++)
49 gmvFile <<
cells[indx][ip] + 1 <<
" ";
#define forAll(list, i)
Loop across all elements in list.
List< cellShape > cellShapeList
List of cellShapes and PtrList of List of cellShape.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
vectorField pointField
pointField is a vectorField.
word format(conversionProperties.lookup("format"))