~ubuntu-branches/debian/squeeze/gmsh/squeeze

« back to all changes in this revision

Viewing changes to Geo/fourierEdge.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme, Christophe Prud'homme
  • Date: 2009-07-13 15:49:21 UTC
  • mfrom: (7.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090713154921-zer07j8wixwa07ig
Tags: 2.3.1.dfsg-4
[Christophe Prud'homme]
* Bug fix: "gmsh with cgns write support", thanks to Oliver Borm
  (Closes: #529972).
* debian/rules: make sure that Gmsh is built with occ support on all
  platforms thanks to Denis Barbier (#536435).

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
#include "fourierEdge.h"
8
8
#include "Context.h"
9
9
 
10
 
extern Context_T CTX;
11
 
 
12
10
#if defined(HAVE_FOURIER_MODEL)
13
11
 
14
12
fourierEdge::fourierEdge(GModel *model, FM::TopoEdge* edge_, int tag,
51
49
  if(geomType() == Line)
52
50
    return n;
53
51
  else
54
 
    return CTX.geom.num_sub_edges * n;
 
52
    return CTX::instance()->geom.numSubEdges * n;
55
53
}
56
54
 
57
55
#endif