[Dune] About geometryInInSide in UGGrid

Yufei Cao iwsycao at iws.uni-stuttgart.de
Tue Mar 31 16:57:12 CEST 2009


Dear all,

When I change my own code in terms of DUNE's change, such 
as change 'IntersectionSelfLocal()' to 
'geometryInInside()', I got some problems (see below) with 
UGGrid. It seems (but not sure) that for UGGrid, 
geometryInInside() can not be found. However, it works 
with SGrid.

Can anyone help me to solve the problem with UGGrid? Thank 
you so much in advance!

Best regards,
Yufei


test-test.o: In function 
`Dune::DefaultLevelGridView<Dune::UGGrid<2> const, 
(Dune::PartitionIteratorType)4>::Codim<0>::Iterator 
Dune::DefaultLevelGridView<Dune::UGGrid<2> const, 
(Dune::PartitionIteratorType)4>::begin<0>() const':
/DUNE/dune-grid/dune/grid/common/defaultgridview.hh:150: 
undefined reference to `Dune::GridTraits<2, 2, 
Dune::UGGrid<2>, Dune::UGGridGeometry, Dune::UGGridEntity, 
Dune::UGGridEntityPointer, Dune::UGGridLevelIterator, 
Dune::UGGridLeafIntersectionIterator, 
Dune::UGGridLevelIntersectionIterator, 
Dune::UGGridLeafIntersectionIterator, 
Dune::UGGridLevelIntersectionIterator, 
Dune::UGGridHierarchicIterator, Dune::UGGridLeafIterator, 
Dune::UGGridLevelIndexSet<Dune::UGGrid<2> const>, 
Dune::UGGridLeafIndexSet<Dune::UGGrid<2> const>, 
Dune::UGGridIdSet<Dune::UGGrid<2> const, false>, unsigned 
int, Dune::UGGridIdSet<Dune::UGGrid<2> const, true>, 
unsigned int, 
Dune::CollectiveCommunication<Dune::UGGrid<2> >, 
Dune::DefaultLevelGridViewTraits, 
Dune::DefaultLeafGridViewTraits>::Codim<0>::Partition::LevelIterator 
Dune::UGGrid<2>::lbegin<0, 
(Dune::PartitionIteratorType)4>(int) const'
test-test.o: In function 
`Dune::DefaultLevelGridView<Dune::UGGrid<2> const, 
(Dune::PartitionIteratorType)4>::Codim<0>::Iterator 
Dune::DefaultLevelGridView<Dune::UGGrid<2> const, 
(Dune::PartitionIteratorType)4>::end<0>() const':
/DUNE/dune-grid/dune/grid/common/defaultgridview.hh:164: 
undefined reference to `Dune::GridTraits<2, 2, 
Dune::UGGrid<2>, Dune::UGGridGeometry, Dune::UGGridEntity, 
Dune::UGGridEntityPointer, Dune::UGGridLevelIterator, 
Dune::UGGridLeafIntersectionIterator, 
Dune::UGGridLevelIntersectionIterator, 
Dune::UGGridLeafIntersectionIterator, 
Dune::UGGridLevelIntersectionIterator, 
Dune::UGGridHierarchicIterator, Dune::UGGridLeafIterator, 
Dune::UGGridLevelIndexSet<Dune::UGGrid<2> const>, 
Dune::UGGridLeafIndexSet<Dune::UGGrid<2> const>, 
Dune::UGGridIdSet<Dune::UGGrid<2> const, false>, unsigned 
int, Dune::UGGridIdSet<Dune::UGGrid<2> const, true>, 
unsigned int, 
Dune::CollectiveCommunication<Dune::UGGrid<2> >, 
Dune::DefaultLevelGridViewTraits, 
Dune::DefaultLeafGridViewTraits>::Codim<0>::Partition::LevelIterator 
Dune::UGGrid<2>::lend<0, 
(Dune::PartitionIteratorType)4>(int) const'
test-test.o: In function 
`Dune::Intersection<Dune::UGGrid<2> const, 
Dune::UGGridLevelIntersectionIterator>::geometryInInside() 
const':
/DUNE/dune-grid/dune/grid/common/intersection.hh:247: 
undefined reference to 
`Dune::UGGridLevelIntersectionIterator<Dune::UGGrid<2> 
const>::geometryInInside() const'
test-test.o: In function 
`Dune::UGGridLevelIntersectionIterator<Dune::UGGrid<2> 
const>::integrationOuterNormal(Dune::FieldVector<double, 
1> const&) const':
/DUNE/dune-grid/dune/grid/uggrid/ugintersectionit.hh:152: 
undefined reference to 
`Dune::UGGridLevelIntersectionIterator<Dune::UGGrid<2> 
const>::geometry() const'
test-test.o: In function 
`Dune::Intersection<Dune::UGGrid<2> const, 
Dune::UGGridLevelIntersectionIterator>::geometry() const':
/DUNE/dune-grid/dune/grid/common/intersection.hh:279: 
undefined reference to 
`Dune::UGGridLevelIntersectionIterator<Dune::UGGrid<2> 
const>::geometry() const'
test-test.o: In function `Dune::Diffusion<Dune::UGGrid<2>, 
double, Dune::VariableClass<Dune::UGGrid<2>, double>, 
Dune::DiffusionProblem<Dune::UGGrid<2>, double, 
Dune::VariableClass<Dune::UGGrid<2>, double> > 
>::assemble(double)':
/DUNE/dune-appl/test/diffusion/../../../../diffusion/diffusion.hh:343: 
undefined reference to `Dune::GridTraits<2, 2, 
Dune::UGGrid<2>, Dune::UGGridGeometry, Dune::UGGridEntity, 
Dune::UGGridEntityPointer, Dune::UGGridLevelIterator, 
Dune::UGGridLeafIntersectionIterator, 
Dune::UGGridLevelIntersectionIterator, 
Dune::UGGridLeafIntersectionIterator, 
Dune::UGGridLevelIntersectionIterator, 
Dune::UGGridHierarchicIterator, Dune::UGGridLeafIterator, 
Dune::UGGridLevelIndexSet<Dune::UGGrid<2> const>, 
Dune::UGGridLeafIndexSet<Dune::UGGrid<2> const>, 
Dune::UGGridIdSet<Dune::UGGrid<2> const, false>, unsigned 
int, Dune::UGGridIdSet<Dune::UGGrid<2> const, true>, 
unsigned int, 
Dune::CollectiveCommunication<Dune::UGGrid<2> >, 
Dune::DefaultLevelGridViewTraits, 
Dune::DefaultLeafGridViewTraits>::Codim<0>::LevelIterator 
Dune::UGGrid<2>::lend<0>(int) const'
test-test.o: In function 
`Dune::DefaultLevelGridView<Dune::UGGrid<2> const, 
(Dune::PartitionIteratorType)4>::Codim<0>::Partition::Iterator 
Dune::DefaultLevelGridView<Dune::UGGrid<2> const, 
(Dune::PartitionIteratorType)4>::end<0, 
(Dune::PartitionIteratorType)1>() const':
/DUNE/dune-grid/dune/grid/common/defaultgridview.hh:171: 
undefined reference to `Dune::GridTraits<2, 2, 
Dune::UGGrid<2>, Dune::UGGridGeometry, Dune::UGGridEntity, 
Dune::UGGridEntityPointer, Dune::UGGridLevelIterator, 
Dune::UGGridLeafIntersectionIterator, 
Dune::UGGridLevelIntersectionIterator, 
Dune::UGGridLeafIntersectionIterator, 
Dune::UGGridLevelIntersectionIterator, 
Dune::UGGridHierarchicIterator, Dune::UGGridLeafIterator, 
Dune::UGGridLevelIndexSet<Dune::UGGrid<2> const>, 
Dune::UGGridLeafIndexSet<Dune::UGGrid<2> const>, 
Dune::UGGridIdSet<Dune::UGGrid<2> const, false>, unsigned 
int, Dune::UGGridIdSet<Dune::UGGrid<2> const, true>, 
unsigned int, 
Dune::CollectiveCommunication<Dune::UGGrid<2> >, 
Dune::DefaultLevelGridViewTraits, 
Dune::DefaultLeafGridViewTraits>::Codim<0>::Partition::LevelIterator 
Dune::UGGrid<2>::lend<0, 
(Dune::PartitionIteratorType)1>(int) const'
test-test.o: In function 
`Dune::DefaultLevelGridView<Dune::UGGrid<2> const, 
(Dune::PartitionIteratorType)4>::Codim<0>::Partition::Iterator 
Dune::DefaultLevelGridView<Dune::UGGrid<2> const, 
(Dune::PartitionIteratorType)4>::begin<0, 
(Dune::PartitionIteratorType)1>() const':
/DUNE/dune-grid/dune/grid/common/defaultgridview.hh:157: 
undefined reference to `Dune::GridTraits<2, 2, 
Dune::UGGrid<2>, Dune::UGGridGeometry, Dune::UGGridEntity, 
Dune::UGGridEntityPointer, Dune::UGGridLevelIterator, 
Dune::UGGridLeafIntersectionIterator, 
Dune::UGGridLevelIntersectionIterator, 
Dune::UGGridLeafIntersectionIterator, 
Dune::UGGridLevelIntersectionIterator, 
Dune::UGGridHierarchicIterator, Dune::UGGridLeafIterator, 
Dune::UGGridLevelIndexSet<Dune::UGGrid<2> const>, 
Dune::UGGridLeafIndexSet<Dune::UGGrid<2> const>, 
Dune::UGGridIdSet<Dune::UGGrid<2> const, false>, unsigned 
int, Dune::UGGridIdSet<Dune::UGGrid<2> const, true>, 
unsigned int, 
Dune::CollectiveCommunication<Dune::UGGrid<2> >, 
Dune::DefaultLevelGridViewTraits, 
Dune::DefaultLeafGridViewTraits>::Codim<0>::Partition::LevelIterator 
Dune::UGGrid<2>::lbegin<0, 
(Dune::PartitionIteratorType)1>(int) const'
collect2: ld returned 1 exit status
make: *** [test] Error 1






More information about the Dune mailing list