getfem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-commits] r3146 - in /trunk/getfem++/interface/src: ./ python/


From: Luis Saavedra
Subject: [Getfem-commits] r3146 - in /trunk/getfem++/interface/src: ./ python/
Date: Wed, 30 Sep 2009 20:53:32 -0000

Author: lsaavedr
Date: Wed Sep 30 22:53:32 2009
New Revision: 3146

URL: http://svn.gna.org/viewcvs/getfem?rev=3146&view=rev
Log:
There are several changes:

please to see the differences using:
$ svn diff -x -wv filename

* python/__init__.py:
  - Now when you import getfem only functions in
    __all__ list are imported (work in progress).

* python/getfem.base.py:
  - Added export_to_pos in Slice class.
  - Added MeshLevelSet class.
  - Added 'global function' hack to MeshFem class (work in
    progress), further documentation is needed for global
    functions!!!
  - Added "pts from cvid" to MeshFem class.
  - changes in indentation.

* python/getfem_python.c:
  - Added getfem_var function (to get build variables,
    for example "version")::
    >>> import getfem as gf
    >>> gf.getfem_var("version")
  - changes in indentation.

* python/setup.py.in:
  - Added '@address@hidden' in include_dirs (for
    getfem_var function).
  - changes in indentation.

* gf_mesh_fem.cc:
  - Some changes for the autogen documentation.
  - @INIT MESHFEM:INIT('levelset', @tmf mf, @tls ls)
    ---> @INIT MESHFEM:INIT('levelset', @tmls mls, @tmf mf)
    This is according to the C++ API, and the fact that mls! = ls.
  - Added:
    @INIT MESHFEM:INIT('global function', @tmesh m, @tls ls[, @int Qdim_m | 
'with_cutoff'])
    this is a hack to solve the crack example in python interface,
    (work in progress), further documentation is needed for global
    functions!!!
  - changes in indentation.

* gf_levelset_set.cc:
  - Some changes for the autogen documentation.
  - changes in indentation.

* gf_mesh_im_get.cc:
  - Some changes for the autogen documentation.
  - Bug fix in "im_nodes" std::copy for array of size 0.
  - changes in indentation.

* gf_mesh_im_set.cc:
  - Bug fix in config::base_index() ???, I am assuming:
    config::base_index() = 1 in matlab
    config::base_index() = 0 in python
    Am I right?
  - changes in indentation.

* gf_mesh_levelset_get.cc:
  - Some changes for the autogen documentation.
  - Some changes for the autogen interface.
  - changes in indentation.

* gf_mesh_levelset_set.cc:
  - Some changes for the autogen documentation.
  - Some changes for the autogen interface.
  - changes in indentation.

* gf_geotrans_get.cc:
  - Bug fix in "transform".
  - changes in indentation.

* gf_mesh_fem_get.cc:
  - Some changes for the autogen documentation.
  - Bug fix in "export to pos".
  - changes in indentation.

* gf_levelset.cc:
  - Some changes for the autogen documentation.
  - Some changes for the autogen interface.
  - changes in indentation.

* gfi_array.h:
  - minor changes.

* gf_mesh_get.cc:
  - Some changes for the autogen documentation.
  - Added "pts in cvids".
  - changes in indentation.

* gf_mesh_fem_set.cc:
  - Some changes for the autogen documentation.
  - Some changes for the autogen interface.
  - Bug fix in config::base_index() ???, I am assuming:
    config::base_index() = 1 in matlab
    config::base_index() = 0 in python
    Am I right?
  - Bug fix in "classical discontinuous fem"
    added `alpha` param.
  - changes in indentation.

* gf_mesh_im.cc:
  - Some changes for the autogen documentation.
  - Some changes for the autogen interface.
    @INIT MESHIM:INIT('levelset', @tls ls, @str where, @tinteg im[, @tinteg 
im_tip])
    --->
    @INIT MESHIM:INIT('levelset', @tmls mls, @str where, @tinteg im[, @tinteg 
im_tip[, @tinteg im_set]])
    This is according to the C++ API, and the fact that mls! = ls.
  - changes in indentation.

* gf_slice_get.cc:
  - Some changes for the autogen documentation.
  - Some changes for the autogen interface.
  - Added "export to pos"
  - Bug fix in "splxs": again config::base_index()!!! "matlab I hate you!!!" XD
  - changes in indentation.

* gf_mesh_levelset.cc:
  - Some changes for the autogen documentation.
  - changes in indentation.
  - changes in indentation.

* gf_model_get.cc:
  - Some changes for the autogen documentation.
  - Some changes for the autogen interface. wrning!!!
  - changes in indentation.

* gf_model_set.cc:
  - Some changes for the autogen documentation.
  - Some changes for the autogen interface.
  - changes in indentation.

please to see the differences using:
$ svn diff -x -wv filename



Modified:
    trunk/getfem++/interface/src/gf_geotrans_get.cc
    trunk/getfem++/interface/src/gf_levelset.cc
    trunk/getfem++/interface/src/gf_levelset_set.cc
    trunk/getfem++/interface/src/gf_mesh_fem.cc
    trunk/getfem++/interface/src/gf_mesh_fem_get.cc
    trunk/getfem++/interface/src/gf_mesh_fem_set.cc
    trunk/getfem++/interface/src/gf_mesh_get.cc
    trunk/getfem++/interface/src/gf_mesh_im.cc
    trunk/getfem++/interface/src/gf_mesh_im_get.cc
    trunk/getfem++/interface/src/gf_mesh_im_set.cc
    trunk/getfem++/interface/src/gf_mesh_levelset.cc
    trunk/getfem++/interface/src/gf_mesh_levelset_get.cc
    trunk/getfem++/interface/src/gf_mesh_levelset_set.cc
    trunk/getfem++/interface/src/gf_model_get.cc
    trunk/getfem++/interface/src/gf_model_set.cc
    trunk/getfem++/interface/src/gf_slice_get.cc
    trunk/getfem++/interface/src/gfi_array.h
    trunk/getfem++/interface/src/python/__init__.py
    trunk/getfem++/interface/src/python/getfem.base.py
    trunk/getfem++/interface/src/python/getfem_python.c
    trunk/getfem++/interface/src/python/setup.py.in




reply via email to

[Prev in Thread] Current Thread [Next in Thread]