Commit 0ce73416 authored by Chris Cantwell's avatar Chris Cantwell
Browse files

Update to InputNek of MeshConvert to handle additional specification of curve

  types in the input file.


git-svn-id: https://gforge.sci.utah.edu/svn/nektar/trunk@3993 305cdda6-5ce1-45b3-a98d-dfc68c8b3305
parent ada6c3d7
......@@ -77,7 +77,7 @@ namespace Nektar
OpenStream();
string line, word;
int nParam, nModes, nElements, nCurves;
int nParam, nModes, nElements, nCurves, nCurveTypes;
int i, j, k, nodeCounter = 0;
int nComposite = 0;
ElementType elType;
......@@ -300,8 +300,19 @@ namespace Nektar
// Read number of curves.
getline(mshFile, line);
s.clear(); s.str(line);
s >> nCurves;
while (line.find("FLUID BOUNDARY CONDITIONS") == string::npos)
{
s.clear(); s.str(line);
if (line.find("Number of curve types") != string::npos)
{
s >> nCurveTypes;
}
if (line.find("Curved sides follow") != string::npos)
{
s >> nCurves;
}
getline(mshFile, line);
}
if (nCurves > 0)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment