|
@@ -935,7 +935,7 @@ void Mesh_Tecplot::SaveData_Ascii(int numofpoint, int numofcell, string celltype
|
|
|
}
|
|
|
}else if(celltype == "triangle"){
|
|
|
for(int i =0;i<numofcell;i++){
|
|
|
- cell = new CellTetra();
|
|
|
+ cell = new CellTriangle();
|
|
|
cell->SetPoint(0,cell_vec[i][0]-1);
|
|
|
cell->SetPoint(1,cell_vec[i][1]-1);
|
|
|
cell->SetPoint(2,cell_vec[i][2]-1);
|
|
@@ -944,7 +944,7 @@ void Mesh_Tecplot::SaveData_Ascii(int numofpoint, int numofcell, string celltype
|
|
|
}
|
|
|
}else if(celltype == "quadrilateral"){
|
|
|
for(int i =0;i<numofcell;i++){
|
|
|
- cell = new CellTetra();
|
|
|
+ cell = new CellQuad();
|
|
|
cell->SetPoint(0,cell_vec[i][0]-1);
|
|
|
cell->SetPoint(1,cell_vec[i][1]-1);
|
|
|
cell->SetPoint(2,cell_vec[i][2]-1);
|
|
@@ -954,7 +954,7 @@ void Mesh_Tecplot::SaveData_Ascii(int numofpoint, int numofcell, string celltype
|
|
|
}
|
|
|
}else if(celltype == "brick"){
|
|
|
for(int i =0;i<numofcell;i++){
|
|
|
- cell = new CellTetra();
|
|
|
+ cell = new CellHexa();
|
|
|
cell->SetPoint(0,cell_vec[i][0]-1);
|
|
|
cell->SetPoint(1,cell_vec[i][1]-1);
|
|
|
cell->SetPoint(2,cell_vec[i][2]-1);
|