Hi everybody,
I'm trying to run the same example shown in the doc of grid how to
directory, the one named getting started.cc but I got this error when
typing this line : GridType grid(N,L,H). error= undefined reference to
'Dune::Exception::_hook'.
here is my code:
#include <iostream>
#include <dune/grid/sgrid.hh>
#include <dune/grid/common/gridinfo.hh>
#include <dune/common/mpihelper.hh>
using namespace std;
int main(int argc, char **argv)
{
Dune::MPIHelper::instance(argc,argv);
const int dim=3;
typedef Dune::SGrid<dim,dim> GridType;
Dune::FieldVector<int,dim> N(3);
Dune::FieldVector<GridType::ctype,dim> L(-1.0);
Dune::FieldVector<GridType::ctype,dim> H(1.0);
GridType grid (N,L,H);
Dune::gridinfo(grid);
return 0;
}
Any help please ?
Razi
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux