shells/filters/tecplot2vtu.cc File Reference

#include <iostream>
#include <fstream>
#include <string>
#include <cassert>
#include <vector>
#include <algorithm>
#include <iterator>
#include <utility>
#include <sstream>
#include <cstring>
#include <cstdio>

Functions

void extractWords (const std::string &line, string::size_type beginIndx, const std::string &delimit, std::vector< string > &variableNames)
std::pair< bool, int > extractNumber (const std::string &word)
void readTecplotFile (std::istream &tecFile, std::vector< double > &vertexVariables, int &numVariablesPerVtx, std::vector< int > &connectivity, int &numNodesPerElem, std::vector< std::string > &variableNames)
void printVTK (std::ostream &vtuFile, std::vector< double > &vertexVariables, int &numDims, int &numVariablesPerVtx, std::vector< int > &connectivity, int &numNodesPerElem, std::vector< std::string > &variableNames)
bool strequals (const char *src, const char *dst)
int main (int argc, char **argv)

Function Documentation

std::pair<bool, int> extractNumber ( const std::string &  word  ) 

Referenced by readTecplotFile().

void extractWords ( const std::string &  line,
string::size_type  beginIndx,
const std::string &  delimit,
std::vector< string > &  variableNames 
)

Referenced by readTecplotFile().

int main ( int  argc,
char **  argv 
)
void printVTK ( std::ostream &  vtuFile,
std::vector< double > &  vertexVariables,
int &  numDims,
int &  numVariablesPerVtx,
std::vector< int > &  connectivity,
int &  numNodesPerElem,
std::vector< std::string > &  variableNames 
)
void readTecplotFile ( std::istream &  tecFile,
std::vector< double > &  vertexVariables,
int &  numVariablesPerVtx,
std::vector< int > &  connectivity,
int &  numNodesPerElem,
std::vector< std::string > &  variableNames 
)

References extractNumber(), and extractWords().

Referenced by main().

bool strequals ( const char *  src,
const char *  dst 
)

Referenced by main().

Generated on Thu Jun 30 02:18:56 2016 for SFC Thin-Shell Finite Element Solver by  doxygen 1.6.3