Namespaces | Macros | Functions
Read_q.cpp File Reference
#include "Read_q.hpp"
#include "print.hpp"
#include "set_Vec.hpp"
#include "Init_Vec.hpp"
#include <string>
#include <iostream>

Namespaces

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

Macros

#define ANSI_COLOR_GREEN   "\x1b[32m"
 
#define ANSI_COLOR_RESET   "\x1b[0m"
 

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...
 

Macro Definition Documentation

#define ANSI_COLOR_GREEN   "\x1b[32m"
#define ANSI_COLOR_RESET   "\x1b[0m"