I am a little bit confusing with the integral over all cell :
*\int \varphi_i(x) \varphi_j(x) dx *on physical cell is approximated
by computing *\sum { \varphi_hat_i(x_hat) \varphi_hat_i(x_hat) JxW(x_hat)
} *on reference cell.
With FEValues we get *\varphi_i(x) *, if we compute the above integral as:
*\sum { \varphi_i(x) \varphi_j(x) JxW(x_hat) }*
then the value of the integral changes because shape functions defined on
reference cell are different from those on real cell.
Is there any reason for the integral calculation* \sum { \varphi_i(x)
\varphi_j(x) JxW(x_hat) }?*
Thank you very much for your quick answers.
Best regards.
Vào Th 4, 10 thg 4, 2019 vào lúc 00:15 Wolfgang Bangerth <
[email protected]> đã viết:
> On 4/9/19 1:27 AM, Phạm Ngọc Kiên wrote:
> > I looked through the codes for Fe_Nedelec_SZ in the library and found
> that the
> > fe_values was transformed from reference cell to physical cell by the
> function
> > like:
> > mapping.transform(make_array_view(fe_data.shape_values[dof]),
> > mapping_covariant,
> > mapping_internal,
> > make_array_view(transformed_shape_values));
> > Does this mean that fe_values.value(i,q_point) and
> fe_values.curl(i,q_point)
> > are stored on physical cell?
>
> Yes, yes, of course -- that's the point of FEValues :-)
>
> Best
> W.
>
>
> --
> ------------------------------------------------------------------------
> Wolfgang Bangerth email: [email protected]
> www: http://www.math.colostate.edu/~bangerth/
>
> --
> 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.
>
--
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.