~corrado-maurini/dolfin/tao

« back to all changes in this revision

Viewing changes to bench/fem/convergence/cpp/main.cpp

  • Committer: corrado maurini
  • Date: 2012-12-18 12:16:08 UTC
  • mfrom: (6685.78.207 trunk)
  • Revision ID: corrado.maurini@upmc.fr-20121218121608-nk82ly9jgsld9u84
updating with trunk, fix uint in TAO solver and hacking the check for tao FindTAO.cmake

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
  printf("Solving Poisson's equation in 2D for q = %d, n = %d.\n", q, n);
66
66
 
67
67
  // Set up problem
68
 
  UnitSquare mesh(n, n);
 
68
  UnitSquareMesh mesh(n, n);
69
69
  Source2D f;
70
70
  Constant zero(0.0);
71
71
 
145
145
  printf("Solving Poisson's equation in 3D for q = %d, n = %d.\n", q, n);
146
146
 
147
147
  // Set up problem
148
 
  UnitCube mesh(n, n, n);
 
148
  UnitCubeMesh mesh(n, n, n);
149
149
  Source3D f;
150
150
  Constant zero(0.0);
151
151