Read_q.hpp
Go to the documentation of this file.
1 #ifndef READ_Q_H
2 #define READ_Q_H
3 #include <petscksp.h>
4 #include "class.hpp"
5 
6 namespace SPE
7 {
12  int Read_q(
13  SPE &data,
14  std::string &buff
15  );
20  int Read_q(
21  Vec &output,
22  const int n,
23  std::string &buff
24  );
29  int Read_q(
30  PetscScalar output[],
31  const int n,
32  std::string &buff
33  );
38  int Read_q(
39  PetscScalar &output,
40  std::string &buff
41  );
46  PetscErrorCode Read_MatLabVec(
47  Vec &output,
48  std::string &buff
49  );
54  PetscErrorCode Read_MatLabMat(
55  Mat &output,
56  std::string &buff
57  );
63  PetscErrorCode Read_MatLab(
64  SPE &data,
65  std::string &buff
66  );
67 }
68 #endif
Namespace containing all functions and data classes for this solver.
Definition: Ax_b.hpp:5
PetscErrorCode Read_MatLabMat(Mat &output, std::string &buff)
Read complex scalar matrix from a matlab file (be sure this uses the PetscBinaryWrite() MatLab functi...
Definition: Read_q.cpp:137
PetscErrorCode Read_MatLab(SPE &data, std::string &buff)
Read input matrix and vectors input data from a matlab files (be sure this uses the PetscBinaryWrite(...
Definition: Read_q.cpp:157
int Read_q(SPE &data, std::string &buff)
Read q from a tofile output from python.
Definition: Read_q.cpp:12
PetscErrorCode Read_MatLabVec(Vec &output, std::string &buff)
Read complex scalar vector from a matlab file (be sure this uses the PetscBinaryWrite() MatLab functi...
Definition: Read_q.cpp:117