~corrado-maurini/dolfin/tao

« back to all changes in this revision

Viewing changes to demo/undocumented/refinement/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:
18
18
// Modified by Johan Hoffman, 2006.
19
19
//
20
20
// First added:  2006-10-26
21
 
// Last changed: 2012-07-05
 
21
// Last changed: 2012-11-12
22
22
 
23
23
#include <dolfin.h>
24
24
 
29
29
  File file("mesh.pvd");
30
30
 
31
31
  // Create mesh of unit square
32
 
  UnitSquare unit_square(5, 5);
 
32
  UnitSquareMesh unit_square(5, 5);
33
33
  Mesh mesh(unit_square);
34
34
  file << mesh;
35
35