Skip to content
Snippets Groups Projects
Commit a8589b51 authored by Oliver Sander's avatar Oliver Sander
Browse files

eliminate some dead code

[[Imported from SVN: r2006]]
parent 0623331b
No related branches found
No related tags found
No related merge requests found
......@@ -67,26 +67,6 @@ void Dune::AmiraMeshWriter<GridType>::writeGrid(const GridType& grid,
}
#if 0
// handle materials
HxParamBundle* materials = new HxParamBundle("Materials");
for (k=0; k<=maxSubDom; k++) {
char buffer[100];
sprintf(buffer, "Material%d", k);
HxParamBundle* newMaterial = new HxParamBundle(buffer);
HxParameter* newId = new HxParameter("Id", k);
newMaterial->insert(newId);
materials->insert(newMaterial);
}
am_geometry.parameters.insert(materials);
#endif
/* write element section to file */
AmiraMesh::Location* element_loc = NULL;
......@@ -247,30 +227,6 @@ void Dune::AmiraMeshWriter<GridType>::writeGrid(const GridType& grid,
}
#if 0
// handle materials
HxParamBundle* materials = new HxParamBundle("Materials");
for (k=0; k<=maxSubDom; k++) {
char buffer[100];
sprintf(buffer, "Material%d", k);
HxParamBundle* newMaterial = new HxParamBundle(buffer);
HxParameter* newId = new HxParameter("Id", k);
newMaterial->insert(newId);
materials->insert(newMaterial);
}
am_geometry.parameters.insert(materials);
ncomp = 0;
for(i=0; i<NVECTYPES; i++)
ncomp = std::max(ncomp,VD_NCMPS_IN_TYPE(sol, i));
#endif
/* write element section to geo - file */
AmiraMesh::Location* element_loc = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment