// $Id$
// Version: $Name$
//
-// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
*/
UpdateFlags compute_update_flags (const UpdateFlags update_flags) const;
- /**
- * Returns reference to default
- * MappingQ1 object. Needed
- * by constructors of derived
- * classes that uses
- * MappingQ1 implicitly.
- */
- static const Mapping<dim> &get_default_mapping();
-
private:
/**
* Copy constructor. Since
-template <int dim>
-const Mapping<dim> &
-FEValuesBase<dim>::get_default_mapping ()
-{
- static const MappingQ1<dim> mapping_q1;
- return mapping_q1;
-}
-
-
/*------------------------------- FEValues -------------------------------*/
FEValuesBase<dim> (q.n_quadrature_points,
fe.dofs_per_cell,
update_default,
- this->get_default_mapping(),
+ StaticMappingQ1<dim>::mapping,
fe),
quadrature (q)
{
FEFaceValuesBase<dim> (quadrature.n_quadrature_points,
fe.dofs_per_cell,
update_flags,
- this->get_default_mapping(),
+ StaticMappingQ1<dim>::mapping,
fe, quadrature)
{
Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
FEFaceValuesBase<dim> (quadrature.n_quadrature_points,
fe.dofs_per_cell,
update_flags,
- this->get_default_mapping(),
+ StaticMappingQ1<dim>::mapping,
fe, quadrature)
{
Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));