kspaceFirstOrder3D-OMP  1.2
The C++ implementation of the k-wave toolbox for the time-domain simulation of acoustic wave fields in 3D
ErrorMessages.h File Reference

The header file containing routines for error messages and error messages common for both linux and windows version. The specific error messages are in separate files ErrorMessagesLinux.h and ErrorMessagesWindows.h. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

ErrorMessage kErrFmtPathDelimiters = "/\\_,.:-| ()[]{}"
 delimiters for linux paths
 
ErrorMessage kErrFmtOutOfMemory = "Error: Not enough CPU memory to run this simulation."
 error message - out of memory
 
ErrorMessage kErrFmtUnknownError = "Error: An unknown error happened. "
 Unknown error - unknown error.
 
ErrorMessage kErrFmtCannotCreateFile = "Error: File \"%s\" could not be created."
 HDF5 error message.
 
ErrorMessage kErrFmtCannotRecreateFile = "Error: Cannot recreate an opened file \"%s\"."
 HDF5 error message.
 
ErrorMessage kErrFmtCannotReopenFile = "Error: Cannot reopen an opened file \"%s\"."
 HDF5 error message.
 
ErrorMessage kErrFmtCannotCloseFile = "Error: File \"%s\" could not be closed."
 HDF5 error message.
 
ErrorMessage kErrFmtCannotWriteDataset = "Error: Could not write into \"%s\" dataset."
 HDF5 error message.
 
ErrorMessage kErrFmtCannotReadDataset = "Error: Could not read from \"%s\" dataset."
 HDF5 error message.
 
ErrorMessage kErrFmtBadDimensionSizes = "Error: Dataset \"%s\" has wrong dimension sizes."
 HDF5 error message.
 
ErrorMessage kErrFmtFileNotOpen = "Error: File \"%s\" was not found or could not be opened."
 HDF5 error message.
 
ErrorMessage kErrFmtNotHdf5File = "Error: File \"%s\" is not a valid HDF5 file."
 HDF5 error message.
 
ErrorMessage kErrFmtCannotOpenDataset = "Error: File \"%s\" could not open dataset \"%s\"."
 HDF5 error message.
 
ErrorMessage kErrFmtCannotSetCompression = "Error: File \"%s\", dataset \"%s\" could set compression level [%ld]."
 HDF5 error message.
 
ErrorMessage kErrFmtBadAttributeValue = "Error: Bad attribute value: [%s,%s] = %s."
 HDF5 error message.
 
ErrorMessage kErrFmtCannotWriteAttribute = "Error: Could not write into \"%s\" attribute of \"%s\" dataset."
 HDF5 error message.
 
ErrorMessage kErrFmtCannotReadAttribute = "Error: Could not read from \"%s\" attribute of \"%s\" dataset."
 HDF5 error message.
 
ErrorMessage kErrFmtCannotCreateGroup = "Error: Could not create group \"%s\" in file \"%s\"."
 HDF5 error message.
 
ErrorMessage kErrFmtCannotOpenGroup = "Error: Could not open group \"%s\" in file \"%s\"."
 HDF5 error message.
 
ErrorMessage kErrFmtBadInputFileType = "Error: The input file has not a valid format."
 HDF5 error message.
 
ErrorMessage kErrFmtBadOutputFileType = "Error: The output file has not a valid format."
 HDF5 error message.
 
ErrorMessage kErrFmtBadCheckpointFileType = "Error: The checkpoint file has not a valid format."
 HDF5 error message.
 
ErrorMessage kErrFmtMatrixNotFloat = "Error: Matrix [%s] data type is not of single precision floating point."
 Matrix class error message.
 
ErrorMessage kErrFmtMatrixNotReal = "Error: Matrix [%s] domain is not real."
 Matrix class error message.
 
ErrorMessage kErrFmtMatrixNotComplex = "Error: Matrix [%s] domain is not complex."
 Matrix class error message.
 
ErrorMessage kErrFmtMatrixNotIndex = "Error: Matrix [%s] data type is not unsigned long."
 Matrix class error message.
 
ErrorMessage kErrFmtBadMatrixType = "Error: Matrix [%s] has unknown type in the C++ code. [File, Line] : [%s,%d]."
 Matrix container error message.
 
ErrorMessage kErrFmtRelocationError = "Error: Matrix [%s] is being reallocated in matrix container."
 Matrix container error message.
 
