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

« back to all changes in this revision

Viewing changes to util/lib/heap_object.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:
31
31
    heap_object(size_type sizeof_bucket = sizeof(T));
32
32
    ~heap_object();
33
33
    T* new_bucket() const;
 
34
#ifdef TO_CLEAN
34
35
    T* malloc() const { return new_bucket(); } // for boost::object_pool compatibility
 
36
#endif // TO_CLEAN
35
37
    size_type size() const { return _counter; }
36
38
    void reinitialize (size_type sizeof_bucket = sizeof(T));
37
39
    void clear ();