From 9345afe3997d0c2ac7fcf72430f0cfdf2ee6278e Mon Sep 17 00:00:00 2001 From: guido Date: Tue, 24 May 2005 16:49:01 +0000 Subject: [PATCH] compiles with gcc 4.0 git-svn-id: https://svn.dealii.org/trunk@10730 0785d39b-7218-0410-832d-ea1e28bc413d --- .../deal.II/source/fe/fe_raviart_thomas_nodal.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/deal.II/deal.II/source/fe/fe_raviart_thomas_nodal.cc b/deal.II/deal.II/source/fe/fe_raviart_thomas_nodal.cc index 1570bf7df0..25ff458fa3 100644 --- a/deal.II/deal.II/source/fe/fe_raviart_thomas_nodal.cc +++ b/deal.II/deal.II/source/fe/fe_raviart_thomas_nodal.cc @@ -44,7 +44,7 @@ FE_RaviartThomasNodal::FE_RaviartThomasNodal (const unsigned int deg) { Assert (dim >= 2, ExcImpossibleInDim(dim)); - this->mapping_type = independent_on_cartesian; + this->mapping_type = this->independent_on_cartesian; for (unsigned int i=0; i::children_per_cell; ++i) this->prolongation[i].reinit (this->dofs_per_cell, @@ -75,7 +75,7 @@ FE_RaviartThomasNodal::get_name () const std::ostrstream namebuf; #endif - namebuf << "FE_RaviartThomasNodal<" << dim << ">(" << degree-1 << ")"; + namebuf << "FE_RaviartThomasNodal<" << dim << ">(" << this->degree-1 << ")"; #ifndef HAVE_STD_STRINGSTREAM namebuf << std::ends; @@ -98,7 +98,7 @@ template FiniteElement * FE_RaviartThomasNodal::clone() const { - return new FE_RaviartThomasNodal(degree-1); + return new FE_RaviartThomasNodal(this->degree-1); } @@ -269,7 +269,7 @@ FE_RaviartThomasNodal::initialize_node_matrix () { for (unsigned int i=0;ishape_value_component( - i, unit_support_point(current), + i, this->unit_support_points[current], GeometryInfo< dim >::unit_normal_direction[face]) * GeometryInfo< dim >::unit_normal_orientation[face]; ++current; @@ -281,14 +281,14 @@ FE_RaviartThomasNodal::initialize_node_matrix () for (unsigned int k=0;kshape_value_component(i, unit_support_point(current), d); + N(current,i) = this->shape_value_component(i, this->unit_support_points[current], d); ++current; } Assert (current == n_dofs, ExcInternalError()); - - inverse_node_matrix.invert(N); + this->inverse_node_matrix.reinit(n_dofs, n_dofs); + this->inverse_node_matrix.invert(N); } -template FE_RaviartThomasNodal; +template class FE_RaviartThomasNodal; -- 2.39.5