Skip to content

Commit b317366

Browse files
committed
Remove exodus "quad to tri" option
1 parent 4b2ca8b commit b317366

File tree

3 files changed

+27
-578
lines changed

3 files changed

+27
-578
lines changed

apps/pre_exodus/4C_pre_exodus.cpp

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,6 @@ int main(int argc, char** argv)
184184

185185
bool twodim = false;
186186

187-
// related to quad->tri conversion
188-
bool quadtri = false;
189187

190188
Teuchos::CommandLineProcessor My_CLP;
191189
My_CLP.setDocString("This preprocessor converts Exodus2 files into 4C input files\n");
@@ -198,10 +196,6 @@ int main(int argc, char** argv)
198196
// switch for generating a 2d file
199197
My_CLP.setOption("d2", "d3", &twodim, "space dimensions in .dat-file: d2: 2D, d3: 3D");
200198

201-
// check for quad->tri conversion
202-
My_CLP.setOption(
203-
"quadtri", "noquadtri", &quadtri, "transform quads to tris by cutting in two halves");
204-
205199
Teuchos::CommandLineProcessor::EParseCommandLineReturn parseReturn = My_CLP.parse(argc, argv);
206200

207201
if (parseReturn == Teuchos::CommandLineProcessor::PARSE_HELP_PRINTED)
@@ -249,18 +243,6 @@ int main(int argc, char** argv)
249243
// print infos to std::cout
250244
mymesh.print(std::cout);
251245

252-
/**************************************************************************
253-
* Edit a existing Mesh, e.g. extrusion of surface
254-
**************************************************************************/
255-
256-
// transform quads->tris
257-
if (quadtri)
258-
{
259-
EXODUS::Mesh trimesh = EXODUS::quadto_tri(mymesh);
260-
trimesh.write_mesh("tri_" + exofile);
261-
exit(0);
262-
}
263-
264246
/**************************************************************************
265247
* Read ControlFile for Boundary and Element descriptions
266248
**************************************************************************/

0 commit comments

Comments
 (0)