[Dune] Grid compile error

Christian Engwer christian.engwer at uni-muenster.de
Wed Jan 29 12:49:37 CET 2014


> dune_test_CPPFLAGS = $(AM_CPPFLAGS) \
> 	$(DUNEMPICPPFLAGS) \
> 	$(UG_CPPFLAGS) \
> 	$(AMIRAMESH_CPPFLAGS) \
> 	$(ALBERTA_CPPFLAGS) \
> 	$(ALUGRID_CPPFLAGS)

As alberta uses the same symbols for all dimensions, we can only use
alberta with a predefined dimension. Thus you need to add the
dimension dependend flags aswell. You should do this by defining
ALBERTA_DIM=?? (simly at the top of your Makefile.am) or by defining
WORLDDIM=??. Both will make ALBERTA_CPPFLAGS (and LIBS) contain the
correct dimension specific part.

Christian




More information about the Dune mailing list