Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert breakout to C++ #270

Merged
merged 1 commit into from
Mar 1, 2020
Merged

Convert breakout to C++ #270

merged 1 commit into from
Mar 1, 2020

Conversation

maxpkatz
Copy link
Member

No description provided.

@zingale
Copy link
Member

zingale commented Feb 28, 2020

comparison:

            variable name            absolute error            relative error
                                        (||A - B||)         (||A - B||/||A||)
 ----------------------------------------------------------------------
 level =  1
 density                            0.000000000               0.000000000    
 temperature                        0.000000000               0.000000000    
 specific_enthalpy                 0.1000000000E-98           510.9687499    
 specific_energy                    0.000000000               0.000000000    
 pressure                           0.000000000               0.000000000    
 specific_entropy                   0.000000000               0.000000000    
 X_hydrogen-1                       0.000000000               0.000000000    
 X_helium-3                         0.000000000               0.000000000    
 X_helium-4                         0.000000000               0.000000000    
 X_carbon-12                        0.000000000               0.000000000    
 X_nitrogen-14                      0.000000000               0.000000000    
 X_oxygen-16                        0.000000000               0.000000000    
 X_neon-20                          0.000000000               0.000000000    
 X_magnesium-24                     0.000000000               0.000000000    
 X_silicon-28                       0.000000000               0.000000000    
 X_sulfur-32                        0.000000000               0.000000000    
 X_argon-36                         0.000000000               0.000000000    
 X_calcium-40                       0.000000000               0.000000000    
 X_titanium-44                      0.000000000               0.000000000    
 X_chromium-48                      0.000000000               0.000000000    
 X_iron-52                          0.000000000               0.000000000    
 X_iron-54                          0.000000000               0.000000000    
 X_nickel-56                        0.000000000               0.000000000    
 X_neutron                          0.000000000               0.000000000    
 X_proton                           0.000000000               0.000000000    
 err_T_eos_rh                       0.000000000               0.000000000    
 err_rho_eos_tp                     0.000000000               0.000000000    
 err_T_eos_rp                       0.000000000               0.000000000    
 err_T_eos_re                       0.000000000               0.000000000    
 err_rho_eos_ps                    0.9999999998              0.1000000000E+99
 err_T_eos_ps                      0.9999990000              0.1000000000E+99
 err_rho_eos_ph                     0.000000000               0.000000000    
 err_T_eos_ph                       0.000000000               0.000000000    
 err_rho_eos_th                     0.000000000               0.000000000    
 c_v                                0.000000000               0.000000000    
 c_p                               0.1000000000E-98          0.9999999588    
 n_e                               0.1000000000E-98          0.1000000000E+99
 n_p                               0.1000000000E-98           1.000000000    
 eta                               0.1000000000E-98           1.000000000    
 p_ele                             0.1000000000E-98           175.8877234    
 p_pos                             0.1000000000E-98          0.4076186426E+11
 mu                                 0.000000000               0.000000000    
 mu_e                               0.000000000               0.000000000    
 Y_e                                0.000000000               0.000000000    
 dp_dT                             0.5794612991E-93          0.1000000000E+99
 dp_drho                           0.1000000000E-98           3426998.573    
 de_dT                             0.1000000000E-98          0.9999997648    
 de_drho                           0.1000000000E-98           9587.125874    
 ds_dT                             0.1000000000E-98           1.000000000    
 ds_drho                           0.1000000000E-98          0.5916543608E-02
 dh_dT                             0.1000000000E-98           1.000000000    
 dh_drho                           0.1000000000E-98          0.1000000000E+99
 dp_dX_hydrogen-1                  0.1000000000E-98          0.1000000000E+99
 dp_dX_helium-3                    0.1000000000E-98          0.1000000000E+99
 dp_dX_helium-4                    0.1000000000E-98          0.1000000000E+99
 dp_dX_carbon-12                   0.1000000000E-98          0.1000000000E+99
 dp_dX_nitrogen-14                 0.1000000000E-98          0.1000000000E+99
 dp_dX_oxygen-16                   0.1000000000E-98          0.1000000000E+99
 dp_dX_neon-20                     0.1000000000E-98          0.1000000000E+99
 dp_dX_magnesium-24                0.1000000000E-98          0.1000000000E+99
 dp_dX_silicon-28                  0.1000000000E-98          0.1000000000E+99
 dp_dX_sulfur-32                   0.1000000000E-98          0.1000000000E+99
 dp_dX_argon-36                    0.1000000000E-98          0.1000000000E+99
 dp_dX_calcium-40                  0.1000000000E-98          0.1000000000E+99
 dp_dX_titanium-44                 0.1000000000E-98          0.1000000000E+99
 dp_dX_chromium-48                 0.1000000000E-98          0.1000000000E+99
 dp_dX_iron-52                     0.1000000000E-98          0.1000000000E+99
 dp_dX_iron-54                     0.1000000000E-98          0.1000000000E+99
 dp_dX_nickel-56                   0.1000000000E-98          0.1000000000E+99
 dp_dX_neutron                     0.1000000000E-98          0.1000000000E+99
 dp_dX_proton                      0.1000000000E-98          0.1000000000E+99
 de_dX_hydrogen-1                  0.1000000000E-98          0.9999356166    
 de_dX_helium-3                    0.1000000000E-98          0.9999356166    
 de_dX_helium-4                    0.1000000000E-98          0.9999356166    
 de_dX_carbon-12                   0.1000000000E-98          0.9999356166    
 de_dX_nitrogen-14                 0.1000000000E-98          0.9999356166    
 de_dX_oxygen-16                   0.1000000000E-98          0.9999356166    
 de_dX_neon-20                     0.1000000000E-98          0.9999356166    
 de_dX_magnesium-24                0.1000000000E-98          0.9999356166    
 de_dX_silicon-28                  0.1000000000E-98          0.9999356166    
 de_dX_sulfur-32                   0.1000000000E-98          0.9999356166    
 de_dX_argon-36                    0.1000000000E-98          0.9999356166    
 de_dX_calcium-40                  0.1000000000E-98          0.9999356166    
 de_dX_titanium-44                 0.1000000000E-98          0.9999356166    
 de_dX_chromium-48                 0.1000000000E-98          0.9999356166    
 de_dX_iron-52                     0.1000000000E-98          0.9999356166    
 de_dX_iron-54                     0.1000000000E-98          0.9999356166    
 de_dX_nickel-56                   0.1000000000E-98          0.9999356166    
 de_dX_neutron                     0.1000000000E-98          0.9999356166    
 de_dX_proton                      0.1000000000E-98          0.9999356166    
 dh_dX_hydrogen-1                  0.1000000000E-98          0.9999356166    
 dh_dX_helium-3                    0.1000000000E-98          0.9999356166    
 dh_dX_helium-4                    0.1000000000E-98          0.9999356166    
 dh_dX_carbon-12                   0.1000000000E-98          0.9999356166    
 dh_dX_nitrogen-14                 0.1000000000E-98          0.9999356166    
 dh_dX_oxygen-16                   0.1000000000E-98          0.9999356166    
 dh_dX_neon-20                     0.1000000000E-98          0.9999356166    
 dh_dX_magnesium-24                0.1000000000E-98          0.9999356166    
 dh_dX_silicon-28                  0.1000000000E-98          0.9999356166    
 dh_dX_sulfur-32                   0.1000000000E-98          0.9999356166    
 dh_dX_argon-36                    0.1000000000E-98          0.9999356166    
 dh_dX_calcium-40                  0.1000000000E-98          0.9999356166    
 dh_dX_titanium-44                 0.1000000000E-98          0.9999356166    
 dh_dX_chromium-48                 0.1000000000E-98          0.9999356166    
 dh_dX_iron-52                     0.1000000000E-98          0.9999356166    
 dh_dX_iron-54                     0.1000000000E-98          0.9999356166    
 dh_dX_nickel-56                   0.1000000000E-98          0.9999356166    
 dh_dX_neutron                     0.1000000000E-98          0.9999356166    
 dh_dX_proton                      0.1000000000E-98          0.9999356166    
 Gamma_1                            0.000000000               0.000000000    
 soundspeed                        0.1000000000E-98          0.9999999995    
 Abar                               0.000000000               0.000000000    
 Zbar                               0.000000000               0.000000000    
 dp_dA                             0.1000000000E-98          0.1000000000E+99
 dp_dZ                             0.1000000000E-98          0.1000000000E+99
 de_dA                             0.1000000000E-98          0.1000000000E+99
 de_dZ                             0.1000000000E-98          0.9999356166    
 dp_de_rho                         0.1000000000E-98          0.9999999682    
 dp_drho_e                         0.1000000000E-98          0.5916543605E-02

@zingale
Copy link
Member

zingale commented Feb 28, 2020

the errors are the state variables we don't set explicitly.

@zingale zingale merged commit 8e8597c into development Mar 1, 2020
@zingale zingale deleted the cxx-breakout branch March 1, 2020 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants