]> https://gitweb.dealii.org/ - dealii.git/commit
Move template function DoFHandler::n_boundary_dofs().
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 17 Nov 2016 03:35:50 +0000 (20:35 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 17 Nov 2016 13:46:17 +0000 (06:46 -0700)
commitd7d243e57bec536462644e2b3b92ae4fc0f656d0
tree68bdb41ee0db65bb90faa942e874e8921352ea1c
parent3f7e6179e521d33fcf513cdfb6bf5ba592c6af84
Move template function DoFHandler::n_boundary_dofs().

This function is currently in a .cc file, and the .inst.in file actually tries to
instantiate it for all template arguments. Nonetheless, as #3599 shows, it is not
instantiated appropriately.

Rather than try to understand the exact cause, the easier solution is to just
move the function to the .h file. It turns out to have a lot of code duplicated
from the other function of same name, so shrink it down to the minimum and
simply defer to the non-templated member function.
include/deal.II/dofs/dof_handler.h
source/dofs/dof_handler.cc
source/dofs/dof_handler.inst.in

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.