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:
bang...@colostate.edu
www:
http://www.math.colostate.edu/~bangerth/