On 12/14/21 08:32, Judy Lee wrote:
I tried *DoFTools::map_dofs_to_support_points<dim>(mapping, dof_handler,
support_points)*, to obtain coordinates on *local_dof_indices*, not
running thru yet.
My .cc file is attached with reference to step-3 in 2D, in which I added
Lines 137-138 with reference to Lines 126-127, as well as by looking at
step-2 introduction.
Error shows, " ’mapping’ was not declared in the scope". I added Line 62
that does not figure out the error, with adding Line 40.
If you do this, you get the following error message:
/home/fac/g/bangerth/p/deal.II/1/install/examples/step-3/step-3.cc:67:30:
error: no matching function for call to ‘dealii::MappingQ<2, 2>::MappingQ()’
, dof_handler(triangulation)
It tells you that you need to explicitly initialize the 'mapping'
variable in the constructor of the class, in the same way as you do for
the finite element.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: bange...@colostate.edu
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 dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/20475dca-eeac-e2cb-8569-692f767cc5ff%40colostate.edu.