Unless Andre (the primary author of the primer) says differently, our
documentation is, like the code, licensed under BSD license, so use what
you need. Citing the docs would be nice, of course.
> And secondly, can anybody detail the process of wrapping python around C in
> sfepy?? just to make sure my understanding is right.
> Thanks!
Recently we changed from swig to cython, so the situation is as follows:
The C code is in 'extmods' (as extension modules) subdirectories:
sfepy/fem/extmods/ sfepy/physics/extmods/
sfepy/linalg/extmods/ sfepy/terms/extmods/
The Cython wrappers are there as well in .pyx (+ sometimes .pxd) files.
Some extension modules are pure Cython (they do not use hand-written C),
e.g. sfepy/fem/extmods/assemble.pyx
The Cython code uses numpy arrays as memory buffers. It (usually) works
as follows:
- in Python, all input arrays are prepared and output arrays
pre-allocated (using zeros() or empty()).
- the C/Cython function is called, filling the output arrays
This approach simplifies very much needs for manual memory management in
C. Another simplification is that the C code requires the arrays to be
C-contiguous.
If you want to know more, first check the cython documentation,
especially the tutorials [1] and the chapter on interaction with numpy
[2]. Then also look at the code in the directories mentioned above
(disclaimer: I am cython newbie - any comments how to improve the
wrappers are welcome!)
Also feel free to ask here, of course.
Cheers,
r.
[1] http://docs.cython.org/src/tutorial/index.html
[2] http://docs.cython.org/src/tutorial/numpy.html
oh, Thanks a lot!however, it would be nice if Andre chimes in here.
--To view this discussion on the web visit https://groups.google.com/d/msg/sfepy-devel/-/iQL0kc6h5mYJ.
You received this message because you are subscribed to the Google Groups "sfepy-devel" group.
To post to this group, send email to sfepy...@googlegroups.com.
To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.
yes, it came from rock mechanics and it was developed in Brazil during 50's.
--
You received this message because you are subscribed to the Google Groups "sfepy-devel" group.
To view this discussion on the web visit https://groups.google.com/d/msg/sfepy-devel/-/hwWq6wFqs5QJ.
To post to this group, send email to sfepy...@googlegroups.com.
To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "sfepy-devel" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/sfepy-devel/-/6bPxMovWlkgJ.
--
You received this message because you are subscribed to the Google Groups "sfepy-devel" group.
To post to this group, send email to sfepy...@googlegroups.com.
To unsubscribe from this group, send email to sfepy-devel+unsubscribe@googlegroups.com.
BTW. after writing in LaTeX for a while IMHO you will not need a wysiwyg
editor. What is more important is good syntax highlighting, insertion of LaTeX
symbols and evnironments, word completion etc. After all, it is about document
contents and structure, not its rendering while you type.
On windows, WinEdt (shareware) or LEd (freeware) are pretty good.
r.
It is perfectly ok for simple latex, but as each journal supporting
latex submissions has its own (latex) style, it might be better to write
in latex directly using that style.
r.
--
You received this message because you are subscribed to the Google Groups "sfepy-devel" group.
To view this discussion on the web visit https://groups.google.com/d/msg/sfepy-devel/-/Qy4I9j2dkqgJ.
To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com.
Congrats - looks good.
On Mon, Mar 5, 2012 at 6:27 AM, Md. Golam Rashed wrote:
Hi all,I wrote a journal article to The " International Journal of Computer Applications" and it got published as the editors choice of Issue 14 of Volume 40. It was themed on doing simulation using scripting language with legacy code.Thanks Andre for the permission!Now, what is the feeling of you guys about the paper?
On Monday, January 9, 2012 1:33:40 AM UTC+6, Md. Golam Rashed wrote:I want to write a paper themed on, doing simulation using scripting language with legacy code. As a civil engineer (structural), i find the tensile strength of concrete test presented in sfepy primer quite suitable to use in my writing. will this cause any copyright problem???And secondly, can anybody detail the process of wrapping python around C in sfepy?? just to make sure my understanding is right.Thanks!--To view this discussion on the web visit https://groups.google.com/d/msg/sfepy-devel/-/Qy4I9j2dkqgJ.
You received this message because you are subscribed to the Google Groups "sfepy-devel" group.
To unsubscribe from this group, send email to sfepy-devel+unsubscribe@googlegroups.com.
--
Andre