SPI
SLEPc PETSc Interface is used for rapid development and intuitive matrix operations similar to MatLab or NumPy style of operations
SPIprint.hpp
Go to the documentation of this file.
1 #ifndef SPIPRINT_H
2 #define SPIPRINT_H
3 #include <iostream>
4 #include <string>
5 #include <petscksp.h>
6 // #include <errno.h>
7 // #include <../src/sys/fileio/mprint.h>
8 
9 namespace SPI{
10  PetscInt printf(std::string msg,...); // print a message to string using PetscPrintf (also adds newline at end)
11  PetscInt printfc(std::string msg,const PetscScalar val); // print a message to string using PetscPrintf (also adds newline at end) with PetscScalars as input and two formats per argument (only one scalar)
12 
13 
14 }
15 
16 
17 
18 #endif
SPI::printf
PetscInt printf(std::string msg,...)
Definition: SPIprint.cpp:5
SPI
Definition: SPIbaseflow.hpp:16
SPI::printfc
PetscInt printfc(std::string msg, const PetscScalar val)
Definition: SPIprint.cpp:29