]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix non-existence of FEFaceValuesBase::boundary_forms
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 22 Oct 2003 19:39:59 +0000 (19:39 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 22 Oct 2003 19:39:59 +0000 (19:39 +0000)
git-svn-id: https://svn.dealii.org/trunk@8129 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/fe/fe_values.h
deal.II/doc/news/c-4-0.html

index f3382979e3246f2c00fe659a727f8de7a659dc3b..585a5b81c4265d7d59504bf2a79d79c496780275 100644 (file)
@@ -1494,6 +1494,7 @@ FEValuesBase<dim>::get_mapping () const
 
 
 template <int dim>
+inline
 const Quadrature<dim> &
 FEValues<dim>::get_quadrature () const 
 {
@@ -1505,10 +1506,12 @@ FEValues<dim>::get_quadrature () const
 
 
 template <int dim>
+inline
 const Point<dim> &
 FEFaceValuesBase<dim>::normal_vector (const unsigned int i) const
 {
-  Assert (i<this->normal_vectors.size(), ExcIndexRange(i, 0, this->normal_vectors.size()));
+  Assert (i<this->normal_vectors.size(),
+         ExcIndexRange(i, 0, this->normal_vectors.size()));
   Assert (this->update_flags & update_normal_vectors,
          typename FEValuesBase<dim>::ExcAccessToUninitializedField());
   
@@ -1516,7 +1519,24 @@ FEFaceValuesBase<dim>::normal_vector (const unsigned int i) const
 }
 
 
+
 template <int dim>
+inline
+const Tensor<1,dim> &
+FEFaceValuesBase<dim>::boundary_form (const unsigned int i) const
+{
+  Assert (i<this->boundary_forms.size(),
+         ExcIndexRange(i, 0, this->boundary_forms.size()));
+  Assert (this->update_flags & update_boundary_forms,
+         typename FEValuesBase<dim>::ExcAccessToUninitializedField());
+  
+  return this->boundary_forms[i];
+}
+
+
+
+template <int dim>
+inline
 bool
 FEFaceValuesBase<dim>::orientation () const
 {
@@ -1525,6 +1545,7 @@ FEFaceValuesBase<dim>::orientation () const
 
 
 template <int dim>
+inline
 const Quadrature<dim-1> &
 FEFaceValuesBase<dim>::get_quadrature () const 
 {
index dba522d04602735a491f5832882d6a83a2200f54..ef24f875786b47ae2ca07222c239cc9bf6756ef5 100644 (file)
@@ -256,6 +256,14 @@ contributor's names are abbreviated by WB (Wolfgang Bangerth), GK
 <h3>deal.II</h3>
 
 <ol>
+  <li> <p>
+       Fixed: The <code
+       class="member">FEFaceValuesBase::boundary_form</code>
+       function was declared but not implemented. This is now fixed.
+       <br>
+       (J&ouml;rg R. Weimar 2003/10/22)
+       </p>
+
   <li> <p>
        Improved: The <code
        class="member">MatrixCreator::create_mass_matrix</code>

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.