Lines Matching full:path
211 …This function opens the file specified by `path` using `PetscFOpen` and passes the file pointer in…
217 @param[in] path Path to the file
222 PetscErrorCode PhastaDatFileOpen(const MPI_Comm comm, const char path[], const PetscInt char_array_… in PhastaDatFileOpen() argument
228 PetscCall(PetscFOpen(comm, path, "r", fp)); in PhastaDatFileOpen()
231 …ETSC_ERR_FILE_UNEXPECTED, "Found %d dimensions instead of 2 on the first line of %s", ndims, path); in PhastaDatFileOpen()
239 @brief Get the number of rows for the PHASTA file at path.
244 @param[in] path Path to the file
247 PetscErrorCode PhastaDatFileGetNRows(const MPI_Comm comm, const char path[], PetscInt *nrows) { in PhastaDatFileGetNRows() argument
253 PetscCall(PhastaDatFileOpen(comm, path, char_array_len, dims, &fp)); in PhastaDatFileGetNRows()
263 @param[in] path Path to the file
266 PetscErrorCode PhastaDatFileReadToArrayReal(MPI_Comm comm, const char path[], PetscReal array[]) { in PhastaDatFileReadToArrayReal() argument
273 PetscCall(PhastaDatFileOpen(comm, path, char_array_len, dims, &fp)); in PhastaDatFileReadToArrayReal()
282 …of %s does not contain enough columns (%d instead of %" PetscInt_FMT ")", i, path, ndims, dims[1]); in PhastaDatFileReadToArrayReal()