#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 (char *src, char *dst) |
| void | printUsage (char *name) |
| int | main (int argc, char **argv) |
| 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 | ) |
| 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 | |||
| ) |
| void resizeElements | ( | std::vector< double > & | vertexVariables, | |
| int | numVariablesPerVtx, | |||
| std::vector< int > & | connectivity, | |||
| int | numNodesPerElem, | |||
| double | sfac | |||
| ) |
| void resizeOneElement | ( | double | p0[3], | |
| double | p1[3], | |||
| double | p2[3], | |||
| double | sfac | |||
| ) |
| bool strequals | ( | char * | src, | |
| char * | dst | |||
| ) |
1.4.7