Namespaces | Functions
Read_input_file.hpp File Reference
#include <petscksp.h>
#include <jsoncpp/json/json.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_input_file (SPE &data, char const buff[]="input_file.json")
 Read an input file written in json format. More...
 
int SPE::set_input_value (Json::Value &val, const char buff[], PetscInt &v)
 take Json data and save it to value if it exists More...
 
int SPE::set_input_value (Json::Value &val, const char buff[], PetscReal &v)
 take Json data and save it to value if it exists More...
 
int SPE::set_input_value (Json::Value &val, const char buff[], PetscScalar &v)
 take Json data and save it to value if it exists More...
 
int SPE::set_input_value (Json::Value &val, const char buff[], PetscBool &v)
 take Json data and save it to value if it exists More...
 
int SPE::set_input_value (Json::Value &val, const char buff[], char *v)
 take Json data and save it to value if it exists More...
 
int SPE::set_input_value (Json::Value &val, const char buff[], std::string &v)
 take Json data and save it to value if it exists More...