ErrorMessage kErrFmtNoProgressPrintInterval = "Error: No or invalid progress print interval."
 Command line parameters error message.
 
ErrorMessage kErrFmtInvalidNumberOfThreads = "Error: No or invalid number of CPU threads."
 Command line parameters error message.
 
ErrorMessage kErrFmtNoCompressionLevel = "Error: No or invalid compression level."
 Command line parameters error message.
 
ErrorMessage kErrFmtNoSamplingStartTimeStep = "Error: No or invalid collection start time step."
 Command line parameters error message.
 
ErrorMessage kErrFmtNoBenchmarkTimeStep = "Error: No or invalid number of time step to benchmark."
 Command line parameters error message.
 
ErrorMessage kErrFmtNoVerboseLevel = "Error: No or invalid verbose level."
 Command line parameters error message.
 
ErrorMessage kErrFmtNoInputFile = "Error: The input file was not specified."
 Error message - input file was not specified.
 
ErrorMessage kErrFmtNoOutputFile = "Error: The output file was not specified."
 Command line parameters error message.
 
ErrorMessage kErrFmtNoCheckpointFile = "Error: The checkpoint file was not specified."
 Command line parameters error message.
 
ErrorMessage kErrFmtNoCheckpointInterval = "Error: The checkpoint interval was not specified."
 Command line parameters error message.
 
ErrorMessage kErrFmtUnknownParameter = "Error: Unknown command line parameter."
 Command line parameter error message.
 
ErrorMessage kErrFmtUnknownParameterOrArgument = "Error: Unknown command line parameter or missing argument."
 Command line parameter error message.
 
ErrorMessage kErrFmtIllegalAlphaPowerValue = "Error: Illegal value of alpha_power (must not equal to 1.0)."
 Command line parameters error message.
 
ErrorMessage kErrFmtIllegalSamplingStartTimeStep = "Error: The beginning of data sampling is out of the simulation time span <%zu, %zu>."
 Command line parameters error message.
 
ErrorMessage kErrFmtBadInputFileFormat = "Error: Incorrect input file\"%s\" format."
 Command line parameters error message.
 
ErrorMessage kErrFmtBadMajorFileVersion = "Error: Incorrect major version of the HDF5 file %s (expected is %s)."
 Command line parameters error message.
 
ErrorMessage kErrFmtBadMinorFileVersion = "Error: Incorrect minor version of the HDF5 file %s (expected is %s)."
 Command line parameters error message.
 
ErrorMessage kErrFmtBadSensorMaskType = "Error: The sensor mask type specified in the input file is not supported."
 Command line parameters error message.
 
ErrorMessage kErrFmtNonStaggeredVelocityNotSupportedFileVersion = "Error: --u_non_staggered_raw is not supported along with the input file of the version 1.0."
 Command line parameters error message.
 
ErrorMessage kErrFmtBadCheckpointFileFormat = "Error: Incorrect checkpoint file \"%s\" format."
 KSpaceFirstOrder3DSolver error message.
 
ErrorMessage kErrFmtBadOutputFileFormat = "Error: Incorrect output file \"%s\" format."
 KSpaceFirstOrder3DSolver error message.
 
ErrorMessage kErrFmtCheckpointDimensionsMismatch
 KSpaceFirstOrder3DSolver error message. More...
 
ErrorMessage kErrFmtOutputDimensionsMismatch
 KSpaceFirstOrder3DSolver error message. More...
 
ErrorMessage kErrFmtCreateR2CFftPlan3D = "creating plan for 3D real-to-complex fft."
 FFTW error message.
 
ErrorMessage kErrFmtCreateC2RFftPlan3D = "creating plan for 3D complex-to-real fft."
 FFTW error message.
 
ErrorMessage kErrFmtCreateR2CFftPlan1DX = "creating for 1D real-to-complex fft plan in X direction."
 FFTW error message.
 
ErrorMessage kErrFmtCreateR2CFftPlan1DY = "creating for 1D real-to-complex fft plan in Y direction."
 FFTW error message.
 
ErrorMessage kErrFmtCreateR2CFftPlan1DZ = "creating for 1D real-to-complex fft plan in Z direction."
 FFTW error message.
 
ErrorMessage kErrFmtCreateC2RFftPlan1DX = "creating for 1D complex-to-real fft plan in X direction."
 FFTW error message.
 
