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

« back to all changes in this revision

Viewing changes to nfem/basis/P0_numbering.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:
20
20
/// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
21
21
///
22
22
/// =========================================================================
23
 
#include "rheolef/numbering_rep.h"
24
 
 
25
 
namespace rheolef { 
26
 
class numbering_P0 : public numbering_rep {
27
 
public:
28
 
 
29
 
// typedefs:
30
 
 
31
 
    typedef numbering_rep::size_type size_type;
32
 
 
33
 
// global method:
34
 
 
35
 
    std::string name() const;
36
 
    size_type ndof (
37
 
              size_type  mesh_map_dimension,
38
 
        const size_type* mesh_n_geo,
39
 
        const size_type* mesh_n_element) const;
40
 
    size_type idof (
41
 
        const size_type*      mesh_n_geo,
42
 
        const size_type*      mesh_n_element,
43
 
        const geo_element&    K, 
44
 
        size_type             i_dof_local) const;
45
 
    void idof (
46
 
        const size_type*      mesh_n_geo,
47
 
        const size_type*      mesh_n_element,
48
 
        const geo_element&    K, 
49
 
        std::vector<size_type>&    i_dof) const;
50
 
    bool is_continuous() const;
51
 
};
52
 
}// namespace rheolef
 
23
 
 
24
#include "rheolef/config.h"
 
25
 
 
26
#ifdef _RHEOLEF_USE_NEW_CODE
 
27
#include "P0_numbering_v2.h"
 
28
#else
 
29
#include "P0_numbering_v1.h"
 
30
#endif
 
31
 
53
32
#endif // _RHEOLEF_P0_NUMBERING_H