template for read from file
This commit is contained in:
@@ -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){
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user