Searched full:token (Results 1 – 4 of 4) sorted by relevance
| /libCEED/examples/fluids/src/ |
| H A D | misc.c | 116 PetscInt32 token; in LoadFluidsBinaryVec() local 121 PetscCall(PetscViewerBinaryRead(viewer, &token, 1, NULL, PETSC_INT32)); in LoadFluidsBinaryVec() 122 if (token == FLUIDS_FILE_TOKEN_32 || token == FLUIDS_FILE_TOKEN_64 || in LoadFluidsBinaryVec() 123 …token == FLUIDS_FILE_TOKEN) { // New style format; we're reading a file with step number and time… in LoadFluidsBinaryVec() 124 if (token == FLUIDS_FILE_TOKEN_32) file_type = PETSC_INT32; in LoadFluidsBinaryVec() 125 else if (token == FLUIDS_FILE_TOKEN_64) file_type = PETSC_INT64; in LoadFluidsBinaryVec() 130 …} else if (token == VEC_FILE_CLASSID) { // Legacy format of just the vector, encoded as [VEC_FILE… in LoadFluidsBinaryVec() 136 …} else SETERRQ(comm, PETSC_ERR_FILE_UNEXPECTED, "Not a fluids header token or a PETSc Vec in file"… in LoadFluidsBinaryVec()
|
| H A D | setupts.c | 230 PetscInt32 token = PetscDefined(USE_64BIT_INDICES) ? FLUIDS_FILE_TOKEN_64 : FLUIDS_FILE_TOKEN_32; in WriteOutput() local 231 PetscCall(PetscViewerBinaryWrite(viewer, &token, 1, PETSC_INT32)); in WriteOutput()
|
| /libCEED/.github/workflows/ |
| H A D | rust-test-with-style.yml | 40 token: ${{secrets.CODECOV_TOKEN}}
|
| /libCEED/examples/fluids/ |
| H A D | navierstokes.h | 370 // Versioning token for binary checkpoints
|