* @author Ralf Hartmann, 2000, 2001, 2005; Guido Kanschat 2000, 2001, Wolfgang Bangerth, 2015
*/
template <int dim, int spacedim=dim>
-class MappingQ : public MappingQ1<dim,spacedim>
+class MappingQ : public MappingQGeneric<dim,spacedim>
{
public:
/**
protected:
- /**
- * Constructor. This constructor is for odd purposes: MappingQ is
- * derived from this class (for historical reasons) and it needs a
- * way to pass down the "true" polynomial degree of the mapping.
- */
- MappingQ1 (const unsigned int degree);
-
/**
* Computes the support points of the mapping. For @p MappingQ1 these are
* the vertices, as obtained by calling Mapping::get_vertices().
MappingQ<dim,spacedim>::MappingQ (const unsigned int degree,
const bool use_mapping_q_on_all_cells)
:
- MappingQ1<dim,spacedim>(degree),
+ MappingQGeneric<dim,spacedim>(degree),
// see whether we want to use *this* mapping objects on *all* cells,
// or defer to an explicit Q1 mapping on interior cells. if
template<int dim, int spacedim>
MappingQ<dim,spacedim>::MappingQ (const MappingQ<dim,spacedim> &mapping)
:
- MappingQ1<dim,spacedim>(mapping.get_degree()),
+ MappingQGeneric<dim,spacedim>(mapping.get_degree()),
use_mapping_q_on_all_cells (mapping.use_mapping_q_on_all_cells),
// clone the Q1 mapping for use on interior cells (if necessary)
// or to create a good initial guess in transform_real_to_unit_cell()