[mesa-users] pgstar in binary module

Bill Paxton paxton at kitp.ucsb.edu
Wed Nov 26 16:31:47 EST 2014


Hi Pablo,

Your workaround would work great for some things.   
Here's another workaround that might be okay for some other cases -- use the pgstar ability to show a 2nd curve using data from a file.
e.g., for a TRho_Profile plot for star1, you could write the data for star2 to the file at each timestep and set TRho_Profile_fname to fhe filename.
Same sort of trick works for TRho history plots (set TRho_fname), and any other plot that takes a filename for extra data.

Not a general solution, but it will do as a workaround perhaps.

-B








On Nov 26, 2014, at 10:46 AM, Pablo Marchant wrote:

> There is a workaround though. From run_star_extras.f you can access all of the binary data, including the pointers to both star. So you could add the data you want to plot as extra history columns, and then they should be available for pgplot. Right Bill?
> 
> Cheers!
> 
> On Wed, Nov 26, 2014 at 7:40 PM, Bill Paxton <paxton at kitp.ucsb.edu> wrote:
> Hi Tomek,
> 
> Showing both binary components in the same plot is still on the someday-when-I-have-nothing-else-to-do wish list.   For now, it is 1 star per plot, with the option to have multiple plot windows for the multiple stars.    The software issue is that all of the all of the pgstar machinery is associated with a single star -- so it will be a substantial rewrite to change the plots to deal with multiple stars.  nothing impossible, just not at the top of my list right now.
> 
> -Bill
> 
> 
> 
> 
> 
> 
> 
> On Nov 26, 2014, at 10:28 AM, Tomasz Plewa wrote:
> 
>> I understand there is still no capability for showing both components on the diagrams? I remember there was some discussion about it a couple of months ago.
>> 
>> Tomek
>> --
>> On 11/26/14 10:48, Pablo Marchant wrote:
>>> Hi Dan. You can in fact use pgstar in the binary module, and it works just the same as for single stars. Check binary/work, that work directory includes pgstar plots so you can see exactly what you need. You can plot both binary data
>>> 
>>> To load a single star model, it's also just the same as with the star module. In the star_job section of the inlist for the star use
>>> 
>>> load_saved_model = .true.
>>> saved_model_filename = "model.dat"
>>> 
>>> and you should be good to go.
>>> 
>>> On Wed, Nov 26, 2014 at 3:51 PM, etheridge d.j. (dje1g11) <dje1g11 at soton.ac.uk> wrote:
>>> Hi,
>>> 
>>> 
>>> I was wondering if it is possible to use PGstar in the binary module? I have been using the binary_donor_only test suite and would find it useful to see a plot as it is running.
>>> 
>>> 
>>> Also, is it possible to load a saved model of a single star as the donor star in the binary module?
>>> 
>>> Many thanks,
>>> 
>>> 
>>> Dan Etheridge
>>> 
>>> ------------------------------------------------------------------------------
>>> 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
>>> 
>>> 
>>> 
>>> 
>>> -- 
>>> Pablo Marchant Campos
>>> M.Sc on Astrophysics, Universidad Católica de Chile
>>> PhD student, Argelander-Institut für Astronomie
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> 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
>> 
>> ------------------------------------------------------------------------------
>> 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
> 
> 
> ------------------------------------------------------------------------------
> 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
> 
> 
> 
> 
> -- 
> Pablo Marchant Campos
> M.Sc on Astrophysics, Universidad Católica de Chile
> PhD student, Argelander-Institut für Astronomie

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20141126/18dee43f/attachment.html>


More information about the Mesa-users mailing list