~njansson/dolfin/hpc

« back to all changes in this revision

Viewing changes to bench/la/sparse-matrix/VectorPoisson.h

  • Committer: Garth N. Wells
  • Date: 2008-03-29 09:34:25 UTC
  • Revision ID: gnw20@cam.ac.uk-20080329093425-3ea2vhjvccq56zvi
Add some basic build & install instructions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// This code conforms with the UFC specification version 1.0
2
 
// and was automatically generated by FFC version 0.4.5.
 
2
// and was automatically generated by FFC version 0.4.4.
3
3
//
4
4
// Warning: This code was generated with the option '-l dolfin'
5
5
// and contains DOLFIN-specific wrappers that depend on DOLFIN.
1415
1415
  {
1416
1416
    // Evaluate at vertices and use affine mapping
1417
1417
    vertex_values[0] = dof_values[0];
1418
 
    vertex_values[2] = dof_values[1];
1419
 
    vertex_values[4] = dof_values[2];
 
1418
    vertex_values[1] = dof_values[1];
 
1419
    vertex_values[2] = dof_values[2];
1420
1420
    // Evaluate at vertices and use affine mapping
1421
 
    vertex_values[1] = dof_values[3];
1422
 
    vertex_values[3] = dof_values[4];
 
1421
    vertex_values[3] = dof_values[3];
 
1422
    vertex_values[4] = dof_values[4];
1423
1423
    vertex_values[5] = dof_values[5];
1424
1424
  }
1425
1425
 
2849
2849
  {
2850
2850
    // Evaluate at vertices and use affine mapping
2851
2851
    vertex_values[0] = dof_values[0];
2852
 
    vertex_values[2] = dof_values[1];
2853
 
    vertex_values[4] = dof_values[2];
 
2852
    vertex_values[1] = dof_values[1];
 
2853
    vertex_values[2] = dof_values[2];
2854
2854
    // Evaluate at vertices and use affine mapping
2855
 
    vertex_values[1] = dof_values[3];
2856
 
    vertex_values[3] = dof_values[4];
 
2855
    vertex_values[3] = dof_values[3];
 
2856
    vertex_values[4] = dof_values[4];
2857
2857
    vertex_values[5] = dof_values[5];
2858
2858
  }
2859
2859
 
2962
2962
  // Return the geometric dimension of the coordinates this dof map provides
2963
2963
  virtual unsigned int geometric_dimension() const
2964
2964
  {
2965
 
    return 2;
 
2965
    throw std::runtime_error("Not implemented (introduced in UFC v1.1).");
2966
2966
  }
2967
2967
 
2968
2968
  /// Return the number of dofs on each cell facet
3124
3124
  // Return the geometric dimension of the coordinates this dof map provides
3125
3125
  virtual unsigned int geometric_dimension() const
3126
3126
  {
3127
 
    return 2;
 
3127
    throw std::runtime_error("Not implemented (introduced in UFC v1.1).");
3128
3128
  }
3129
3129
 
3130
3130
  /// Return the number of dofs on each cell facet
3286
3286
  // Return the geometric dimension of the coordinates this dof map provides
3287
3287
  virtual unsigned int geometric_dimension() const
3288
3288
  {
3289
 
    return 2;
 
3289
    throw std::runtime_error("Not implemented (introduced in UFC v1.1).");
3290
3290
  }
3291
3291
 
3292
3292
  /// Return the number of dofs on each cell facet
3473
3473
  // Return the geometric dimension of the coordinates this dof map provides
3474
3474
  virtual unsigned int geometric_dimension() const
3475
3475
  {
3476
 
    return 2;
 
3476
    throw std::runtime_error("Not implemented (introduced in UFC v1.1).");
3477
3477
  }
3478
3478
 
3479
3479
  /// Return the number of dofs on each cell facet
3635
3635
  // Return the geometric dimension of the coordinates this dof map provides
3636
3636
  virtual unsigned int geometric_dimension() const
3637
3637
  {
3638
 
    return 2;
 
3638
    throw std::runtime_error("Not implemented (introduced in UFC v1.1).");
3639
3639
  }
3640
3640
 
3641
3641
  /// Return the number of dofs on each cell facet
3797
3797
  // Return the geometric dimension of the coordinates this dof map provides
3798
3798
  virtual unsigned int geometric_dimension() const
3799
3799
  {
3800
 
    return 2;
 
3800
    throw std::runtime_error("Not implemented (introduced in UFC v1.1).");
3801
3801
  }
3802
3802
 
3803
3803
  /// Return the number of dofs on each cell facet