template for read from file

This commit is contained in:
James McClure
2020-09-23 15:21:15 -04:00
parent b64431f335
commit 85844ec8e3
2 changed files with 7 additions and 0 deletions

View File

@@ -1286,3 +1286,8 @@ void ReadBinaryFile(char *FILENAME, double *Data, size_t N)
File.close(); File.close();
} }
void ReadFromFile(const std::string& Filename, DoubleArray &Mesh){
}

View File

@@ -244,6 +244,8 @@ private:
}; };
void ReadFromFile(const std::string& Filename, DoubleArray &Mesh);
void WriteCheckpoint(const char *FILENAME, const double *cDen, const double *cfq, size_t Np); void WriteCheckpoint(const char *FILENAME, const double *cDen, const double *cfq, size_t Np);
void ReadCheckpoint(char *FILENAME, double *cDen, double *cfq, size_t Np); void ReadCheckpoint(char *FILENAME, double *cDen, double *cfq, size_t Np);