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

« back to all changes in this revision

Viewing changes to nfem/lib/form_element.h

  • 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:
37
37
 
38
38
  The bilinear form is designated by a string, e.g. "mass", "grad_grad", ...
39
39
  indicating the form. The form depends also of the geometrical element:
40
 
  triangle, square, tetrahedron (@pxref{geo_element internal}).
 
40
  triangle, square, tetrahedron (@pxref{geo_element iclass}).
41
41
 
42
42
IMPLEMENTATION NOTE:
43
43
  @noindent
44
44
  The @code{form_element} class 
45
 
  is managed by (@pxref{smart_pointer internal}).
 
45
  is managed by (@pxref{smart_pointer iclass}).
46
46
  This class uses a pointer on a pure virtual class @code{form_element_rep}
47
47
  while the effective code refers to the specific concrete derived classes:
48
48
  mass, grad_grad, etc.
75
75
 
76
76
    //! optional, for scalar-weighted forms:
77
77
    void set_weight (const field& wh) const;
 
78
    void set_skip_geo_compatibility_check () const;
78
79
 
79
 
        //! for special forms for which coordinate-system specific weights (ie, cylindrical
80
 
        //! coordinates weights) should not be used:
81
 
        void set_use_coordinate_system_weight(bool use) const;
 
80
    //! for special forms for which coordinate-system specific weights (ie, cylindrical
 
81
    //! coordinates weights) should not be used:
 
82
    void set_use_coordinate_system_weight(bool use) const;
82
83
 
83
84
// accessor:
84
85
 
113
114
    data().set_weight (wh);
114
115
}
115
116
inline
 
117
void
 
118
form_element::set_skip_geo_compatibility_check () const
 
119
{
 
120
    data().set_skip_geo_compatibility_check ();
 
121
}
 
122
inline
116
123
void 
117
124
form_element::set_use_coordinate_system_weight(bool use) const
118
125
{