Hello Nan,
1). I am trying to do the solution interpolation from the vertex to the cell. For a 2-D problem, it is interpolating 4 values on vertices to 1 value for the cell. However, I only find DoFTools::distribute_cell_to_dof_vector, which project cell value to vertex values. Is there any function I can use for global interpolation from vertex to cell? Which step gives an example for this?
VectorTools::integrate_difference does something in this direction, if you choose ZeroFunction as exact_solution.
2). I am using cell->measure() to get the cell volume for a 3-D problem. If I also want the six face areas for this cell, what can I do? Is there any example?
One possibility would be to loop over all faces of the cell and call cell->face(face)->measure (). Then you can sum up these 6 values and get the volume of the boundary.

Best Regards,
Markus
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to