Lines Matching refs:nid
554 int n, t, num, nid, snum; in GmshReadNodes_v22() local
566 PetscCall(PetscViewerRead(viewer, &nid, 1, NULL, PETSC_ENUM)); in GmshReadNodes_v22()
568 if (byteSwap) PetscCall(PetscByteSwap(&nid, PETSC_ENUM, 1)); in GmshReadNodes_v22()
570 nodes->id[n] = nid; in GmshReadNodes_v22()
715 int info[3], nid; in GmshReadNodes_v40() local
744 PetscCall(PetscMemcpy(&nid, cnid, sizeof(int))); in GmshReadNodes_v40()
746 if (byteSwap) PetscCall(PetscByteSwap(&nid, PETSC_ENUM, 1)); in GmshReadNodes_v40()
748 nodes->id[n] = nid; in GmshReadNodes_v40()
755 PetscCall(PetscViewerRead(viewer, &nid, 1, NULL, PETSC_ENUM)); in GmshReadNodes_v40()
757 if (byteSwap) PetscCall(PetscByteSwap(&nid, PETSC_ENUM, 1)); in GmshReadNodes_v40()
759 nodes->id[n] = nid; in GmshReadNodes_v40()