shells/filters/tecplotFragm2vtu.cc File Reference

#include <iostream>
#include <fstream>
#include <string>
#include <cassert>
#include <vector>
#include <algorithm>
#include <iterator>
#include <utility>
#include <sstream>
#include <cmath>
#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 resizeOneElement (double p0[3], double p1[3], double p2[3], double sfac)
void resizeElements (std::vector< double > &vertexVariables, int numVariablesPerVtx, std::vector< int > &connectivity, int numNodesPerElem, double sfac)
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)
void printUsage (char *name)
int main (int argc, char **argv)

Function Documentation

std::pair<bool, int> extractNumber ( const std::string &  word  ) 
void extractWords ( const std::string &  line,
string::size_type  beginIndx,
const std::string &  delimit,
std::vector< string > &  variableNames 
)
int main ( int  argc,
char **  argv 
)
void printUsage ( char *  name  ) 

Referenced by main().

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

void resizeElements ( std::vector< double > &  vertexVariables,
int  numVariablesPerVtx,
std::vector< int > &  connectivity,
int  numNodesPerElem,
double  sfac 
)

References resizeOneElement().

Referenced by main().

void resizeOneElement ( double  p0[3],
double  p1[3],
double  p2[3],
double  sfac 
)

Referenced by resizeElements().

bool strequals ( const char *  src,
const char *  dst 
)
Generated on Thu Jun 30 02:18:56 2016 for SFC Thin-Shell Finite Element Solver by  doxygen 1.6.3