~ubuntu-branches/ubuntu/wily/ffc/wily

« back to all changes in this revision

Viewing changes to test/regression/references/r_quadrature/Components.h

  • Committer: Package Import Robot
  • Author(s): Johannes Ring
  • Date: 2011-11-29 11:38:38 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20111129113838-vx815cxjdf50zuq3
Tags: 1.0-rc1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// This code conforms with the UFC specification version 2.0.2
2
 
// and was automatically generated by FFC version 1.0-beta+.
 
1
// This code conforms with the UFC specification version 2.0.3
 
2
// and was automatically generated by FFC version 1.0-beta2+.
3
3
// 
4
4
// This code was generated with the following parameters:
5
5
// 
4629
4629
  /// Initialize dofmap for mesh (return true iff init_cell() is needed)
4630
4630
  virtual bool init_mesh(const ufc::mesh& m)
4631
4631
  {
4632
 
    _global_dimension = 3.0*m.num_entities[0];
 
4632
    _global_dimension = 3*m.num_entities[0];
4633
4633
    return false;
4634
4634
  }
4635
4635
 
5008
5008
    // Compute circumradius.
5009
5009
    
5010
5010
    
 
5011
    // Facet Area (divide by two because 'det' is scaled by area of reference triangle).
 
5012
    
5011
5013
    // Array of quadrature weights.
5012
5014
    static const double W4[4] = {0.041666667, 0.041666667, 0.041666667, 0.041666667};
5013
5015
    // Quadrature points on the UFC reference element: (0.5854102, 0.1381966, 0.1381966), (0.1381966, 0.5854102, 0.1381966), (0.1381966, 0.1381966, 0.5854102), (0.1381966, 0.1381966, 0.1381966)