Namespaces | Functions
Read_q.hpp File Reference
#include <petscksp.h>
#include "class.hpp"

Go to the source code of this file.

Namespaces

 SPE
 Namespace containing all functions and data classes for this solver.
 

Functions

int SPE::Read_q (SPE &data, std::string &buff)
 Read q from a tofile output from python. More...
 
int SPE::Read_q (Vec &output, const int n, std::string &buff)
 Read q from a tofile output from python. More...
 
int SPE::Read_q (PetscScalar output[], const int n, std::string &buff)
 Read y from a tofile output from python. More...
 
int SPE::Read_q (PetscScalar &output, std::string &buff)
 Read complex scalar from a tofile output from python. More...
 
PetscErrorCode SPE::Read_MatLabVec (Vec &output, std::string &buff)
 Read complex scalar vector from a matlab file (be sure this uses the PetscBinaryWrite() MatLab function) More...
 
PetscErrorCode SPE::Read_MatLabMat (Mat &output, std::string &buff)
 Read complex scalar matrix from a matlab file (be sure this uses the PetscBinaryWrite() MatLab function) More...
 
PetscErrorCode SPE::Read_MatLab (SPE &data, std::string &buff)
 Read input matrix and vectors input data from a matlab files (be sure this uses the PetscBinaryWrite() MatLab function) Reads and sets y, yVec, z, zVec, q, qp1, alpha, Deltay, and Deltaz quantities in the SPE class. More...