On 7/30/25 20:14, Sudip Kunda wrote:
**

The following is a screenshot of the error message

Ah yes, the key is that it says
  couldn't deduce template parameter 'dim'

C++ says that in some contexts, the compiler can figure out what 'dim' (and here, 'spacedim') are based on the arguments you pass to a function. In some other contexts, that's not possible, and yours is one of these cases. That means that you have to provide the template arguments yourself by writing
  DoFTools::get_dofs_on_patch<dim>(patch)

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].
To view this discussion visit 
https://groups.google.com/d/msgid/dealii/d4db26bb-0c8b-457f-a4db-3239aef72e49%40colostate.edu.

Reply via email to