| kspaceFirstOrder3D-OMP 1.0 The C++ implementation of the k-wave toolbox for the time-domain simulation of acoustic wave fields in 3D

- Main Page
- Classes
- Files

- File List
- File Members

Utils/ErrorMessages.h
Go to the documentation of this file.

    00001
    00032 #ifndef ERRORMESSAGES_H
    00033 #define  ERRORMESSAGES_H
    00034
    00035 //----------------------------- HDF5 error messages --------------------------//
    00036
    00038 const char * const HDF5_ERR_FMT_FileNotCreated          = "Error: File \"%s\" could not be created!\n";
    00040 const char * const HDF5_ERR_FMT_FileCannotRecreated      = "Error: Cannot recreate an opened file \"%s\"!\n";
    00042 const char * const HDF5_ERR_FMT_FileCannotReopen        = "Error: Cannot reopen an opened file \"%s\"!\n";
    00044 const char * const HDF5_ERR_FMT_FileNotClosed           = "Error: File \"%s\" could not be closed!\n";
    00046 const char * const HDF5_ERR_FMT_CouldNotWriteTo         = "Error: Could not write into \"%s\" dataset!\n";
    00048 const char * const HDF5_ERR_FMT_CouldNotReadFrom        = "Error: Could not read from \"%s\" dataset!\n";
    00050 const char * const HDF5_ERR_FMT_WrongDimensionSizes     = "Error: Dataset \"%s\"  has wrong dimension sizes!\n";
    00052 const char * const HDF5_ERR_FMT_FileNotOpened           = "Error: File \"%s\" could not be opened!\n";
    00054 const char * const HDF5_ERR_FMT_NotHDF5File             = "Error: File \"%s\" is not a valid HDF5 file!\n";
    00056 const char * const HDF5_ERR_FMT_DatasetNotOpened        = "Error: File \"%s\" could not open dataset \"%s\"!\n";
    00058 const char * const HDF5_ERR_FMT_CouldNotSetCompression  = "Error: File \"%s\", dataset \"%s\" could set compression level [%d]!\n";
    00060 const char * const HDF5_ERR_FMT_BadAttributeValue       = "Error: Bad attribute value: [%s,%s] = %s";
    00062 const char * const HDF5_ERR_FMT_CouldNotWriteToAttribute  = "Error: Could not write into \"%s\" attribute of \"%s\" dataset!\n";
    00064 const char * const HDF5_ERR_FMT_CouldNotReadFromAttribute = "Error: Could not read from \"%s\" attribute of \"%s\" dataset!\n";
    00065
    00066
    00067
    00068 //---------------------------------- Matrix Classes  -------------------------//
    00069
    00071 const char * const  Matrix_ERR_FMT_NotEnoughMemory  = "Error: Class %s: Memory allocation failed: Not Enough Memory\n";
    00073 const char * const  Matrix_ERR_FMT_MatrixNotFloat     = "Error: Matrix [%s] data type is not of single precision floating point!\n";
    00075 const char * const  Matrix_ERR_FMT_MatrixNotReal      = "Error: Matrix [%s] domain is not real!\n";
    00077 const char * const  Matrix_ERR_FMT_MatrixNotComplex   = "Error: Matrix [%s] domain is not complex!\n";
    00079 const char * const  Matrix_ERR_FMT_MatrixNotLong      = "Error: Matrix [%s] data type is not unsigned long!\n";
    00080
    00081 //--------------------------------- Matrix Container  ------------------------//
    00082
    00084 const char * const  MatrixContainer_ERR_FMT_RecordUnknownDistributionType =
    00085     "K-Space panic: Matrix [%s] has unknown distribution type in the C++ code!\n\
    00086     [File, line] : [%s,%d]!\n";
    00087
    00089 const char * const  MatrixContainer_ERR_FMT_ReloactaionError =
    00090     "K-Space panic: Matrix [%s] is being reallocated!\n\
    00091     [File, line] : [%s,%d]!\n";
    00092
    00093
    00094 //-------------------------- Command line Parameters  ------------------------//
    00095
    00097 const char * const CommandlineParameters_ERR_FMT_NoVerboseIntreval        = "Command line parsing error: No or invalid verbose interval provided!\n";
    00099 const char * const CommandlineParameters_ERR_FMT_NoThreadNumbers          = "Command line parsing error: No or invalid number of CPU threads!\n";
    00101 const char * const CommandlineParameters_ERR_FMT_NoCompressionLevel       = "Command line parsing error: No or invalid compression level!\n";
    00103 const char * const CommandlineParameters_ERR_FMT_NoStartTimestep          = "Command line parsing error: No or invalid collection start time step!\n";
    00105 const char * const CommandlineParameters_ERR_FMT_NoBenchmarkTimeStepCount = "Command line parsing error: No or invalid benchmark time step count!\n";
    00107 const char * const CommandlineParameters_ERR_FMT_NoInputFile =  "Error: The input file was not specified!\n";
    00109 const char * const CommandlineParameters_ERR_FMT_NoOutputFile=  "Error: The output file was not specified!\n";
    00111 const char * const Parameters_ERR_FMT_Illegal_alpha_power_value = "Error: Illegal value of alpha_power!";
    00113 const char * const Parameters_ERR_FMT_Illegal_StartTime_value   = "Error: The start index is out of the simulation span <%ld, %ld>!\n";
    00115 const char * const Parameters_ERR_FMT_IncorrectInputFileFormat = "Error: Incorrect input file\"%s\" format!\n";
    00117 const char * const Parameters_ERR_FMT_IncorrectMajorHDF5FileVersion = "Error: Incorrect major version of the HDF5 file %s (expected is %s)!\n";
    00119 const char * const Parameters_ERR_FMT_IncorrectMinorHDF5FileVersion = "Error: Incorrect minor version of the HDF5 file %s (expected is %s)!\n";
    00120
    00121 #endif   /* ERRORMESSAGES_H */
    00122

All Classes Files Functions Variables Typedefs Enumerations