~njansson/dolfin/hpc

« back to all changes in this revision

Viewing changes to demo/pde/lift-drag/cpp/Drag.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.3.
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.
1700
1700
  {
1701
1701
    // Evaluate at vertices and use affine mapping
1702
1702
    vertex_values[0] = dof_values[0];
 
1703
    vertex_values[1] = dof_values[0];
1703
1704
    vertex_values[2] = dof_values[0];
1704
 
    vertex_values[4] = dof_values[0];
1705
1705
    // Evaluate at vertices and use affine mapping
1706
 
    vertex_values[1] = dof_values[1];
1707
1706
    vertex_values[3] = dof_values[1];
 
1707
    vertex_values[4] = dof_values[1];
1708
1708
    vertex_values[5] = dof_values[1];
1709
1709
  }
1710
1710
 
1813
1813
  // Return the geometric dimension of the coordinates this dof map provides
1814
1814
  virtual unsigned int geometric_dimension() const
1815
1815
  {
1816
 
    return 2;
 
1816
    throw std::runtime_error("Not implemented (introduced in UFC v1.1).");
1817
1817
  }
1818
1818
 
1819
1819
  /// Return the number of dofs on each cell facet
1975
1975
  // Return the geometric dimension of the coordinates this dof map provides
1976
1976
  virtual unsigned int geometric_dimension() const
1977
1977
  {
1978
 
    return 2;
 
1978
    throw std::runtime_error("Not implemented (introduced in UFC v1.1).");
1979
1979
  }
1980
1980
 
1981
1981
  /// Return the number of dofs on each cell facet
2128
2128
  // Return the geometric dimension of the coordinates this dof map provides
2129
2129
  virtual unsigned int geometric_dimension() const
2130
2130
  {
2131
 
    return 2;
 
2131
    throw std::runtime_error("Not implemented (introduced in UFC v1.1).");
2132
2132
  }
2133
2133
 
2134
2134
  /// Return the number of dofs on each cell facet
2281
2281
  // Return the geometric dimension of the coordinates this dof map provides
2282
2282
  virtual unsigned int geometric_dimension() const
2283
2283
  {
2284
 
    return 2;
 
2284
    throw std::runtime_error("Not implemented (introduced in UFC v1.1).");
2285
2285
  }
2286
2286
 
2287
2287
  /// Return the number of dofs on each cell facet
2474
2474
  /// Return a string identifying the form
2475
2475
  virtual const char* signature() const
2476
2476
  {
2477
 
    return "-w0_a0[0, 1, 2]w1_a1[0, 1] | va0[0, 1, 2]*va1[0, 1][0]*ds(0)";
 
2477
    return "-w0_a0w1_a1 | va0*va1[0]*ds(0)";
2478
2478
  }
2479
2479
 
2480
2480
  /// Return the rank of the global tensor (r)