* then has to assume ownership (which includes destruction when it is no
* more needed).
*/
- virtual typename Mapping<dim,spacedim>::InternalDataBase *
+ virtual InternalDataBase *
get_data (const UpdateFlags flags,
const Mapping<dim,spacedim> &mapping,
const Quadrature<dim> &quadrature) const = 0;
* the caller of this function then has to assume ownership (which includes
* destruction when it is no more needed).
*/
- virtual typename Mapping<dim,spacedim>::InternalDataBase *
+ virtual InternalDataBase *
get_face_data (const UpdateFlags flags,
const Mapping<dim,spacedim> &mapping,
const Quadrature<dim-1> &quadrature) const;
* object of which the caller of this function then has to assume ownership
* (which includes destruction when it is no more needed).
*/
- virtual typename Mapping<dim,spacedim>::InternalDataBase *
+ virtual InternalDataBase *
get_subface_data (const UpdateFlags flags,
const Mapping<dim,spacedim> &mapping,
const Quadrature<dim-1> &quadrature) const;
const typename Triangulation<dim,spacedim>::cell_iterator &cell,
const Quadrature<dim> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_internal,
+ const InternalDataBase &fe_internal,
const dealii::internal::FEValues::MappingRelatedData<dim, spacedim> &mapping_data,
dealii::internal::FEValues::FiniteElementRelatedData<dim, spacedim> &output_data,
const CellSimilarity::Similarity cell_similarity) const = 0;
const unsigned int face_no,
const Quadrature<dim-1> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_internal,
+ const InternalDataBase &fe_internal,
const dealii::internal::FEValues::MappingRelatedData<dim, spacedim> &mapping_data,
dealii::internal::FEValues::FiniteElementRelatedData<dim, spacedim> &output_data) const = 0;
const unsigned int sub_no,
const Quadrature<dim-1> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_internal,
+ const InternalDataBase &fe_internal,
const dealii::internal::FEValues::MappingRelatedData<dim, spacedim> &mapping_data,
dealii::internal::FEValues::FiniteElementRelatedData<dim, spacedim> &output_data) const = 0;
* cell.
*/
virtual
- typename Mapping<dim,spacedim>::InternalDataBase *
+ typename FiniteElement<dim,spacedim>::InternalDataBase *
get_data (const UpdateFlags,
const Mapping<dim,spacedim> &mapping,
const Quadrature<dim> &quadrature) const;
const typename Triangulation<dim,spacedim>::cell_iterator &cell,
const Quadrature<dim> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_internal,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_internal,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data,
const CellSimilarity::Similarity cell_similarity) const;
const unsigned int face_no,
const Quadrature<dim-1> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_internal,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_internal,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data) const;
const unsigned int sub_no,
const Quadrature<dim-1> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_internal,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_internal,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data) const;
protected:
virtual
- typename Mapping<1,spacedim>::InternalDataBase *
+ typename FiniteElement<1,spacedim>::InternalDataBase *
get_data (const UpdateFlags,
const Mapping<1,spacedim> &mapping,
const Quadrature<1> &quadrature) const;
- typename Mapping<1,spacedim>::InternalDataBase *
+ typename FiniteElement<1,spacedim>::InternalDataBase *
get_face_data (const UpdateFlags,
const Mapping<1,spacedim> &mapping,
const Quadrature<0> &quadrature) const;
- typename Mapping<1,spacedim>::InternalDataBase *
+ typename FiniteElement<1,spacedim>::InternalDataBase *
get_subface_data (const UpdateFlags,
const Mapping<1,spacedim> &mapping,
const Quadrature<0> &quadrature) const;
const typename Triangulation<1,spacedim>::cell_iterator &cell,
const Quadrature<1> &quadrature,
const typename Mapping<1,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<1,spacedim>::InternalDataBase &fe_internal,
+ const typename FiniteElement<1,spacedim>::InternalDataBase &fe_internal,
const internal::FEValues::MappingRelatedData<1,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<1,spacedim> &output_data,
const CellSimilarity::Similarity cell_similarity) const;
const unsigned int face_no,
const Quadrature<0> &quadrature,
const typename Mapping<1,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<1,spacedim>::InternalDataBase &fe_internal,
+ const typename FiniteElement<1,spacedim>::InternalDataBase &fe_internal,
const internal::FEValues::MappingRelatedData<1,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<1,spacedim> &output_data) const;
const unsigned int sub_no,
const Quadrature<0> &quadrature,
const typename Mapping<1,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<1,spacedim>::InternalDataBase &fe_internal,
+ const typename FiniteElement<1,spacedim>::InternalDataBase &fe_internal,
const internal::FEValues::MappingRelatedData<1,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<1,spacedim> &output_data) const;
const typename Triangulation<dim,spacedim>::cell_iterator &cell,
const Quadrature<dim> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_internal,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_internal,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data,
const CellSimilarity::Similarity cell_similarity) const;
const unsigned int face_no,
const Quadrature<dim-1> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_internal,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_internal,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data) const;
const unsigned int sub_no,
const Quadrature<dim-1> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_internal,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_internal,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data) const;
* no meaningful data exists for this element.
*/
virtual
- typename Mapping<dim,spacedim>::InternalDataBase *
+ typename FiniteElement<dim,spacedim>::InternalDataBase *
get_data (const UpdateFlags update_flags,
const Mapping<dim,spacedim> &mapping,
const Quadrature<dim> &quadrature) const;
protected:
virtual
- typename Mapping<dim,spacedim>::InternalDataBase *
+ typename FiniteElement<dim,spacedim>::InternalDataBase *
get_data (const UpdateFlags,
const Mapping<dim,spacedim> &mapping,
const Quadrature<dim> &quadrature) const;
const typename Triangulation<dim,spacedim>::cell_iterator &cell,
const Quadrature<dim> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_internal,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_internal,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data,
const CellSimilarity::Similarity cell_similarity) const;
const unsigned int face_no,
const Quadrature<dim-1> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_internal,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_internal,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data) const;
const unsigned int sub_no,
const Quadrature<dim-1> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_internal,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_internal,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data) const;
//---------------------------------------------------------------------------
template <class POLY, int dim, int spacedim>
-typename Mapping<dim,spacedim>::InternalDataBase *
+typename FiniteElement<dim,spacedim>::InternalDataBase *
FE_Poly<POLY,dim,spacedim>::get_data (const UpdateFlags update_flags,
const Mapping<dim,spacedim> &mapping,
const Quadrature<dim> &quadrature) const
const typename Triangulation<dim,spacedim>::cell_iterator &cell,
const Quadrature<dim> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fedata,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fedata,
const internal::FEValues::MappingRelatedData<dim,spacedim> &,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data,
const CellSimilarity::Similarity cell_similarity) const
const unsigned int face,
const Quadrature<dim-1> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fedata,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fedata,
const internal::FEValues::MappingRelatedData<dim,spacedim> &,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data) const
{
const unsigned int subface,
const Quadrature<dim-1> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fedata,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fedata,
const internal::FEValues::MappingRelatedData<dim,spacedim> &,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data) const
{
protected:
virtual
- typename Mapping<dim,spacedim>::InternalDataBase *
+ typename FiniteElement<dim,spacedim>::InternalDataBase *
get_data (const UpdateFlags,
const Mapping<dim,spacedim> &mapping,
const Quadrature<dim> &quadrature) const;
- typename Mapping<dim,spacedim>::InternalDataBase *
+ typename FiniteElement<dim,spacedim>::InternalDataBase *
get_face_data (const UpdateFlags,
const Mapping<dim,spacedim> &mapping,
const Quadrature<dim-1>& quadrature) const;
- typename Mapping<dim,spacedim>::InternalDataBase *
+ typename FiniteElement<dim,spacedim>::InternalDataBase *
get_subface_data (const UpdateFlags,
const Mapping<dim,spacedim> &mapping,
const Quadrature<dim-1>& quadrature) const;
const typename Triangulation<dim,spacedim>::cell_iterator &cell,
const Quadrature<dim> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_internal,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_internal,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data,
const CellSimilarity::Similarity cell_similarity) const;
const unsigned int face_no,
const Quadrature<dim-1> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_internal,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_internal,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data) const;
const unsigned int sub_no,
const Quadrature<dim-1> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_internal,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_internal,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data) const;
//---------------------------------------------------------------------------
template <class POLY, int dim, int spacedim>
-typename Mapping<dim,spacedim>::InternalDataBase *
+typename FiniteElement<dim,spacedim>::InternalDataBase *
FE_PolyFace<POLY,dim,spacedim>::get_data (
const UpdateFlags,
const Mapping<dim,spacedim> &,
template <class POLY, int dim, int spacedim>
-typename Mapping<dim,spacedim>::InternalDataBase *
+typename FiniteElement<dim,spacedim>::InternalDataBase *
FE_PolyFace<POLY,dim,spacedim>::get_face_data (
const UpdateFlags update_flags,
const Mapping<dim,spacedim> &,
template <class POLY, int dim, int spacedim>
-typename Mapping<dim,spacedim>::InternalDataBase *
+typename FiniteElement<dim,spacedim>::InternalDataBase *
FE_PolyFace<POLY,dim,spacedim>::get_subface_data (
const UpdateFlags flags,
const Mapping<dim,spacedim> &mapping,
const typename Triangulation<dim,spacedim>::cell_iterator &,
const Quadrature<dim> &,
const typename Mapping<dim,spacedim>::InternalDataBase &,
- const typename Mapping<dim,spacedim>::InternalDataBase &,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &,
const internal::FEValues::MappingRelatedData<dim,spacedim> &,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &,
const CellSimilarity::Similarity ) const
const unsigned int face,
const Quadrature<dim-1>& quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &,
- const typename Mapping<dim,spacedim>::InternalDataBase &fedata,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fedata,
const internal::FEValues::MappingRelatedData<dim,spacedim> &,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data) const
{
const unsigned int subface,
const Quadrature<dim-1>& quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &,
- const typename Mapping<dim,spacedim>::InternalDataBase &fedata,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fedata,
const internal::FEValues::MappingRelatedData<dim,spacedim> &,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data) const
{
MappingType mapping_type;
virtual
- typename Mapping<dim,spacedim>::InternalDataBase *
+ typename FiniteElement<dim,spacedim>::InternalDataBase *
get_data (const UpdateFlags,
const Mapping<dim,spacedim> &mapping,
const Quadrature<dim> &quadrature) const;
const typename Triangulation<dim,spacedim>::cell_iterator &cell,
const Quadrature<dim> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_internal,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_internal,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data,
const CellSimilarity::Similarity cell_similarity) const;
const unsigned int face_no,
const Quadrature<dim-1> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_internal,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_internal,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data) const;
const unsigned int sub_no,
const Quadrature<dim-1> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_internal,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_internal,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data) const;
*/
virtual FiniteElement<dim,spacedim> *clone() const;
- virtual typename Mapping<dim,spacedim>::InternalDataBase *
+ virtual typename FiniteElement<dim,spacedim>::InternalDataBase *
get_data (const UpdateFlags update_flags,
const Mapping<dim,spacedim> &mapping,
const Quadrature<dim> &quadrature) const;
- virtual typename Mapping<dim,spacedim>::InternalDataBase *
+ virtual typename FiniteElement<dim,spacedim>::InternalDataBase *
get_face_data (const UpdateFlags update_flags,
const Mapping<dim,spacedim> &mapping,
const Quadrature<dim-1> &quadrature) const;
- virtual typename Mapping<dim,spacedim>::InternalDataBase *
+ virtual typename FiniteElement<dim,spacedim>::InternalDataBase *
get_subface_data (const UpdateFlags update_flags,
const Mapping<dim,spacedim> &mapping,
const Quadrature<dim-1> &quadrature) const;
const typename Triangulation<dim,spacedim>::cell_iterator &cell,
const Quadrature<dim> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_internal,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_internal,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data,
const CellSimilarity::Similarity cell_similarity) const;
const unsigned int face_no,
const Quadrature<dim-1> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_internal,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_internal,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data) const;
const unsigned int sub_no,
const Quadrature<dim-1> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_internal,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_internal,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data) const;
const Quadrature<dim_1> &quadrature,
const CellSimilarity::Similarity cell_similarity,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_data,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_data,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data) const;
const std::pair<unsigned int,unsigned int> face_sub_no,
const Quadrature<dim_1> &quadrature,
const std::pair<const typename Mapping<dim,spacedim>::InternalDataBase *,
- const typename Mapping<dim,spacedim>::InternalDataBase *> mapping_and_fe_internal,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase *> mapping_and_fe_internal,
const unsigned int base_element,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data) const;
/**
* Internal data of finite element.
*/
- SmartPointer<typename Mapping<dim,spacedim>::InternalDataBase,FEValuesBase<dim,spacedim> > fe_data;
+ SmartPointer<typename FiniteElement<dim,spacedim>::InternalDataBase,FEValuesBase<dim,spacedim> > fe_data;
/**
* Original update flags handed to the constructor of FEValues.
/*------------------------------- FiniteElement ----------------------*/
template <int dim, int spacedim>
-typename Mapping<dim,spacedim>::InternalDataBase *
+typename FiniteElement<dim,spacedim>::InternalDataBase *
FiniteElement<dim,spacedim>::get_face_data (const UpdateFlags flags,
const Mapping<dim,spacedim> &mapping,
const Quadrature<dim-1> &quadrature) const
template <int dim, int spacedim>
-typename Mapping<dim,spacedim>::InternalDataBase *
+typename FiniteElement<dim,spacedim>::InternalDataBase *
FiniteElement<dim,spacedim>::get_subface_data (const UpdateFlags flags,
const Mapping<dim,spacedim> &mapping,
const Quadrature<dim-1> &quadrature) const
//---------------------------------------------------------------------------
template <int dim, int spacedim>
-typename Mapping<dim,spacedim>::InternalDataBase *
+typename FiniteElement<dim,spacedim>::InternalDataBase *
FE_DGPNonparametric<dim,spacedim>::get_data (
const UpdateFlags update_flags,
const Mapping<dim,spacedim> &,
const typename Triangulation<dim,spacedim>::cell_iterator &,
const Quadrature<dim> &,
const typename Mapping<dim,spacedim>::InternalDataBase &,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_data,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_data,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data,
const CellSimilarity::Similarity /*cell_similarity*/) const
const unsigned int,
const Quadrature<dim-1>&,
const typename Mapping<dim,spacedim>::InternalDataBase &,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_data,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_data,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data) const
{
const unsigned int,
const Quadrature<dim-1>&,
const typename Mapping<dim,spacedim>::InternalDataBase &,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_data,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_data,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data) const
{
template <int spacedim>
-typename Mapping<1,spacedim>::InternalDataBase *
+typename FiniteElement<1,spacedim>::InternalDataBase *
FE_FaceQ<1,spacedim>::get_data (
const UpdateFlags,
const Mapping<1,spacedim> &,
const Quadrature<1> &) const
{
- return new typename Mapping<1,spacedim>::InternalDataBase;
+ return new typename FiniteElement<1,spacedim>::InternalDataBase;
}
template <int spacedim>
-typename Mapping<1,spacedim>::InternalDataBase *
+typename FiniteElement<1,spacedim>::InternalDataBase *
FE_FaceQ<1,spacedim>::get_face_data (
const UpdateFlags update_flags,
const Mapping<1,spacedim> &,
const Quadrature<0> &quadrature) const
{
// generate a new data object and initialize some fields
- typename Mapping<1,spacedim>::InternalDataBase *data =
- new typename Mapping<1,spacedim>::InternalDataBase;
+ typename FiniteElement<1,spacedim>::InternalDataBase *data =
+ new typename FiniteElement<1,spacedim>::InternalDataBase;
// check what needs to be initialized only once and what on every
// cell/face/subface we visit
template <int spacedim>
-typename Mapping<1,spacedim>::InternalDataBase *
+typename FiniteElement<1,spacedim>::InternalDataBase *
FE_FaceQ<1,spacedim>::get_subface_data (
const UpdateFlags flags,
const Mapping<1,spacedim> &mapping,
const typename Triangulation<1,spacedim>::cell_iterator &,
const Quadrature<1> &,
const typename Mapping<1,spacedim>::InternalDataBase &,
- const typename Mapping<1,spacedim>::InternalDataBase &,
+ const typename FiniteElement<1,spacedim>::InternalDataBase &,
const internal::FEValues::MappingRelatedData<1,spacedim> &,
internal::FEValues::FiniteElementRelatedData<1,spacedim> &,
const CellSimilarity::Similarity ) const
const unsigned int face,
const Quadrature<0> &,
const typename Mapping<1,spacedim>::InternalDataBase &,
- const typename Mapping<1,spacedim>::InternalDataBase &fedata,
+ const typename FiniteElement<1,spacedim>::InternalDataBase &fedata,
const internal::FEValues::MappingRelatedData<1,spacedim> &,
internal::FEValues::FiniteElementRelatedData<1,spacedim> &output_data) const
{
const unsigned int ,
const Quadrature<0> &,
const typename Mapping<1,spacedim>::InternalDataBase &,
- const typename Mapping<1,spacedim>::InternalDataBase &,
+ const typename FiniteElement<1,spacedim>::InternalDataBase &,
const internal::FEValues::MappingRelatedData<1,spacedim> &,
internal::FEValues::FiniteElementRelatedData<1,spacedim> &) const
{
template <int dim, int spacedim>
-typename Mapping<dim,spacedim>::InternalDataBase *
+typename FiniteElement<dim,spacedim>::InternalDataBase *
FE_Nothing<dim,spacedim>::get_data (const UpdateFlags /*flags*/,
const Mapping<dim,spacedim> & /*mapping*/,
const Quadrature<dim> & /*quadrature*/) const
// Create a default data object. Normally we would then
// need to resize things to hold the appropriate numbers
// of dofs, but in this case all data fields are empty.
- typename Mapping<dim,spacedim>::InternalDataBase *data
+ typename FiniteElement<dim,spacedim>::InternalDataBase *data
= new typename FiniteElement<dim,spacedim>::InternalDataBase();
return data;
}
const typename Triangulation<dim,spacedim>::cell_iterator & /*cell*/,
const Quadrature<dim> & /*quadrature*/,
const typename Mapping<dim,spacedim>::InternalDataBase & /*mapping_data*/,
- const typename Mapping<dim,spacedim>::InternalDataBase & /*fedata*/,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase & /*fedata*/,
const internal::FEValues::MappingRelatedData<dim,spacedim> &/*mapping_data*/,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &/*output_data*/,
const CellSimilarity::Similarity /*cell_similarity*/) const
const unsigned int /*face*/,
const Quadrature<dim-1> & /*quadrature*/,
const typename Mapping<dim,spacedim>::InternalDataBase & /*mapping_data*/,
- const typename Mapping<dim,spacedim>::InternalDataBase & /*fedata*/,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase & /*fedata*/,
const internal::FEValues::MappingRelatedData<dim,spacedim> &/*mapping_data*/,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &/*output_data*/) const
{
const unsigned int /*subface*/,
const Quadrature<dim-1> & /*quadrature*/,
const typename Mapping<dim,spacedim>::InternalDataBase & /*mapping_data*/,
- const typename Mapping<dim,spacedim>::InternalDataBase & /*fedata*/,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase & /*fedata*/,
const internal::FEValues::MappingRelatedData<dim,spacedim> &/*mapping_data*/,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &/*output_data*/) const
{
const Triangulation<1,2>::cell_iterator &cell,
const Quadrature<1> &quadrature,
const Mapping<1,2>::InternalDataBase &mapping_internal,
- const Mapping<1,2>::InternalDataBase &fedata,
+ const FiniteElement<1,2>::InternalDataBase &fedata,
const internal::FEValues::MappingRelatedData<1,2> &,
internal::FEValues::FiniteElementRelatedData<1,2> &output_data,
const CellSimilarity::Similarity cell_similarity) const
const Triangulation<2,3>::cell_iterator &cell,
const Quadrature<2> &quadrature,
const Mapping<2,3>::InternalDataBase &mapping_internal,
- const Mapping<2,3>::InternalDataBase &fedata,
+ const FiniteElement<2,3>::InternalDataBase &fedata,
const internal::FEValues::MappingRelatedData<2,3> &,
internal::FEValues::FiniteElementRelatedData<2,3> &output_data,
const CellSimilarity::Similarity cell_similarity) const
const Triangulation<1,2>::cell_iterator &cell,
const Quadrature<1> &quadrature,
const Mapping<1,2>::InternalDataBase &mapping_internal,
- const Mapping<1,2>::InternalDataBase &fedata,
+ const FiniteElement<1,2>::InternalDataBase &fedata,
const internal::FEValues::MappingRelatedData<1,2> &,
internal::FEValues::FiniteElementRelatedData<1,2> &output_data,
const CellSimilarity::Similarity cell_similarity) const
const Triangulation<2,3>::cell_iterator &cell,
const Quadrature<2> &quadrature,
const Mapping<2,3>::InternalDataBase &mapping_internal,
- const Mapping<2,3>::InternalDataBase &fedata,
+ const FiniteElement<2,3>::InternalDataBase &fedata,
const internal::FEValues::MappingRelatedData<2,3> &,
internal::FEValues::FiniteElementRelatedData<2,3> &output_data,
const CellSimilarity::Similarity cell_similarity) const
//---------------------------------------------------------------------------
template <class POLY, int dim, int spacedim>
-typename Mapping<dim,spacedim>::InternalDataBase *
+typename FiniteElement<dim,spacedim>::InternalDataBase *
FE_PolyTensor<POLY,dim,spacedim>::get_data (
const UpdateFlags update_flags,
const Mapping<dim,spacedim> &mapping,
const typename Triangulation<dim,spacedim>::cell_iterator &cell,
const Quadrature<dim> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fedata,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fedata,
const internal::FEValues::MappingRelatedData<dim,spacedim> &,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data,
const CellSimilarity::Similarity cell_similarity) const
const unsigned int face,
const Quadrature<dim-1> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fedata,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fedata,
const internal::FEValues::MappingRelatedData<dim,spacedim> &,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data) const
{
const unsigned int subface,
const Quadrature<dim-1> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fedata,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fedata,
const internal::FEValues::MappingRelatedData<dim,spacedim> &,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data) const
{
template <int dim, int spacedim>
-typename Mapping<dim,spacedim>::InternalDataBase *
+typename FiniteElement<dim,spacedim>::InternalDataBase *
FESystem<dim,spacedim>::get_data (const UpdateFlags flags_,
const Mapping<dim,spacedim> &mapping,
const Quadrature<dim> &quadrature) const
// the base elements and store them
for (unsigned int base_no=0; base_no<this->n_base_elements(); ++base_no)
{
- typename Mapping<dim,spacedim>::InternalDataBase *base_fe_data_base =
- base_element(base_no).get_data(sub_flags, mapping, quadrature);
-
typename FiniteElement<dim,spacedim>::InternalDataBase *base_fe_data =
- dynamic_cast<typename FiniteElement<dim,spacedim>::InternalDataBase *>
- (base_fe_data_base);
- Assert (base_fe_data != 0, ExcInternalError());
+ base_element(base_no).get_data(sub_flags, mapping, quadrature);
data->set_fe_data(base_no, base_fe_data);
// that get_face_data of the base elements is called.
template <int dim, int spacedim>
-typename Mapping<dim,spacedim>::InternalDataBase *
+typename FiniteElement<dim,spacedim>::InternalDataBase *
FESystem<dim,spacedim>::get_face_data (
const UpdateFlags flags_,
const Mapping<dim,spacedim> &mapping,
for (unsigned int base_no=0; base_no<this->n_base_elements(); ++base_no)
{
- typename Mapping<dim,spacedim>::InternalDataBase *base_fe_data_base =
- base_element(base_no).get_face_data(sub_flags, mapping, quadrature);
-
typename FiniteElement<dim,spacedim>::InternalDataBase *base_fe_data =
- dynamic_cast<typename FiniteElement<dim,spacedim>::InternalDataBase *>
- (base_fe_data_base);
- Assert (base_fe_data != 0, ExcInternalError());
+ base_element(base_no).get_face_data(sub_flags, mapping, quadrature);
data->set_fe_data(base_no, base_fe_data);
// that get_subface_data of the base elements is called.
template <int dim, int spacedim>
-typename Mapping<dim,spacedim>::InternalDataBase *
+typename FiniteElement<dim,spacedim>::InternalDataBase *
FESystem<dim,spacedim>::get_subface_data (
const UpdateFlags flags_,
const Mapping<dim,spacedim> &mapping,
for (unsigned int base_no=0; base_no<this->n_base_elements(); ++base_no)
{
- typename Mapping<dim,spacedim>::InternalDataBase *base_fe_data_base =
- base_element(base_no).get_subface_data(sub_flags, mapping, quadrature);
-
typename FiniteElement<dim,spacedim>::InternalDataBase *base_fe_data =
- dynamic_cast<typename FiniteElement<dim,spacedim>::InternalDataBase *>
- (base_fe_data_base);
- Assert (base_fe_data != 0, ExcInternalError());
+ base_element(base_no).get_subface_data(sub_flags, mapping, quadrature);
data->set_fe_data(base_no, base_fe_data);
const typename Triangulation<dim,spacedim>::cell_iterator &cell,
const Quadrature<dim> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_data,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_data,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data,
const CellSimilarity::Similarity cell_similarity) const
const unsigned int face_no,
const Quadrature<dim-1> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_data,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_data,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data) const
{
const unsigned int sub_no,
const Quadrature<dim-1> &quadrature,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fe_data,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_data,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data) const
{
const std::pair<unsigned int, unsigned int> face_sub_no,
const Quadrature<dim_1> &quadrature,
const std::pair<const typename Mapping<dim,spacedim>::InternalDataBase *,
- const typename Mapping<dim,spacedim>::InternalDataBase *> mapping_and_fe_internal,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase *> mapping_and_fe_internal,
const unsigned int base_no,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data) const
const Quadrature<dim_1> &quadrature,
const CellSimilarity::Similarity cell_similarity,
const typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
- const typename Mapping<dim,spacedim>::InternalDataBase &fedata,
+ const typename FiniteElement<dim,spacedim>::InternalDataBase &fedata,
const internal::FEValues::MappingRelatedData<dim,spacedim> &mapping_data,
internal::FEValues::FiniteElementRelatedData<dim,spacedim> &output_data) const
{
for (unsigned int base_no=0; base_no<this->n_base_elements(); ++base_no)
{
// Pointer needed to get the update flags of the base element
- typename Mapping<dim,spacedim>::InternalDataBase &
+ typename FiniteElement<dim,spacedim>::InternalDataBase &
base_fe_data = fe_data.get_fe_data(base_no);
// compute update flags ...
// have assumed ownership
if (fe_data != 0)
{
- typename Mapping<dim,spacedim>::InternalDataBase *tmp1=fe_data;
+ typename FiniteElement<dim,spacedim>::InternalDataBase *tmp1=fe_data;
fe_data=0;
delete tmp1;
}