From: Denis Davydov For the first two cases, instantiation instructions are defined in .templates.h
file will not be of any
It will also not slow down their compilations because nothing they see will
#include the .templates.h
file. But users who define their own
(vector, matrix, ...) types can instantiate the template functions with their
-own user-defined types by #includeing the .templates.h
files.
+own user-defined types by including the .templates.h
files.
#ifndef DOX
.inst.in
-files. These files are processed by custom CMake scripts to generate .inst
files
-using lists of parameters (vector classes, dimensions, tensor ranks, etc)
-defined in cmake/config/template-arguments.in
. It is those .inst
-files that are eventually included from the corresponding .cc
files. cmake/scripts/expand_instantiations.cc
) and the parameters are
+defined dynamically through cmake depending on your configuration (see
+share/deal.II/template-arguments
in your build directory).
+It is those .inst
files that are eventually included from the
+corresponding .cc
files.