Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RV:Tecplot2CFmesh allow DATASETAUXDATA and AUXDATA now. #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion plugins/Tecplot2CFmesh/Tecplot2CFmeshConverter.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,11 @@ void Tecplot2CFmeshConverter::readZone(ifstream& fin,
startData = fin.tellg();
getTecplotWordsFromLine(fin, line, countl, words);
}
//skip all auxdata
while (line.find("AUXDATA ") != string::npos) {
startData = fin.tellg();
getTecplotWordsFromLine(fin, line, countl, words);
}
// if the line contains "DT=" read it, otherwise go back because this is data to be stored
if (line.find("DT=") == string::npos) {
fin.seekg(startData);
Expand Down Expand Up @@ -1041,8 +1046,14 @@ void Tecplot2CFmeshConverter::readVariables(ifstream& fin,
getTecplotWordsFromLine(fin, line, lineNb, words); // VARIABLES

while (line.find("ZONE") == string::npos) {
// skip line if the keywork "DATASETAUXDATA" is found
if (line.find("DATASETAUXDATA ") != string::npos) {
}
// skip line if the keyword "FILETYPE" is found
if (line.find("FILETYPE") == string::npos) {
else if (line.find("FILETYPE") != string::npos) {
}
else {
// parse variable name
for (CFuint i = 0; i < words.size(); ++i) {
if (words[i].find('=')==string::npos && words[i].find("VARIABLES")==string::npos) {
CFLog(VERBOSE, "detected variable named <" << words[i] << "> \n");
Expand Down