From 5283e8891c933a1ed6c423391e1cc5eb7c4052f6 Mon Sep 17 00:00:00 2001 From: bangerth Date: Thu, 10 Nov 2011 22:43:42 +0000 Subject: [PATCH] FETools::get_fe_from_name() can now return objects of type FE_Nothing. git-svn-id: https://svn.dealii.org/trunk@24742 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/doc/news/changes.h | 8 ++++++-- deal.II/source/fe/fe_tools.cc | 3 +++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/deal.II/doc/news/changes.h b/deal.II/doc/news/changes.h index db7cfb9624..7fe1dd47bd 100644 --- a/deal.II/doc/news/changes.h +++ b/deal.II/doc/news/changes.h @@ -73,6 +73,10 @@ enabled due to a missing include file in file

Specific improvements

    +
  1. New: FETools::get_fe_from_name() can now return objects of type FE_Nothing. +
    +(Jonathan Pitt, 2011/11/10) +
  2. Changed: WorkStream now allocates one scratch object per thread instead of one scratch object per item.
    @@ -85,7 +89,7 @@ distribute_local_to_global() and determines whether the correct or zero values (this was the case before and still is the default) are kept in the linear system during the solution process.
    -(Jörg Frohne, 2011/11/01) +(Joerg Frohne, 2011/11/01)
  3. Fixed: SparseMatrix::mmult and SpareMatrix::Tmmult had a number of issues that are now fixed: (i) rebuilding the sparsity pattern was allowed @@ -97,7 +101,7 @@ template context deducible by the compiler. (Wolfgang Bangerth, 2011/10/30)
  4. New: -parallel::distributed::Triangulation::mesh_reconstruction_after_repartitioning +parallel::distributed::Triangulation::mesh_reconstruction_after_repartitioning setting which is necessary for save()/load() to be deterministic. Otherwise the matrix assembly is done in a different order depending on the order of old refinements. diff --git a/deal.II/source/fe/fe_tools.cc b/deal.II/source/fe/fe_tools.cc index 9b09cc5103..acc38538a5 100644 --- a/deal.II/source/fe/fe_tools.cc +++ b/deal.II/source/fe/fe_tools.cc @@ -36,6 +36,7 @@ #include #include #include +#include #include #include #include @@ -154,6 +155,8 @@ namespace = FEFactoryPointer(new FETools::FEFactory >); default_map["FE_Q"] = FEFactoryPointer(new FETools::FEFactory >); + default_map["FE_Nothing"] + = FEFactoryPointer(new FETools::FEFactory >); return default_map; } -- 2.39.5