Jiaqi, please don't forget to mark the topic as Answered by choosing the best reply. This helps us see which topics still require attention.
Regards, Denis. On Friday, December 16, 2016 at 6:15:30 AM UTC+1, Jiaqi ZHANG wrote: > > Got it. Thanks so much, Dr. Bangerth. > > Jiaqi > > 2016-12-16 0:06 GMT-05:00 Wolfgang Bangerth <[email protected] > <javascript:>>: > >> On 12/15/2016 06:11 PM, Jiaqi ZHANG wrote: >> >>> std::cout<<"testing quadrature points:\n"; >>> const Point<dim> v0 = cell->vertex(0); >>> Quadrature<dim> q_point(v0); >>> >> >> Quadrature objects are defined on the reference cell [0,1]^d. So you will >> need to pass a point in reference coordinates to the quadrature object, but >> cell->vertex(0) only gives you a point in real space coordinates. You will >> have to transform it back into the reference coordinate system. >> >> Best >> W. >> >> -- >> ------------------------------------------------------------------------ >> Wolfgang Bangerth email: [email protected] >> <javascript:> >> 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] <javascript:>. >> 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.
