Hi Petr,

Will do. 

The book is very well written, I have seen a few minor typos/errors. e.g. in 
chapter 1:

Section 1.3, 4th sentence: needs => need

I believe the next 2 are not correct:

Section 1.4, 1st sentence: time => space, or parallel => orthogonal
Section 1.5, 1st sentence: space => time

Is that useful? 

Would you prefer that I open an errata issue on 
https://github.com/PetrKryslUCSD/FinEALE 
<https://github.com/PetrKryslUCSD/FinEALE> and add these there?

Is your intention over time to make jFineale equivalent in functionality to 
Fineale? Is it intended as a successor to Faesor?

I’ve looked a bit into doing it all (or most of it) in Julia, e.g. in chapter 2 
generating the basis functions in a function (or even with a macro?) and 
possibly differentiate them.
But that is more useful while learning Galerkin I guess.

Just saw your email about parametric methods. Better if a more knowledgeable 
Julia person answers, but that is what it means I think.

Rob J. Goedman
[email protected]


> On Jan 6, 2015, at 6:39 PM, Petr Krysl <[email protected]> wrote:
> 
> Oh, in that case I am tickled pink.
> 
> Please do let me know if you find any typos or mistakes.
> 
> Best regards,
> 
> Petr
> 
> On Tuesday, January 6, 2015 3:36:34 PM UTC-8, Rob J Goedman wrote:
> Hi Petr,
> 
> It’s your book, I used this name for the time being while working my way 
> through the first 6 or 7 chapters using Julia (and Mathematica occasionally, 
> don’t have Matlab).
> 
> If you would prefer that, I can easily change the name, I have no intention 
> to ever register the package.
> 
> Just trying to figure out a good way to replace my current (Fortran) FEM/R 
> program with a Julia equivalent.
> 
> Regards,
> Rob J. Goedman
> [email protected] <javascript:>
> 
> 
> 
> 
> 
>> On Jan 6, 2015, at 3:01 PM, Petr Krysl <[email protected] <javascript:>> 
>> wrote:
>> 
>> Rob,
>> 
>> Thanks. I did find some .mem files (see above). Not for my own source files 
>> though.
>> 
>> Petr
>> 
>> PS: You have a "fineale" book? Interesting... I thought no one else had 
>> claimed that name for a software project before...
>> 
>> On Tuesday, January 6, 2015 2:46:26 PM UTC-8, Rob J Goedman wrote:
>> Petr,
>> 
>> Not sure if this helps you, but below sequence creates the .mem file.
>> 
>> ProjDir is set in Ex07.jl and is the directory that contains the .mem file
>> 
>> Regards,
>> Rob J. Goedman
>> [email protected] <>
>> 
>> 
>> Robs-MacBook-Pro:~ rob$ clear; julia  --track-allocation=user
>> 
>>                _
>>    _       _ _(_)_     |  A fresh approach to technical computing
>>   (_)     | (_) (_)    |  Documentation: http://docs.julialang.org 
>> <http://docs.julialang.org/>
>>    _ _   _| |_  __ _   |  Type "help()" for help.
>>   | | | | | | |/ _` |  |
>>   | | |_| | | | (_| |  |  Version 0.3.4 (2014-12-26 10:42 UTC)
>>  _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ 
>> <http://julialang.org/> release
>> |__/                   |  x86_64-apple-darwin13.4.0
>> 
>> julia> 
>> include("/Users/rob/.julia/v0.3/FinealeBook/Examples/Fineale/Ch02/Ex07.jl")
>> 
>> julia> cd(ProjDir)
>> 
>> julia> clear_malloc_data()
>> 
>> julia> 
>> include("/Users/rob/.julia/v0.3/FinealeBook/Examples/Fineale/Ch02/Ex07.jl")
>> 
>> shell> ls
>> Ex07.jl              Ex07.svg        Ex08.svg        Ex09.svg        
>> Section2.3.svg
>> Ex07.jl.mem  Ex08.jl         Ex09.jl         Section2.3.jl   Section2.4.nb
>> 
>>> On Jan 6, 2015, at 2:15 PM, Petr Krysl <[email protected] <>> wrote:
>>> 
>>> I did this as suggested. The code  executed as shown below, preceded by the 
>>> command line.
>>> The process completes,  but there are no .mem files anywhere. Should I ask 
>>> for them specifically?
>>> 
>>> # "C:\Users\pkrysl\AppData\Local\Julia-0.4.0-dev\bin\julia.exe" 
>>> --track-allocation=all memory_debugging.jl
>>> cd( "C:/Users/pkrysl/Documents/GitHub/jfineale"); include("JFinEALE.jl");
>>> include("examples/acoustics/sphere_scatterer_example.jl")
>>> Profile.clear_malloc_data()
>>> include("examples/acoustics/sphere_scatterer_example.jl")
>>> quit()
>>> 
>>> 
>>> 
>>> On Tuesday, January 6, 2015 1:50:11 AM UTC-8, Milan Bouchet-Valat wrote:
>>> Le lundi 05 janvier 2015 à 20:48 -0800, Petr Krysl a écrit : 
>>> > Hi guys, 
>>> > 
>>> > How does one figure out where allocation  of memory occurs?   When I 
>>> > use the @time  macro it tells me there's a lot of memory allocation 
>>> > and deallocation going on.  Just looking at the code I'm at a loss: I 
>>> > can't see the reasons for it there. 
>>> > 
>>> > So, what are the tips and tricks for the curious?  How do I debug the 
>>> > memory allocation issue?  I looked at the lint, the type check, and 
>>> > the code_typed().  Perhaps I don't know where to look, but  these 
>>> > didn't seem to be of much help. 
>>> See this: 
>>> http://docs.julialang.org/en/latest/manual/profile/#memory-allocation-analysis
>>>  
>>> <http://docs.julialang.org/en/latest/manual/profile/#memory-allocation-analysis>
>>>  
>>> 
>>> (Would probably be good to backport to the 0.3 manual...) 
>>> 
>>> 
>>> Regards 
>>> 
>> 
> 

Reply via email to