SLIP
1.4
|
Provides some tecplot binary input/ouput algorithms. More...
#include <typeinfo>
#include <vector>
#include <string>
#include <fstream>
#include "Vector2d.hpp"
#include "Vector3d.hpp"
#include "Array2d.hpp"
#include "Array3d.hpp"
#include "Point2d.hpp"
#include "Point3d.hpp"
Go to the source code of this file.
Classes | |
class | slip::GenericComparator< T > |
Namespaces | |
slip | |
This namespace corresponds to the kernel of the Simple Library on Image Processing (SLIP). That is to say that it contains the data structures and the algorithms needed by these data strucutres. | |
Functions | |
template<typename T > | |
int | slip::get_tecplot_type () |
Convert the type of a variable to an integer using Tecplot conventions. More... | |
int | slip::plt_get_order (std::ifstream &fp) |
Read a binary tecplot file, move the stream pointer and return header informations. More... | |
int | slip::plt_get_order (const std::string &file_path_name) |
Read a binary tecplot file, move the stream pointer and return header informations. More... | |
int | slip::plt_get_file_type (std::ifstream &fp) |
Read a binary tecplot file, move the stream pointer and return header informations. More... | |
int | slip::plt_get_file_type (const std::string &file_path_name) |
Read a binary tecplot file, move the stream pointer and return header informations. More... | |
void | slip::plt_read_header (std::ifstream &fp, int &NbVars, int &NbZones, int &K, int &I, int &J, std::string &title, std::string &zonename, std::vector< std::string > &varnames, double &SolTime, int NumZone=1) |
Read a binary tecplot file, move the stream pointer and return header informations. More... | |
void | slip::plt_read_header (std::ifstream &fp, int &NbVars, int &NbZones, int &K, int &I, int &J, int NumZone=1) |
Read a binary tecplot file and return header informations. More... | |
void | slip::plt_read_header (const std::string &file_path_name, int &NbVars, int &NbZones, int &K, int &I, int &J, int NumZone=1) |
Read a binary tecplot file and return header informations. More... | |
void | slip::plt_read_header (const std::string &file_path_name, int &NbVars, int &NbZones, int &K, int &I, int &J, double &SolTime, int NumZone=1) |
Read a binary tecplot file and return header informations. More... | |
void | slip::plt_read_header (const std::string &file_path_name, int &NbVars, int &NbZones, int &K, int &I, int &J, std::string &title, std::string &zonename, std::vector< std::string > &varnames, double &SolTime, int NumZone=1) |
Read a binary tecplot file and return header informations. More... | |
template<typename Container2d > | |
void | slip::plt_to_Array2d (const std::string &file_path_name, Container2d ®, const int zone_loaded=1) |
Read a binary tecplot file and put the data in a 2d container. More... | |
template<typename RegularVector3dField3d > | |
void | slip::plt_to_RegularVector3dField3d (const std::string &file_path_name, RegularVector3dField3d ®, std::string &title, std::string &zonename, std::vector< std::string > &varnames, const int zone_loaded=1) |
Read a slip::RegularVector3dField3d from a binary tecplot file. More... | |
template<typename RegularVector3dField3d > | |
void | slip::plt_to_RegularVector3dField3d (const std::string &file_path_name, RegularVector3dField3d ®, const int zone_loaded=1) |
Read a slip::RegularVector3dField3d from a binary tecplot file. More... | |
bool | slip::compareTwoRows3D (double *rowA, double *rowB) |
Comparator used to sort an Array2d. More... | |
template<typename RegularVector3dField3d > | |
void | slip::generic_plt_to_RegularVector3dField3d (const std::string &file_path_name, RegularVector3dField3d ®, std::string &title, std::string &zonename, std::vector< std::string > &varnames, const int zone_loaded=1) |
Read a slip::RegularVector3dField3d from a binary tecplot file even if data are not properly sorted. This function is slower than plt_to_RegularVector3dField3d(). More... | |
template<typename RegularVector3dField3d > | |
void | slip::generic_plt_to_RegularVector3dField3d (const std::string &file_path_name, RegularVector3dField3d ®, const int zone_loaded=1) |
Read a slip::RegularVector3dField3d from a binary tecplot file. More... | |
template<typename RegularVector3dField3d > | |
void | slip::RegularVector3dField3d_to_plt (const std::string &file_path_name, RegularVector3dField3d ®, std::string title, std::string zone, const double SolTime, std::vector< std::string > varnames=std::vector< std::string >(), const int FileType=0) |
Write a slip::RegularVector3dField3d to a binary tecplot file. More... | |
template<typename RegularVector3dField3d > | |
void | slip::RegularVector3dField3d_to_plt (const std::string &file_path_name, RegularVector3dField3d ®, const int FileType=0) |
Write a slip::RegularVector3dField3d to a binary tecplot file. More... | |
template<typename RegularVector3dField3d > | |
void | slip::RegularVector3dField3d_to_plt (const std::string &file_path_name, RegularVector3dField3d ®, const double SolTime, const int FileType=0) |
Write a slip::RegularVector3dField3d to a binary tecplot file. More... | |
template<typename RegularVector3dField3d > | |
void | slip::RegularVector3dField3d_to_plt (const std::string &file_path_name, RegularVector3dField3d ®, std::string title, std::string zone, const int FileType=0) |
Write a slip::RegularVector3dField3d to a binary tecplot file. More... | |
template<typename RegularVector3dField3d > | |
void | slip::RegularVector3dField3d_to_plt (const std::string &file_path_name, RegularVector3dField3d ®, std::string title, std::string zone, std::vector< std::string > varnames, const int FileType=0) |
Write a slip::RegularVector3dField3d to a binary tecplot file. More... | |
template<typename RegularVector2dField2d > | |
void | slip::plt_to_RegularVector2dField2d (const std::string &file_path_name, RegularVector2dField2d ®, std::string &title, std::string &zonename, std::vector< std::string > &varnames, const int zone_loaded=1) |
Read a slip::RegularVector2dField2d from a binary tecplot file. More... | |
template<typename RegularVector2dField2d > | |
void | slip::plt_to_RegularVector2dField2d (const std::string &file_path_name, RegularVector2dField2d ®, const int zone_loaded=1) |
Read a slip::RegularVector2dField2d from a binary tecplot file. More... | |
bool | slip::compareTwoRows2D (double *rowA, double *rowB) |
Comparator used to sort an Array2d. More... | |
template<typename RegularVector2dField2d > | |
void | slip::generic_plt_to_RegularVector2dField2d (const std::string &file_path_name, RegularVector2dField2d ®, std::string &title, std::string &zonename, std::vector< std::string > &varnames, const int zone_loaded=1) |
Read a slip::RegularVector2dField2d from a binary tecplot file. More... | |
template<typename RegularVector2dField2d > | |
void | slip::generic_plt_to_RegularVector2dField2d (const std::string &file_path_name, RegularVector2dField2d ®, const int zone_loaded=1) |
Read a slip::RegularVector2dField2d from a binary tecplot file. More... | |
template<typename RegularVector2dField2d > | |
void | slip::RegularVector2dField2d_to_plt (const std::string &file_path_name, RegularVector2dField2d ®, std::string title, std::string zone, const double SolTime, std::vector< std::string > varnames=std::vector< std::string >(), const int FileType=0) |
Write a slip::RegularVector2dField2d to a binary tecplot file. More... | |
template<typename RegularVector2dField2d > | |
void | slip::RegularVector2dField2d_to_plt (const std::string &file_path_name, RegularVector2dField2d ®, const int FileType=0) |
Write a slip::RegularVector2dField2d to a binary tecplot file. More... | |
template<typename RegularVector2dField2d > | |
void | slip::RegularVector2dField2d_to_plt (const std::string &file_path_name, RegularVector2dField2d ®, const double SolTime, const int FileType=0) |
Write a slip::RegularVector2dField2d to a binary tecplot file. More... | |
template<typename RegularVector2dField2d > | |
void | slip::RegularVector2dField2d_to_plt (const std::string &file_path_name, RegularVector2dField2d ®, std::string title, std::string zone, const int FileType=0) |
Write a slip::RegularVector2dField2d to a binary tecplot file. More... | |
template<typename RegularVector2dField2d > | |
void | slip::RegularVector2dField2d_to_plt (const std::string &file_path_name, RegularVector2dField2d ®, std::string title, std::string zone, std::vector< std::string > varnames, const int FileType=0) |
Write a slip::RegularVector2dField2d to a binary tecplot file. More... | |
Provides some tecplot binary input/ouput algorithms.
Definition in file tecplot_binaries.hpp.