~ubuntu-branches/ubuntu/trusty/rheolef/trusty

« back to all changes in this revision

Viewing changes to nfem/lib/geo-cemagref.cc

  • Committer: Package Import Robot
  • Author(s): Pierre Saramito
  • Date: 2012-04-06 09:12:21 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20120406091221-m58me99p1nxqui49
Tags: 6.0-1
* New upstream release 6.0 (major changes):
  - massively distributed and parallel support
  - full FEM characteristic method (Lagrange-Gakerkin method) support
  - enhanced users documentation 
  - source code supports g++-4.7 (closes: #667356)
* debian/control: dependencies for MPI distributed solvers added
* debian/rules: build commands simplified
* debian/librheolef-dev.install: man1/* to man9/* added
* debian/changelog: package description rewritted (closes: #661689)

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
      in >> n_edge;
115
115
      check_macro (n_edge == 3 || n_edge == 4, "unexpected element with " << n_edge << " edges");
116
116
      size_type n_vert = n_edge; // in 2d
117
 
      K.set_type (n_vert, 2);
 
117
      K.set_variant (n_vert, 2);
118
118
      for (size_type j = 0; j < n_edge; j++) {
119
119
         size_type edge_j;
120
120
         in >> edge_j;
131
131
      }
132
132
      K.set_index (idx);
133
133
      _count_geo     [K.dimension()]++;
134
 
      _count_element [K.type()]++;
 
134
      _count_element [K.variant()]++;
135
135
 
136
136
      // -------------------------------------------------------
137
137
      // skip neighbour infos