[Dune-devel] Compile time of reference elements

Tobias Malkmus tomalk at mathematik.uni-freiburg.de
Mon Feb 18 08:55:48 CET 2013


Hi Oli

it seems that your patches have broken the dune-geometry tests.
A check on the test in dune-geometry/dune/geometry/test/
gives this error:

make  test-affinegeometry test-axisalignedcubegeometry test-geometrytype 
test-multilineargeometry test-quadrature test-genericquadrature 
test-referenceelements test-refinement
make[1]: Entering directory 
`/hosts/disk1/gimli/tomalk/dune/trunk/dune-geometry/dune/geometry/test'
g++-4.6.3 -std=c++0x -DHAVE_CONFIG_H -I. -I../../.. 
-I/hosts/disk1/gimli/tomalk/dune/trunk/dune-common -I../../..   -Wall 
-Wfatal-errors -MT test-affinegeometry.o -MD -MP -MF 
.deps/test-affinegeometry.Tpo -c -o test-affinegeometry.o 
test-affinegeometry.cc
In file included from test-affinegeometry.cc:6:0:
../../../dune/geometry/referenceelements.hh: In member function ‘void 
Dune::ReferenceElement<ctype, dim>::initializeTopology(unsigned int) 
[with ctype = double, int dim = 0]’:
../../../dune/geometry/referenceelements.hh:489:9:   instantiated from 
‘Dune::ReferenceElementContainer<ctype, 
dim>::ReferenceElementContainer() [with ctype = double, int dim = 0]’
../../../dune/geometry/referenceelements.hh:568:54:   instantiated from 
‘static const Dune::ReferenceElementContainer<ctype, dim>& 
Dune::ReferenceElements<ctype, dim>::container() [with ctype = double, 
int dim = 0]’
../../../dune/geometry/referenceelements.hh:547:32:   instantiated from 
‘static const Dune::ReferenceElement<ctype, dim>& 
Dune::ReferenceElements<ctype, dim>::general(const Dune::GeometryType&) 
[with ctype = double, int dim = 0]’
test-affinegeometry.cc:109:115:   instantiated from ‘bool 
testAffineGeometry(Dune::GeometryType) [with ctype = double, int mydim = 
0, int cdim = 0]’
test-affinegeometry.cc:159:3:   instantiated from ‘bool 
testAffineGeometry() [with ctype = double]’
test-affinegeometry.cc:218:40:   instantiated from here
../../../dune/geometry/referenceelements.hh:314:31: warning: comparison 
between signed and unsigned integer expressions [-Wsign-compare]
../../../dune/geometry/referenceelements.hh: In member function ‘void 
Dune::ReferenceElement<ctype, dim>::initializeTopology(unsigned int) 
[with ctype = double, int dim = 1]’:
../../../dune/geometry/referenceelements.hh:489:9:   instantiated from 
‘Dune::ReferenceElementContainer<ctype, 
dim>::ReferenceElementContainer() [with ctype = double, int dim = 1]’
../../../dune/geometry/referenceelements.hh:568:54:   instantiated from 
‘static const Dune::ReferenceElementContainer<ctype, dim>& 
Dune::ReferenceElements<ctype, dim>::container() [with ctype = double, 
int dim = 1]’
../../../dune/geometry/referenceelements.hh:547:32:   instantiated from 
‘static const Dune::ReferenceElement<ctype, dim>& 
Dune::ReferenceElements<ctype, dim>::general(const Dune::GeometryType&) 
[with ctype = double, int dim = 1]’
test-affinegeometry.cc:109:115:   instantiated from ‘bool 
testAffineGeometry(Dune::GeometryType) [with ctype = double, int mydim = 
1, int cdim = 1]’
test-affinegeometry.cc:171:3:   instantiated from ‘bool 
testAffineGeometry() [with ctype = double]’
test-affinegeometry.cc:218:40:   instantiated from here
../../../dune/geometry/referenceelements.hh:314:31: warning: comparison 
between signed and unsigned integer expressions [-Wsign-compare]
../../../dune/geometry/referenceelements.hh: In member function ‘void 
Dune::ReferenceElement<ctype, dim>::initializeTopology(unsigned int) 
[with ctype = double, int dim = 2]’:
../../../dune/geometry/referenceelements.hh:489:9:   instantiated from 
‘Dune::ReferenceElementContainer<ctype, 
dim>::ReferenceElementContainer() [with ctype = double, int dim = 2]’
../../../dune/geometry/referenceelements.hh:568:54:   instantiated from 
‘static const Dune::ReferenceElementContainer<ctype, dim>& 
Dune::ReferenceElements<ctype, dim>::container() [with ctype = double, 
int dim = 2]’
../../../dune/geometry/referenceelements.hh:547:32:   instantiated from 
‘static const Dune::ReferenceElement<ctype, dim>& 
Dune::ReferenceElements<ctype, dim>::general(const Dune::GeometryType&) 
[with ctype = double, int dim = 2]’
test-affinegeometry.cc:109:115:   instantiated from ‘bool 
testAffineGeometry(Dune::GeometryType) [with ctype = double, int mydim = 
2, int cdim = 2]’
test-affinegeometry.cc:181:3:   instantiated from ‘bool 
testAffineGeometry() [with ctype = double]’
test-affinegeometry.cc:218:40:   instantiated from here
../../../dune/geometry/referenceelements.hh:314:31: warning: comparison 
between signed and unsigned integer expressions [-Wsign-compare]
../../../dune/geometry/referenceelements.hh: In member function ‘void 
Dune::ReferenceElement<ctype, dim>::initializeTopology(unsigned int) 
[with ctype = double, int dim = 3]’:
../../../dune/geometry/referenceelements.hh:489:9:   instantiated from 
‘Dune::ReferenceElementContainer<ctype, 
dim>::ReferenceElementContainer() [with ctype = double, int dim = 3]’
../../../dune/geometry/referenceelements.hh:568:54:   instantiated from 
‘static const Dune::ReferenceElementContainer<ctype, dim>& 
Dune::ReferenceElements<ctype, dim>::container() [with ctype = double, 
int dim = 3]’
../../../dune/geometry/referenceelements.hh:547:32:   instantiated from 
‘static const Dune::ReferenceElement<ctype, dim>& 
Dune::ReferenceElements<ctype, dim>::general(const Dune::GeometryType&) 
[with ctype = double, int dim = 3]’
test-affinegeometry.cc:109:115:   instantiated from ‘bool 
testAffineGeometry(Dune::GeometryType) [with ctype = double, int mydim = 
3, int cdim = 3]’
test-affinegeometry.cc:189:3:   instantiated from ‘bool 
testAffineGeometry() [with ctype = double]’
test-affinegeometry.cc:218:40:   instantiated from here
../../../dune/geometry/referenceelements.hh:314:31: warning: comparison 
between signed and unsigned integer expressions [-Wsign-compare]
../../../dune/geometry/referenceelements.hh: In member function ‘void 
Dune::ReferenceElement<ctype, dim>::initializeTopology(unsigned int) 
[with ctype = double, int dim = 4]’:
../../../dune/geometry/referenceelements.hh:489:9:   instantiated from 
‘Dune::ReferenceElementContainer<ctype, 
dim>::ReferenceElementContainer() [with ctype = double, int dim = 4]’
../../../dune/geometry/referenceelements.hh:568:54:   instantiated from 
‘static const Dune::ReferenceElementContainer<ctype, dim>& 
Dune::ReferenceElements<ctype, dim>::container() [with ctype = double, 
int dim = 4]’
../../../dune/geometry/referenceelements.hh:547:32:   instantiated from 
‘static const Dune::ReferenceElement<ctype, dim>& 
Dune::ReferenceElements<ctype, dim>::general(const Dune::GeometryType&) 
[with ctype = double, int dim = 4]’
test-affinegeometry.cc:109:115:   instantiated from ‘bool 
testAffineGeometry(Dune::GeometryType) [with ctype = double, int mydim = 
4, int cdim = 4]’
test-affinegeometry.cc:203:3:   instantiated from ‘bool 
testAffineGeometry() [with ctype = double]’
test-affinegeometry.cc:218:40:   instantiated from here
../../../dune/geometry/referenceelements.hh:314:31: warning: comparison 
between signed and unsigned integer expressions [-Wsign-compare]
In file included from 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/g++-v4/vector:70:0,
                  from test-affinegeometry.cc:3:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/g++-v4/bits/vector.tcc: 
In member function ‘void std::vector<_Tp, 
_Alloc>::_M_insert_aux(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) 
[with _Args = {const Dune::AffineGeometry<double, 0, 0>&}, _Tp = 
Dune::AffineGeometry<double, 0, 0>, _Alloc = 
std::allocator<Dune::AffineGeometry<double, 0, 0> >, std::vector<_Tp, 
_Alloc>::iterator = 
__gnu_cxx::__normal_iterator<Dune::AffineGeometry<double, 0, 0>*, 
std::vector<Dune::AffineGeometry<double, 0, 0>, 
std::allocator<Dune::AffineGeometry<double, 0, 0> > > >, typename 
std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer = 
Dune::AffineGeometry<double, 0, 0>*]’:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/g++-v4/bits/stl_vector.h:834:4: 
   instantiated from ‘void std::vector<_Tp, _Alloc>::push_back(const 
value_type&) [with _Tp = Dune::AffineGeometry<double, 0, 0>, _Alloc = 
std::allocator<Dune::AffineGeometry<double, 0, 0> >, std::vector<_Tp, 
_Alloc>::value_type = Dune::AffineGeometry<double, 0, 0>]’
../../../dune/geometry/referenceelements.hh:467:9:   instantiated from 
‘static void Dune::ReferenceElement<ctype, 
dim>::CreateGeometries<codim>::apply(const Dune::ReferenceElement<ctype, 
dim>&, Dune::ReferenceElement<ctype, dim>::GeometryTable&) [with int 
codim = 0, ctype = double, int dim = 0, Dune::ReferenceElement<ctype, 
dim>::GeometryTable = 
Dune::GenericGeometry::CodimTable<Dune::ReferenceElement<double, 
0>::GeometryArray, 0>]’
../../../dune/geometry/referenceelements.hh:335:7:   instantiated from 
‘void Dune::ReferenceElement<ctype, dim>::initializeTopology(unsigned 
int) [with ctype = double, int dim = 0]’
../../../dune/geometry/referenceelements.hh:489:9:   instantiated from 
‘Dune::ReferenceElementContainer<ctype, 
dim>::ReferenceElementContainer() [with ctype = double, int dim = 0]’
../../../dune/geometry/referenceelements.hh:568:54:   instantiated from 
‘static const Dune::ReferenceElementContainer<ctype, dim>& 
Dune::ReferenceElements<ctype, dim>::container() [with ctype = double, 
int dim = 0]’
../../../dune/geometry/referenceelements.hh:547:32:   instantiated from 
‘static const Dune::ReferenceElement<ctype, dim>& 
Dune::ReferenceElements<ctype, dim>::general(const Dune::GeometryType&) 
[with ctype = double, int dim = 0]’
test-affinegeometry.cc:109:115:   instantiated from ‘bool 
testAffineGeometry(Dune::GeometryType) [with ctype = double, int mydim = 
0, int cdim = 0]’
test-affinegeometry.cc:159:3:   instantiated from ‘bool 
testAffineGeometry() [with ctype = double]’
test-affinegeometry.cc:218:40:   instantiated from here
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/g++-v4/bits/vector.tcc:319:4: 
error: use of deleted function ‘Dune::AffineGeometry<double, 0, 0>& 
Dune::AffineGeometry<double, 0, 0>::operator=(const 
Dune::AffineGeometry<double, 0, 0>&)’
compilation terminated due to -Wfatal-errors.
make[1]: *** [test-affinegeometry.o] Error 1


seems to ba an issue of the affine geometry.


Best Tobias



On 02/17/2013 09:40 PM, Oliver Sander wrote:
> Hi Markus,
> this is indeed related.  I didn't find this one because no test in
> dune-geometry
> covers it, and Martin had changed the name.  Please update and try again.
> best,
> Oliver
>
> Am 17.02.2013 16:34, schrieb Markus Blatt:
>> Hey Oliver,
>>
>> might be unrelated, but somehow the test of localfunctions do not
>> compile any more, due to a missing type Mapping in ReferenceElements:
>>
>> g++ -std=c++0x -DHAVE_CONFIG_H -I. -I../../..
>> -I/home/mblatt/buildbot-slave1/DUNE-1/trunk/dune-common
>> -I/home/mblatt/buildbot-slave1/DUNE-1/trunk/dune-geometry
>> -I/home/mblatt/buildbot-slave1/DUNE-1/trunk/dune-grid -I../../..   -g
>> -O2 -MT virtualshapefunctiontest-virtualshapefunctiontest.o -MD -MP
>> -MF .deps/virtualshapefunctiontest-virtualshapefunctiontest.Tpo -c -o
>> virtualshapefunctiontest-virtualshapefunctiontest.o `test -f
>> 'virtualshapefunctiontest.cc' || echo './'`virtualshapefunctiontest.cc
>> mv -f .deps/virtualshapefunctiontest-virtualshapefunctiontest.Tpo
>> .deps/virtualshapefunctiontest-virtualshapefunctiontest.Po
>> /bin/bash ../../../libtool  --tag=CXX   --mode=link g++ -std=c++0x  -g
>> -O2   -o virtualshapefunctiontest
>> virtualshapefunctiontest-virtualshapefunctiontest.o
>> /home/mblatt/buildbot-slave1/DUNE-1/trunk/dune-grid/lib/libdunegrid.la
>> /home/mblatt/buildbot-slave1/DUNE-1/trunk/dune-grid/lib/libdunegrid.la
>> /home/mblatt/buildbot-slave1/DUNE-1/trunk/dune-geometry/lib/libdunegeometry.la
>>
>> /home/mblatt/buildbot-slave1/DUNE-1/trunk/dune-geometry/lib/libdunegeometry.la
>>
>> /home/mblatt/buildbot-slave1/DUNE-1/trunk/dune-common/lib/libdunecommon.la
>>
>> /home/mblatt/buildbot-slave1/DUNE-1/trunk/dune-common/lib/libdunecommon.la
>>
>> libtool: link: g++ -std=c++0x -g -O2 -o virtualshapefunctiontest
>> virtualshapefunctiontest-virtualshapefunctiontest.o
>> /home/mblatt/buildbot-slave1/DUNE-1/trunk/dune-grid/lib/.libs/libdunegrid.a
>>
>> /home/mblatt/buildbot-slave1/DUNE-1/trunk/dune-geometry/lib/.libs/libdunegeometry.a
>>
>> /home/mblatt/buildbot-slave1/DUNE-1/trunk/dune-common/lib/.libs/libdunecommon.a
>>
>> -llapack -lcblas -lf77blas -latlas -lgfortranbegin -lgfortran
>> g++ -std=c++0x -DHAVE_CONFIG_H -I. -I../../..
>> -I/home/mblatt/buildbot-slave1/DUNE-1/trunk/dune-common
>> -I/home/mblatt/buildbot-slave1/DUNE-1/trunk/dune-geometry
>> -I/home/mblatt/buildbot-slave1/DUNE-1/trunk/dune-grid -I../../..    -g
>> -O2 -MT testgenericfem-testgenericfem.o -MD -MP -MF
>> .deps/testgenericfem-testgenericfem.Tpo -c -o
>> testgenericfem-testgenericfem.o `test -f 'testgenericfem.cc' || echo
>> './'`testgenericfem.cc
>> In file included from
>> ../../../dune/localfunctions/raviartthomas/raviartthomassimplex/raviartthomassimplexbasis.hh:8,
>>
>>                   from
>>
>> ../../../dune/localfunctions/raviartthomas/raviartthomassimplex.hh:5,
>>                   from ../../../dune/localfunctions/raviartthomas.hh:5,
>>                   from testgenericfem.cc:26:
>> ../../../dune/localfunctions/raviartthomas/raviartthomassimplex/raviartthomassimplexinterpolation.hh:
>>
>> In member function ‘void Dune::RaviartThomasL2Interpolation<dimension,
>> F>::interpolate(typename Dune::InterpolationHelper<F,
>> dimension>::Helper<Func, Container, type>&) const [with Func =
>> Func<Dune::RaviartThomasSimplexLocalFiniteElement<3u, double, double,
>> double, double>  >, Container = std::vector<double,
>> std::allocator<double>  >, bool type = true, unsigned int dimension =
>> 3u, F = double]’:
>> ../../../dune/localfunctions/raviartthomas/raviartthomassimplex/raviartthomassimplexinterpolation.hh:220:
>>
>> instantiated from ‘void Dune::RaviartThomasL2Interpolation<dimension,
>> F>::interpolate(const Function&, std::vector<DofField,
>> std::allocator<DofField>  >&) const [with Function =
>> Func<Dune::RaviartThomasSimplexLocalFiniteElement<3u, double, double,
>> double, double>  >, Fy = double, unsigned int dimension = 3u, F =
>> double]’
>> test-localfe.hh:240:   instantiated from ‘bool testFE(const FE&,
>> unsigned int) [with FE =
>> Dune::RaviartThomasSimplexLocalFiniteElement<3u, double, double,
>> double, double>]’
>> testgenericfem.cc:111:   instantiated from here
>> ../../../dune/localfunctions/raviartthomas/raviartthomassimplex/raviartthomassimplexinterpolation.hh:287:
>>
>> error: no type named ‘Mapping’ in ‘struct
>> Dune::ReferenceElement<double, 3>::Codim<1>’
>> ../../../dune/localfunctions/raviartthomas/raviartthomassimplex/raviartthomassimplexinterpolation.hh:
>>
>> In member function ‘void Dune::RaviartThomasL2Interpolation<dimension,
>> F>::interpolate(typename Dune::InterpolationHelper<F,
>> dimension>::Helper<Func, Container, type>&) const [with Func =
>> LocalFEFunction<Dune::RaviartThomasSimplexLocalFiniteElement<3u,
>> double, double, double, double>  >, Container = std::vector<double,
>> std::allocator<double>  >, bool type = true, unsigned int dimension =
>> 3u, F = double]’:
>> ../../../dune/localfunctions/raviartthomas/raviartthomassimplex/raviartthomassimplexinterpolation.hh:220:
>>
>> instantiated from ‘void Dune::RaviartThomasL2Interpolation<dimension,
>> F>::interpolate(const Function&, std::vector<DofField,
>> std::allocator<DofField>  >&) const [with Function =
>> LocalFEFunction<Dune::RaviartThomasSimplexLocalFiniteElement<3u,
>> double, double, double, double>  >, Fy = double, unsigned int dimension
>> = 3u, F = double]’
>> test-localfe.hh:112:   instantiated from ‘bool
>> testLocalInterpolation(const FE&, int) [with FE =
>> Dune::RaviartThomasSimplexLocalFiniteElement<3u, double, double,
>> double, double>]’
>> test-localfe.hh:243:   instantiated from ‘bool testFE(const FE&,
>> unsigned int) [with FE =
>> Dune::RaviartThomasSimplexLocalFiniteElement<3u, double, double,
>> double, double>]’
>> testgenericfem.cc:111:   instantiated from here
>> ../../../dune/localfunctions/raviartthomas/raviartthomassimplex/raviartthomassimplexinterpolation.hh:287:
>>
>> error: no type named ‘Mapping’ in ‘struct
>> Dune::ReferenceElement<double, 3>::Codim<1>’
>> ../../../dune/localfunctions/raviartthomas/raviartthomassimplex/raviartthomassimplexinterpolation.hh:
>>
>> In member function ‘void Dune::RaviartThomasL2Interpolation<dimension,
>> F>::interpolate(typename Dune::InterpolationHelper<F,
>> dimension>::Helper<Func, Container, type>&) const [with Func =
>> Dune::PolynomialBasisWithMatrix<Dune::StandardEvaluator<const
>> Dune::VirtualMonomialBasis<3, double>  >,
>> Dune::SparseCoeffMatrix<double, 3u>, double, double>, Container =
>> Dune::BasisMatrixBase<const
>> Dune::PolynomialBasisWithMatrix<Dune::StandardEvaluator<const
>> Dune::VirtualMonomialBasis<3, double>  >,
>> Dune::SparseCoeffMatrix<double, 3u>, double, double>, const
>> Dune::RaviartThomasL2Interpolation<3u, double>, double>, bool type =
>> false, unsigned int dimension = 3u, F = double]’:
>> ../../../dune/localfunctions/raviartthomas/raviartthomassimplex/raviartthomassimplexinterpolation.hh:227:
>>
>> instantiated from ‘void Dune::RaviartThomasL2Interpolation<dimension,
>> F>::interpolate(const Basis&, Matrix&) const [with Basis =
>> Dune::PolynomialBasisWithMatrix<Dune::StandardEvaluator<const
>> Dune::VirtualMonomialBasis<3, double>  >,
>> Dune::SparseCoeffMatrix<double, 3u>, double, double>, Matrix =
>> Dune::BasisMatrixBase<const
>> Dune::PolynomialBasisWithMatrix<Dune::StandardEvaluator<const
>> Dune::VirtualMonomialBasis<3, double>  >,
>> Dune::SparseCoeffMatrix<double, 3u>, double, double>, const
>> Dune::RaviartThomasL2Interpolation<3u, double>, double>, unsigned int
>> dimension = 3u, F = double]’
>> ../../../dune/localfunctions/utility/basismatrix.hh:35:   instantiated
>> from ‘Dune::BasisMatrixBase<PreBasis, Interpolation,
>> Field>::BasisMatrixBase(const PreBasis&, const Interpolation&) [with
>> PreBasis = const
>> Dune::PolynomialBasisWithMatrix<Dune::StandardEvaluator<const
>> Dune::VirtualMonomialBasis<3, double>  >,
>> Dune::SparseCoeffMatrix<double, 3u>, double, double>, Interpolation =
>> const Dune::RaviartThomasL2Interpolation<3u, double>, Field = double]’
>> ../../../dune/localfunctions/utility/basismatrix.hh:154:
>> instantiated from ‘Dune::BasisMatrix<const
>> Dune::PolynomialBasisWithMatrix<Eval, CM, double, double>,
>> Interpolation, Field>::BasisMatrix(const
>> Dune::PolynomialBasisWithMatrix<Eval, CM, double, double>&, const
>> Interpolation&) [with Eval = Dune::StandardEvaluator<const
>> Dune::VirtualMonomialBasis<3, double>  >, CM =
>> Dune::SparseCoeffMatrix<double, 3u>, Interpolation = const
>> Dune::RaviartThomasL2Interpolation<3u, double>, Field = double]’
>> ../../../dune/localfunctions/utility/defaultbasisfactory.hh:96:
>> instantiated from ‘static typename
>> Dune::DefaultBasisFactoryTraits<PreBFactory, InterpolFactory, dim,
>> dimR, SF, CF, PreBasisKeyExtractor>::Object*
>> Dune::DefaultBasisFactory<PreBFactory, InterpolFactory, dim, dimR, SF,
>> CF, PreBasisKeyExtractor>::createObject(const typename
>> Dune::DefaultBasisFactoryTraits<PreBFactory, InterpolFactory, dim,
>> dimR, SF, CF, PreBasisKeyExtractor>::Key&) [with Topology =
>> Dune::GenericGeometry::Prism<Dune::GenericGeometry::Prism<Dune::GenericGeometry::Prism<Dune::GenericGeometry::Point>
>> >  >, PreBFactory = Dune::RTPreBasisFactory<3u, double>,
>> InterpolFactory = Dune::RaviartThomasL2InterpolationFactory<3u,
>> double>, unsigned int dim = 3u, unsigned int dimR = 3u, SF = double,
>> CF = double, PreBasisKeyExtractor = Dune::Identity]’
>> /home/mblatt/buildbot-slave1/DUNE-1/trunk/dune-geometry/dune/geometry/topologyfactory.hh:52:
>>
>> instantiated from ‘static typename Traits::Object*
>> Dune::TopologyFactory<Traits>::create(const typename Traits::Key&)
>> [with Topology =
>> Dune::GenericGeometry::Prism<Dune::GenericGeometry::Prism<Dune::GenericGeometry::Prism<Dune::GenericGeometry::Point>
>> >  >, Traits =
>> Dune::DefaultBasisFactoryTraits<Dune::RTPreBasisFactory<3u, double>,
>> Dune::RaviartThomasL2InterpolationFactory<3u, double>, 3u, 3u, double,
>> double, Dune::Identity>]’
>> ../../../dune/localfunctions/utility/localfiniteelement.hh:108:
>> instantiated from ‘void Dune::GenericLocalFiniteElement<BasisF,
>> CoeffF, InterpolF>::FiniteElement::create(const typename BasisF::Key&)
>> [with Topology =
>> Dune::GenericGeometry::Prism<Dune::GenericGeometry::Prism<Dune::GenericGeometry::Prism<Dune::GenericGeometry::Point>
>> >  >, BasisF = Dune::RaviartThomasBasisFactory<3u, double, double>,
>> CoeffF = Dune::RaviartThomasCoefficientsFactory<3u>, InterpolF =
>> Dune::RaviartThomasL2InterpolationFactory<3u, double>]’
>> ../../../dune/localfunctions/utility/localfiniteelement.hh:129:
>> instantiated from ‘static void Dune::GenericLocalFiniteElement<BasisF,
>> CoeffF, InterpolF>::FiniteElement::Maker<Topology>::apply(const
>> typename BasisF::Key&, Dune::GenericLocalFiniteElement<BasisF, CoeffF,
>> InterpolF>::FiniteElement&) [with Topology =
>> Dune::GenericGeometry::Prism<Dune::GenericGeometry::Prism<Dune::GenericGeometry::Prism<Dune::GenericGeometry::Point>
>> >  >, BasisF = Dune::RaviartThomasBasisFactory<3u, double, double>,
>> CoeffF = Dune::RaviartThomasCoefficientsFactory<3u>, InterpolF =
>> Dune::RaviartThomasL2InterpolationFactory<3u, double>]’
>> /home/mblatt/buildbot-slave1/DUNE-1/trunk/dune-geometry/dune/geometry/genericgeometry/topologytypes.hh:381:
>>
>> instantiated from ‘static void
>> Dune::GenericGeometry::IfTopology<Operation, 0,
>> Topology>::apply(unsigned int, T1&, T2&) [with T1 = unsigned int, T2 =
>> Dune::GenericLocalFiniteElement<Dune::RaviartThomasBasisFactory<3u,
>> double, double>, Dune::RaviartThomasCoefficientsFactory<3u>,
>> Dune::RaviartThomasL2InterpolationFactory<3u, double>
>> >::FiniteElement, Operation =
>> Dune::GenericLocalFiniteElement<Dune::RaviartThomasBasisFactory<3u,
>> double, double>, Dune::RaviartThomasCoefficientsFactory<3u>,
>> Dune::RaviartThomasL2InterpolationFactory<3u, double>
>> >::FiniteElement::Maker, Topology =
>> Dune::GenericGeometry::Prism<Dune::GenericGeometry::Prism<Dune::GenericGeometry::Prism<Dune::GenericGeometry::Point>
>> >  >]’
>> /home/mblatt/buildbot-slave1/DUNE-1/trunk/dune-geometry/dune/geometry/genericgeometry/topologytypes.hh:339:
>>
>> instantiated from ‘static void
>> Dune::GenericGeometry::IfTopology<Operation, dim,
>> Topology>::apply(unsigned int, T1&, T2&) [with T1 = unsigned int, T2 =
>> Dune::GenericLocalFiniteElement<Dune::RaviartThomasBasisFactory<3u,
>> double, double>, Dune::RaviartThomasCoefficientsFactory<3u>,
>> Dune::RaviartThomasL2InterpolationFactory<3u, double>
>> >::FiniteElement, Operation =
>> Dune::GenericLocalFiniteElement<Dune::RaviartThomasBasisFactory<3u,
>> double, double>, Dune::RaviartThomasCoefficientsFactory<3u>,
>> Dune::RaviartThomasL2InterpolationFactory<3u, double>
>> >::FiniteElement::Maker, int dim = 1, Topology =
>> Dune::GenericGeometry::Prism<Dune::GenericGeometry::Prism<Dune::GenericGeometry::Point>
>> >]’
>> /home/mblatt/buildbot-slave1/DUNE-1/trunk/dune-geometry/dune/geometry/genericgeometry/topologytypes.hh:339:
>>
>> instantiated from ‘static void
>> Dune::GenericGeometry::IfTopology<Operation, dim,
>> Topology>::apply(unsigned int, T1&, T2&) [with T1 = unsigned int, T2 =
>> Dune::GenericLocalFiniteElement<Dune::RaviartThomasBasisFactory<3u,
>> double, double>, Dune::RaviartThomasCoefficientsFactory<3u>,
>> Dune::RaviartThomasL2InterpolationFactory<3u, double>
>> >::FiniteElement, Operation =
>> Dune::GenericLocalFiniteElement<Dune::RaviartThomasBasisFactory<3u,
>> double, double>, Dune::RaviartThomasCoefficientsFactory<3u>,
>> Dune::RaviartThomasL2InterpolationFactory<3u, double>
>> >::FiniteElement::Maker, int dim = 2, Topology =
>> Dune::GenericGeometry::Prism<Dune::GenericGeometry::Point>]’
>> /home/mblatt/buildbot-slave1/DUNE-1/trunk/dune-geometry/dune/geometry/genericgeometry/topologytypes.hh:339:
>>
>> instantiated from ‘static void
>> Dune::GenericGeometry::IfTopology<Operation, dim,
>> Topology>::apply(unsigned int, T1&, T2&) [with T1 = unsigned int, T2 =
>> Dune::GenericLocalFiniteElement<Dune::RaviartThomasBasisFactory<3u,
>> double, double>, Dune::RaviartThomasCoefficientsFactory<3u>,
>> Dune::RaviartThomasL2InterpolationFactory<3u, double>
>> >::FiniteElement, Operation =
>> Dune::GenericLocalFiniteElement<Dune::RaviartThomasBasisFactory<3u,
>> double, double>, Dune::RaviartThomasCoefficientsFactory<3u>,
>> Dune::RaviartThomasL2InterpolationFactory<3u, double>
>> >::FiniteElement::Maker, int dim = 3, Topology =
>> Dune::GenericGeometry::Point]’
>> ../../../dune/localfunctions/utility/localfiniteelement.hh:44:
>> instantiated from ‘Dune::GenericLocalFiniteElement<BasisF, CoeffF,
>> InterpolF>::GenericLocalFiniteElement(const Dune::GeometryType&, const
>> typename BasisF::Key&) [with BasisF =
>> Dune::RaviartThomasBasisFactory<3u, double, double>, CoeffF =
>> Dune::RaviartThomasCoefficientsFactory<3u>, InterpolF =
>> Dune::RaviartThomasL2InterpolationFactory<3u, double>]’
>> ../../../dune/localfunctions/raviartthomas/raviartthomassimplex.hh:44:
>> instantiated from
>> ‘Dune::RaviartThomasSimplexLocalFiniteElement<dimDomain, D, R, SF,
>> CF>::RaviartThomasSimplexLocalFiniteElement(const Dune::GeometryType&,
>> unsigned int) [with unsigned int dimDomain = 3u, D = double, R =
>> double, SF = double, CF = double]’
>> testgenericfem.cc:110:   instantiated from here
>> ../../../dune/localfunctions/raviartthomas/raviartthomassimplex/raviartthomassimplexinterpolation.hh:287:
>>
>> error: no type named ‘Mapping’ in ‘struct
>> Dune::ReferenceElement<double, 3>::Codim<1>’
>> ../../../dune/localfunctions/raviartthomas/raviartthomassimplex/raviartthomassimplexinterpolation.hh:
>>
>> In member function ‘void Dune::RaviartThomasL2Interpolation<dimension,
>> F>::interpolate(typename Dune::InterpolationHelper<F,
>> dimension>::Helper<Func, Container, type>&) const [with Func =
>> Dune::VirtualFunction<Dune::FieldVector<double, 3>,
>> Dune::FieldVector<double, 3>  >, Container = std::vector<double,
>> std::allocator<double>  >, bool type = true, unsigned int dimension =
>> 3u, F = double]’:
>> ../../../dune/localfunctions/raviartthomas/raviartthomassimplex/raviartthomassimplexinterpolation.hh:220:
>>
>> instantiated from ‘void Dune::RaviartThomasL2Interpolation<dimension,
>> F>::interpolate(const Function&, std::vector<DofField,
>> std::allocator<DofField>  >&) const [with Function =
>> Dune::VirtualFunction<Dune::FieldVector<double, 3>,
>> Dune::FieldVector<double, 3>  >, Fy = double, unsigned int dimension =
>> 3u, F = double]’
>> ../../../dune/localfunctions/common/virtualwrappers.hh:222:
>> instantiated from ‘void Dune::LocalInterpolationVirtualImp<DomainType,
>> RangeType, Imp>::interpolate(const typename
>> Dune::LocalInterpolationVirtualInterface<DomainType,
>> RangeType>::FunctionType&, std::vector<typename
>> Dune::LocalInterpolationVirtualInterface<DomainType,
>> RangeType>::CoefficientType, std::allocator<typename
>> Dune::LocalInterpolationVirtualInterface<DomainType,
>> RangeType>::CoefficientType>  >&) const [with DomainType =
>> Dune::FieldVector<double, 3>, RangeType = Dune::FieldVector<double,
>> 3>, Imp = const Dune::RaviartThomasL2Interpolation<3u, double>]’
>> testgenericfem.cc:119:   instantiated from here
>> ../../../dune/localfunctions/raviartthomas/raviartthomassimplex/raviartthomassimplexinterpolation.hh:287:
>>
>> error: no type named ‘Mapping’ in ‘struct
>> Dune::ReferenceElement<double, 3>::Codim<1>’
>> make[4]: *** [testgenericfem-testgenericfem.o] Fehler 1
>> make[4]: Leaving directory
>> `/home/mblatt/buildbot-slave1/DUNE-1/trunk/dune-localfunctions/dune/localfunctions/test'
>>
>> make[3]: *** [check-am] Fehler 2
>> make[3]: Leaving directory
>> `/home/mblatt/buildbot-slave1/DUNE-1/trunk/dune-localfunctions/dune/localfunctions/test'
>>
>> make[2]: *** [check-recursive] Fehler 1
>> make[2]: Leaving directory
>> `/home/mblatt/buildbot-slave1/DUNE-1/trunk/dune-localfunctions/dune/localfunctions'
>>
>> make[1]: *** [check-recursive] Fehler 1
>> make[1]: Leaving directory
>> `/home/mblatt/buildbot-slave1/DUNE-1/trunk/dune-localfunctions/dune'
>> make: *** [check-recursive] Fehler 1
>> --- Failed to build dune-localfunctions ---
>> Terminating dunecontrol due to previous errors!
>>
>> BTW: Thanks for merging this. Compiling the old version was a pain.
>>
>> Cheers,
>>
>> Markus
>>
>
>
> _______________________________________________
> Dune-devel mailing list
> Dune-devel at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-devel


-- 
Tobias Malkmus                 <tomalk at mathematik.uni-freiburg.de>

Mathematisches Institut               Tel: +49 761 203 5651
Abt. für Angewandte Mathematik        Universität Freiburg
Hermann-Herder-Str. 10
79104 Freiburg





More information about the Dune-devel mailing list