template <int dim, int spacedim>
inline std::pair<unsigned int, unsigned int>
FiniteElement<dim, spacedim>::face_system_to_component_index(
- const unsigned int index) const
+ const unsigned int index,
+ const unsigned int) const
{
- AssertIndexRange(index, face_system_to_component_table.size());
+ AssertIndexRange(index, face_system_to_component_table[0].size());
// in debug mode, check whether the
// function is primitive, since
template <int dim, int spacedim>
inline std::pair<std::pair<unsigned int, unsigned int>, unsigned int>
FiniteElement<dim, spacedim>::face_system_to_base_index(
- const unsigned int index) const
+ const unsigned int index,
+ const unsigned int) const
{
- AssertIndexRange(index, face_system_to_base_table.size());
- return face_system_to_base_table[index];
+ AssertIndexRange(index, face_system_to_base_table[0].size());
+ return face_system_to_base_table[0][index];
}
template <int dim, int spacedim>
bool
-FiniteElement<dim, spacedim>::has_face_support_points() const
+FiniteElement<dim, spacedim>::has_face_support_points(const unsigned int) const
{
- return (unit_face_support_points.size() != 0);
+ return (unit_face_support_points[0].size() != 0);
}
template <int dim, int spacedim>
Point<dim - 1>
-FiniteElement<dim, spacedim>::unit_face_support_point(
- const unsigned int index) const
+FiniteElement<dim, spacedim>::unit_face_support_point(const unsigned int index,
+ const unsigned int) const
{
AssertIndexRange(index, this->n_dofs_per_face());
- Assert(unit_face_support_points.size() == this->n_dofs_per_face(),
+ Assert(unit_face_support_points[0].size() == this->n_dofs_per_face(),
ExcFEHasNoSupportPoints());
- return unit_face_support_points[index];
+ return unit_face_support_points[0][index];
}
template <int dim, int spacedim>
Point<dim - 1>
-FESystem<dim, spacedim>::unit_face_support_point(const unsigned int index) const
+FESystem<dim, spacedim>::unit_face_support_point(
+ const unsigned int index,
+ const unsigned int face_no) const
{
AssertIndexRange(index, this->n_dofs_per_face());
- Assert((this->unit_face_support_points.size() == this->n_dofs_per_face()) ||
- (this->unit_face_support_points.size() == 0),
+ Assert((this->unit_face_support_points[0].size() ==
+ this->n_dofs_per_face()) ||
+ (this->unit_face_support_points[0].size() == 0),
(typename FiniteElement<dim, spacedim>::ExcFEHasNoSupportPoints()));
// let's see whether we have the information pre-computed