#include <deal.II/fe/fe_tools.h>
#include <deal.II/fe/fe.h>
#include <deal.II/fe/fe_q.h>
+#include <deal.II/fe/fe_bernstein.h>
#include <deal.II/fe/fe_q_hierarchical.h>
#include <deal.II/fe/fe_dgq.h>
#include <deal.II/fe/fe_dgp.h>
= FEFactoryPointer(new FETools::FEFactory<FE_DGQ<dim> >);
result["FE_Q"]
= FEFactoryPointer(new FETools::FEFactory<FE_Q<dim> >);
+ result["FE_Bernstein"]
+ = FEFactoryPointer(new FETools::FEFactory<FE_Bernstein<dim> >);
result["FE_Nothing"]
= FEFactoryPointer(new FETools::FEFactory<FE_Nothing<dim> >);
}
= FEFactoryPointer(new FETools::FEFactory<FE_DGQ<dim,spacedim> >);
result["FE_Q"]
= FEFactoryPointer(new FETools::FEFactory<FE_Q<dim,spacedim> >);
+ result["FE_Bernstein"]
+ = FEFactoryPointer(new FETools::FEFactory<FE_Bernstein<dim,spacedim> >);
}
// The function filling the vector fe_name_map below. It iterates
// have to figure out what the
// base elements are. this can
// only be done recursively
-
-
-
-
if (name_part == "FESystem")
{
// next we have to get at the
// Make sure no other thread
// is just adding an element
Threads::Mutex::ScopedLock lock (fe_name_map_lock);
-
AssertThrow (fe_name_map.find(name_part) != fe_name_map.end(),
ExcInvalidFEName(name));
+
// Now, just the (degree)
// or (Quadrature<1>(degree+1))
// part should be left.