~simula-acdc/dolfin/dolfin-spacetime

« back to all changes in this revision

Viewing changes to demo/undocumented/heatequation/cpp/main.cpp

  • Committer: Marie E. Rognes
  • Date: 2012-09-05 12:53:43 UTC
  • Revision ID: meg@simula.no-20120905125343-q62rznifo4zl63hw
Add simpler demo (essentially Laplace in 3D + 1D) for testing tensor
product assembly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
163
163
 
164
164
  // Assign coefficients
165
165
  DiffusionCoefficient kappa;
166
 
  //a.set_coefficient(0, kappa);
 
166
  //a.kappa = kappa;
167
167
  TemporalSource f0;
168
168
  SpatialSource f1;
169
169
  //L.f0 = f0;