Home
last modified time | relevance | path

Searched full:token (Results 1 – 4 of 4) sorted by relevance

/libCEED/examples/fluids/src/
H A Dmisc.c116 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()
123token == 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 Dsetupts.c230 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 Drust-test-with-style.yml40 token: ${{secrets.CODECOV_TOKEN}}
/libCEED/examples/fluids/
H A Dnavierstokes.h370 // Versioning token for binary checkpoints