[Mesa-users] Fwd: How to extract values
Rob Farmer
robert.j.farmer37 at gmail.com
Tue Jul 19 14:41:46 UTC 2022
> By doing so, I did not get any errors while compiling. Sir Is there
anything wrong with the above command.
Sir I could not understand your words "You want to pass the string
"burn_c" not a variable called burn_c".
Please enlighten me.
Yes your still passing a character called burn_c and not the string
'burn_c' (with the quotes)
E_cburn(nz) = star_get_profile_output(s,'burn_c',k)
Rob
On Fri, 15 Jul 2022 at 17:38, harish sorrout via Mesa-users <
mesa-users at lists.mesastar.org> wrote:
>
> ---------- Forwarded message ---------
> From: harish sorrout <harishsorrout at gmail.com>
> Date: Fri, 15 Jul 2022, 21:02
> Subject: Re: [Mesa-users] How to extract values
> To: Rob Farmer <robert.j.farmer37 at gmail.com>
>
>
> Sir
> As you told to use
> real(dp) function star_get_profile_output(s,name,k) to get the
> value of 'burn_c' . So for this I need to put 'burn_c' at the place of
> 'name' argument.
> So i select character (len=maxlen_profile_column_name) :: burn_c. And use
> E_cburn(nz) = star_get_profile_output(s,burn_c,k) where real(dp) ::
> E_cburn(nz). and
> then used burn_timescales = (s% cp(k) * s% T) / E_cburn(k)
>
> By doing so, I did not get any errors while compiling. Sir Is there
> anything wrong with the above command.
> Sir I could not understand your words "You want to pass the string
> "burn_c" not a variable called burn_c".
> Please enlighten me.
>
> Harish Kumar
>
>
>
>
> _______________________________________________
> mesa-users at lists.mesastar.org
> https://lists.mesastar.org/mailman/listinfo/mesa-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20220719/cd16c3a1/attachment.htm>
More information about the Mesa-users
mailing list