Newer
Older
/*
* (c) Copyright 2020 CORSIKA Project, corsika-project@lists.kit.edu
*
* See file AUTHORS for a list of contributors.
*
* This software is distributed under the terms of the GNU General Public
* Licence version 3 (GPL Version 3). See file LICENSE for a full version of
* the license.
*/
throw std::runtime_error("CorDataOpenFile: Cannot read compressed data files with dummy library.");
throw std::runtime_error("CorDataFillArray: Cannot read compressed data files with dummy library.");
throw std::runtime_error("CorDataCloseFile: Cannot read compressed data files with dummy library.");
throw std::runtime_error("CorDataNextNumber: Cannot read compressed data files with dummy library.");
throw std::runtime_error("CorDataNextText(string&): Cannot read compressed data files with dummy library.");
throw std::runtime_error("CorDataNextText(char*): Cannot read compressed data files with dummy library.");
bool CorDataCanDeCompress() { return false; }
// the fortran interface functions
extern "C" {
void cordataopenfile_(const char* name) { CorDataOpenFile(name); }
void cordatafillarray_(double* data, const int& length) {
CorDataFillArray(data, length);
}
void cordataclosefile_() { CorDataCloseFile(); }
double cordatanextnumber_() { return CorDataNextNumber(); }
void cordatanexttext_(char*, int) {
throw std::runtime_error("cordatanexttext_: Cannot read compressed data files with dummy library.");