~ubuntu-branches/ubuntu/raring/rheolef/raring-proposed

« back to all changes in this revision

Viewing changes to nfem/plib/form_assembly.h

  • Committer: Package Import Robot
  • Author(s): Pierre Saramito, Pierre Saramito, Sylvestre Ledru
  • Date: 2012-05-14 14:02:09 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120514140209-dzbdlidkotyflf9e
Tags: 6.1-1
[ Pierre Saramito ]
* New upstream release 6.1 (minor changes):
  - support arbitrarily polynomial order Pk
  - source code supports g++-4.7 (closes: #671996)

[ Sylvestre Ledru ]
* update of the watch file

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
      } else {
59
59
          form_e (Ky, ak); 
60
60
      }
61
 
      _X.dis_idof (Kx, dis_jdx);
62
 
      _Y.dis_idof (Ky, dis_idy);
 
61
      // --------------------------------
 
62
      // compute idofs
 
63
      // --------------------------------
 
64
      if (! form_e.is_on_band()) {
 
65
        _X.dis_idof (Kx, dis_jdx);
 
66
        _Y.dis_idof (Ky, dis_idy);
 
67
      } else {
 
68
        const geo_basic<T,M>& lambda = form_e.get_band().band();
 
69
        size_type L_ie = form_e.get_band().sid_ie2bnd_ie (ie);
 
70
        const geo_element& Lx = lambda [L_ie];
 
71
        const geo_element& Ly = lambda [L_ie];
 
72
        _X.dis_idof (Lx, dis_jdx);
 
73
        _Y.dis_idof (Ly, dis_idy);
 
74
      }
63
75
      // ------------------------------
64
76
      // assembly ak in sparse matrix a
65
77
      // ------------------------------