ErrorMessage kErrFmtCreateC2RFftPlan1DY = "creating for 1D complex-to-real fft plan in Y direction."
 FFTW error message.
 
ErrorMessage kErrFmtCreateC2RFftPlan1DZ = "creating 1D complex-to-real fft plan in Z direction."
 FFTW error message.
 
ErrorMessage kErrFmtDestroyR2CFftPlan3D = "destroying plan for 3D real-to-complex fft."
 FFTW error message.
 
ErrorMessage kErrFmtDestroyC2RFftPlan3D = "destroying plan for 3D complex-to-real fft."
 FFTW error message.
 
ErrorMessage kErrFmtDestroyR2CFftPlan1DX = "destroying for 1D real-to-complex fft plan in X direction."
 FFTW error message.
 
ErrorMessage kErrFmtDestroyR2CFftPlan1DY = "destroying for 1D real-to-complex fft plan in Y direction."
 FFTW error message.
 
ErrorMessage kErrFmtDestroyR2CFftPlan1DZ = "destroying for 1D real-to-complex fft plan in Z direction."
 FFTW error message.
 
ErrorMessage kErrFmtDestroyC2RFftPlan1DX = "destroying for 1D complex-to-real fft plan in X direction."
 FFTW error message.
 
ErrorMessage kErrFmtDestroyC2RFftPlan1DY = "destroying for 1D complex-to-real fft plan in Y direction."
 FFTW error message.
 
ErrorMessage kErrFmtDestroyC2RFftPlan1DZ = "destroying 1D complex-to-real fft plan in Z direction."
 FFTW error message.
 
ErrorMessage kErrFmtExecuteR2CFftPlan3D = "executing plan for 3D real-to-complex fft."
 FFTW error message.
 
ErrorMessage kErrFmtExecuteC2RFftPlan3D = "executing plan for 3D complex-to-real fft."
 FFTW error message.
 
ErrorMessage kErrFmtExecuteR2CFftPlan1DX = "executing for 1D real-to-complex fft plan in X direction."
 FFTW error message.
 
ErrorMessage kErrFmtExecuteR2CFftPlan1DY = "executing for 1D real-to-complex fft plan in Y direction."
 FFTW error message.
 
ErrorMessage kErrFmtExecuteR2CFftPlan1DZ = "executing for 1D real-to-complex fft plan in Z direction."
 FFTW error message.
 
ErrorMessage kErrFmtExecuteC2RFftPlan1DX = "executing for 1D complex-to-real fft plan in X direction."
 FFTW error message.
 
ErrorMessage kErrFmtExecuteC2RFftPlan1DY = "executing for 1D complex-to-real fft plan in Y direction."
 FFTW error message.
 
ErrorMessage kErrFmtExecuteC2RFftPlan1DZ = "executing 1D complex-to-real fft plan in Z direction."
 FFTW error message.
 
ErrorMessage kErrFmtFftWisdomNotExported = "Warning: Wisdom could not be exported."
 FFTW error message.
 
ErrorMessage ErrFmtFftWisdomNotImported = "Warning: Wisdom could not be imported."
 FFTW error message.
 

Detailed Description

Author
Jiri Jaros
Faculty of Information Technology
Brno University of Technology
jaros.nosp@m.jir@.nosp@m.fit.v.nosp@m.utbr.nosp@m..cz
Version
kspaceFirstOrder3D 2.16
Date
30 August 2017, 11:39 (created)
04 September 2017, 15:05 (revised)

This file is part of the C++ extension of the k-Wave Toolbox.

This file is part of the k-Wave. k-Wave is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

k-Wave is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with k-Wave. If not, see http://www.gnu.org/licenses/.

Definition in file ErrorMessages.h.

Variable Documentation

◆ kErrFmtCheckpointDimensionsMismatch

ErrorMessage kErrFmtCheckpointDimensionsMismatch
Initial value:
= "Error: The dimensions [%ld, %ld, %ld] of the checkpoint file don't match the simulation "
"dimensions [%ld, %ld, %ld]."

Definition at line 220 of file ErrorMessages.h.

◆ kErrFmtOutputDimensionsMismatch

ErrorMessage kErrFmtOutputDimensionsMismatch
Initial value:
= "Error: The dimensions [%ld, %ld, %ld] of the output file don't match the simulation "
"dimensions [%ld, %ld, %ld]."

Definition at line 225 of file ErrorMessages.h.