Hello Praveen,

yes, every cell has a index. You can access it by cell->index ().

Best Regards,
Markus



Am 27.03.11 13:05, schrieb Praveen C:
In a DG code, I need to compute time step in each cell. So I declare

Vector<double> dt;
.
.
.
dt.reinit (triangulation.n_active_cells());

I use MeshWorker to assemble the problem. In the cell integration function, I do not know how to get dt corresponding to that cell. Do the cells have some index that can be used ?

Thanks
praveen


_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to