hey guys,
In the file,I have set up user_indices for each grid cell, but when I
use GridIn to generate a mesh, there is no user indices that I have saved
on each grid cell. What should i do?
Here is my program.
Triangulation<2>triangulation;
GridIn<2>grid_in;
grid_in.attach_triangulation(triangulation);
std::ifstream input_file("grid.vtk");
grid_in.read_vtk(input_file);
for(auto
cell=triangulation.begin_active();cell!=triangulation.end();++cell)
std::cout<<cell->user_index()<<std::endl;
Thanks.
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
grid.vtk
Description: Binary data
