From: wolf Date: Wed, 22 Oct 2003 19:39:59 +0000 (+0000) Subject: Fix non-existence of FEFaceValuesBase::boundary_forms X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3adec8aeb11a48de110c4ee2eb125b60f8fbb9d7;p=dealii-svn.git Fix non-existence of FEFaceValuesBase::boundary_forms git-svn-id: https://svn.dealii.org/trunk@8129 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/fe/fe_values.h b/deal.II/deal.II/include/fe/fe_values.h index f3382979e3..585a5b81c4 100644 --- a/deal.II/deal.II/include/fe/fe_values.h +++ b/deal.II/deal.II/include/fe/fe_values.h @@ -1494,6 +1494,7 @@ FEValuesBase::get_mapping () const template +inline const Quadrature & FEValues::get_quadrature () const { @@ -1505,10 +1506,12 @@ FEValues::get_quadrature () const template +inline const Point & FEFaceValuesBase::normal_vector (const unsigned int i) const { - Assert (inormal_vectors.size(), ExcIndexRange(i, 0, this->normal_vectors.size())); + Assert (inormal_vectors.size(), + ExcIndexRange(i, 0, this->normal_vectors.size())); Assert (this->update_flags & update_normal_vectors, typename FEValuesBase::ExcAccessToUninitializedField()); @@ -1516,7 +1519,24 @@ FEFaceValuesBase::normal_vector (const unsigned int i) const } + template +inline +const Tensor<1,dim> & +FEFaceValuesBase::boundary_form (const unsigned int i) const +{ + Assert (iboundary_forms.size(), + ExcIndexRange(i, 0, this->boundary_forms.size())); + Assert (this->update_flags & update_boundary_forms, + typename FEValuesBase::ExcAccessToUninitializedField()); + + return this->boundary_forms[i]; +} + + + +template +inline bool FEFaceValuesBase::orientation () const { @@ -1525,6 +1545,7 @@ FEFaceValuesBase::orientation () const template +inline const Quadrature & FEFaceValuesBase::get_quadrature () const { diff --git a/deal.II/doc/news/c-4-0.html b/deal.II/doc/news/c-4-0.html index dba522d046..ef24f87578 100644 --- a/deal.II/doc/news/c-4-0.html +++ b/deal.II/doc/news/c-4-0.html @@ -256,6 +256,14 @@ contributor's names are abbreviated by WB (Wolfgang Bangerth), GK

deal.II

    +
  1. + Fixed: The FEFaceValuesBase::boundary_form + function was declared but not implemented. This is now fixed. +
    + (Jörg R. Weimar 2003/10/22) +

    +
  2. Improved: The MatrixCreator::create_mass_matrix