[mesa-users] How to use pointer s1, s2 to call for star_info elements during binary module?
Pablo Marchant
pamarca at gmail.com
Thu Nov 27 03:35:50 EST 2014
Jia Kun, could you please provide your run_star_extras.f to see the source
of the problem?
El 27/11/2014 5:35, "jiakun1219" <jiakun1219 at 163.com> escribió:
> Dear all,
>
> When to evolve a binary system use the binary module in MESA,
> I have noticed a paragraph in binary_data.inc as below:
> integer :: star_ids(2), star_extra_ids(2)
> ! pointers that are adjusted to donor and accretor
> type (star_info), pointer :: s_donor, s_accretor
> ! pointers to fixed stars
> type (star_info), pointer :: s1, s2
> And when I use the pointer s1, s2 (or s_donor, s_accretor) to call for the
> star_info elements in my subroutine in run_binary_extras.f
> it makes a error like "Program received signal SIGSEGV: Segmentation fault
> - invalid memory reference."
> Then how to use the pointer s1, s2 (or s_donor, s_accretor) to call for
> the star_info during binary evolution?
>
> Thank you very much!
> Sincerely,
> Jia Kun
>
>
>
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20141127/156643ea/attachment.html>
More information about the Mesa-users
mailing list