~corrado-maurini/dolfin/tao

« back to all changes in this revision

Viewing changes to bench/fem/assembly/cpp/forms/Poisson2DP1.h

  • Committer: Corrado Maurini
  • Date: 2013-01-29 07:54:53 UTC
  • mfrom: (6685.78.336 work-trunk)
  • Revision ID: corrado.maurini@upmc.fr-20130129075453-ngcx0bdmc9yarrn5
merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
  /// Return a string identifying the finite element
57
57
  virtual const char* signature() const
58
58
  {
59
 
    return "FiniteElement('Lagrange', Cell('triangle', Space(2)), 1, None)";
 
59
    return "FiniteElement('Lagrange', Domain(Cell('triangle', 2), 'triangle_multiverse', 2, 2), 1, None)";
60
60
  }
61
61
 
62
62
  /// Return the cell shape
942
942
  /// Return a string identifying the dofmap
943
943
  virtual const char* signature() const
944
944
  {
945
 
    return "FFC dofmap for FiniteElement('Lagrange', Cell('triangle', Space(2)), 1, None)";
 
945
    return "FFC dofmap for FiniteElement('Lagrange', Domain(Cell('triangle', 2), 'triangle_multiverse', 2, 2), 1, None)";
946
946
  }
947
947
 
948
948
  /// Return true iff mesh entities of topological dimension d are needed
1274
1274
  /// Return a string identifying the form
1275
1275
  virtual const char* signature() const
1276
1276
  {
1277
 
    return "e49db5933701fbea6d081d9eb8211f222d5e42bf66531164205315d004568defe6f37600db8dca4345ed48521ef3f72fca9ee8a56fae8d816614e27f43f57368";
 
1277
    return "3f727db64464c2d0150a26c7a2fa96b3b1670cb3538a37b7e6c890226be9e90b2eb42ffff8f59f469903afdc7f760212bd85086f92358613c43593f09d3de135";
1278
1278
  }
1279
1279
 
1280
1280
  /// Return the rank of the global tensor (r)
1307
1307
    return 0;
1308
1308
  }
1309
1309
 
 
1310
  /// Return whether the form has any cell integrals
 
1311
  virtual bool has_cell_integrals() const
 
1312
  {
 
1313
    return true;
 
1314
  }
 
1315
 
 
1316
  /// Return whether the form has any exterior facet integrals
 
1317
  virtual bool has_exterior_facet_integrals() const
 
1318
  {
 
1319
    return false;
 
1320
  }
 
1321
 
 
1322
  /// Return whether the form has any interior facet integrals
 
1323
  virtual bool has_interior_facet_integrals() const
 
1324
  {
 
1325
    return false;
 
1326
  }
 
1327
 
1310
1328
  /// Create a new finite element for argument function i
1311
1329
  virtual ufc::finite_element* create_finite_element(std::size_t i) const
1312
1330
  {
1374
1392
    return 0;
1375
1393
  }
1376
1394
 
 
1395
  /// Create a new cell integral on everywhere else
 
1396
  virtual ufc::cell_integral* create_default_cell_integral() const
 
1397
  {
 
1398
    return 0;
 
1399
  }
 
1400
 
 
1401
  /// Create a new exterior facet integral on everywhere else
 
1402
  virtual ufc::exterior_facet_integral* create_default_exterior_facet_integral() const
 
1403
  {
 
1404
    return 0;
 
1405
  }
 
1406
 
 
1407
  /// Create a new interior facet integral on everywhere else
 
1408
  virtual ufc::interior_facet_integral* create_default_interior_facet_integral() const
 
1409
  {
 
1410
    return 0;
 
1411
  }
 
1412
 
1377
1413
};
1378
1414
 
1379
1415
// DOLFIN wrappers