~corrado-maurini/dolfin/tao

« back to all changes in this revision

Viewing changes to demo/undocumented/reaction-diffusion/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:
16
16
// along with DOLFIN. If not, see <http://www.gnu.org/licenses/>.
17
17
//
18
18
// First added:  2009-06-15
19
 
// Last changed: 2012-07-05
 
19
// Last changed: 2012-11-12
20
20
//
21
21
// This demo program solves the reaction-diffusion equation
22
22
//
47
47
int main()
48
48
{
49
49
  // Define variational problem
50
 
  UnitSquare mesh(32, 32);
 
50
  UnitSquareMesh mesh(32, 32);
51
51
  Source f;
52
52
  ReactionDiffusion::FunctionSpace V(mesh);
53
53
  ReactionDiffusion::BilinearForm a(V, V);