> this question may have arisen before... but how can one get (using > deal.ii) from the discrete solution vector (essentially the numerical > solution values at the DoF points for my DG implementation) the expansion > coefficients for the solution on each element? That is, I want c_i for > each active cell k, where > > u(x) |_k = \sum_i c_i \Psi_i(x) > > and Psi_i(x) are the canonical functions of the local Lagrange basis.
The FE_DGQ class already uses these shape functions, so you should get the c_i simply by asking cell->get_dof_values Or maybe I misunderstand the question? W. ------------------------------------------------------------------------- Wolfgang Bangerth email: [email protected] www: http://www.math.tamu.edu/~bangerth/ _______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
