Van,
On Thu, Jun 7, 2012 at 11:30 AM, Van Snyder <[log in to unmask]> wrote:
> On Thu, 2012-06-07 at 08:42 -0600, Neil Carlson wrote:
>> Ondřej,
>>
>> You've got a long section section on callbacks and the associated
>> 'type casting'. It's useful to see, in order to contrast and compare,
>> the different ways it _could_ be done, but you've left out what is
>> arguably the 'best' way to do this in modern Fortran.
>
> Damian Rouson, Jim Xia, and Xiao Feng Xu have written a book entitled
> "Scientific Software Design: The Object-Oriented Way. The examples are
> mostly in Fortran 2003, but there are some sections also showing how
> equivalent things are done in C++. The book is based on the Trilinos
> framework for multi-physics simulation.
Thanks for the tip. I'll try to obtain the book. I only used Trilinos from C++
so far, but I know that they also have Fortran wrappers.
Ondrej
|