Commit c54c39ea authored by Keith Bennett's avatar Keith Bennett

Don't generate boundary meshes when requested

parent 472c0114
......@@ -394,6 +394,17 @@ avtSDFFileFormat::PopulateDatabaseMetaData(avtDatabaseMetaData *md)
} else if (b->blocktype == SDF_BLOCKTYPE_UNSTRUCTURED_MESH) {
debug1 << "avtSDFFileFormat:: Found mesh: id:" << b->id
<< ", name:" << b->name << endl;
if (use_allboundary == 0 && memcmp(b->id, "boundary", 8) == 0) {
if (use_boundary == 0)
continue;
else if (b->id[8] == '_')
continue;
}
if (use_ob_boundary == 0 && memcmp(b->id, "obmsh", 5) == 0)
continue;
sdf_block_t *mesh = sdf_find_block_by_id(h, b->subblock->mesh_id);
avtMeshType meshtype = AVT_UNSTRUCTURED_MESH;
int topol = b->ndims-1, ndims = b->ndims;
......
Markdown is supported
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