From 429058a9965ce453981e1fb2ed00e4c85b2294be Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sun, 24 Jul 2016 12:25:50 +0200 Subject: [PATCH] Add missing definition and instantiation --- include/deal.II/dofs/dof_accessor.templates.h | 1 + source/fe/fe_tools.cc | 7 +++++++ source/fe/fe_tools.inst.in | 3 +++ 3 files changed, 11 insertions(+) diff --git a/include/deal.II/dofs/dof_accessor.templates.h b/include/deal.II/dofs/dof_accessor.templates.h index 12177b6ff9..88966fc613 100644 --- a/include/deal.II/dofs/dof_accessor.templates.h +++ b/include/deal.II/dofs/dof_accessor.templates.h @@ -2308,6 +2308,7 @@ get_mg_dof_indices (const int, std::vector &dof_indices, const unsigned int fe_index) const { + (void) dof_indices; Assert (this->dof_handler != 0, ExcInvalidObject ()); Assert (dof_indices.size () == this->dof_handler->get_fe ()[fe_index].dofs_per_vertex, diff --git a/source/fe/fe_tools.cc b/source/fe/fe_tools.cc index b297ab6ce2..3a78c29aec 100644 --- a/source/fe/fe_tools.cc +++ b/source/fe/fe_tools.cc @@ -2520,6 +2520,13 @@ namespace FETools + template + FiniteElement * + get_fe_from_name (const std::string ¶meter_name) + { + return get_fe_by_name (parameter_name); + } + template diff --git a/source/fe/fe_tools.inst.in b/source/fe/fe_tools.inst.in index cab12e7e59..22ef7b986f 100644 --- a/source/fe/fe_tools.inst.in +++ b/source/fe/fe_tools.inst.in @@ -139,6 +139,9 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS template class FEFactoryBase; + template FiniteElement * + get_fe_from_name (const std::string &); + template FiniteElement * get_fe_by_name (const std::string &); -- 2.39.5