pynucastro.networks package#
The pynucastro modules that support the creation of networks. There are several main submodules here:
amrexastro_cxx_network
:
the support routines to generate a C++ network that can be incorporated
into the AMReX-Astro Microphysics routines supported by astrophysical
hydrodynamics codes.
base_cxx_network
:
the support routines to generate a standalone integrable network in
pure C++.
fortran_network
: the
support routines for creating Fortran wrappers around the simple C++
network.
nse_network
: a network
specialized in solving for nuclear statistical equilibrium.
numpy_network
: a network
that caches rates to allow for more efficient computation.
python_network
: the
support routines to generate a full, integrable network in python.
rate_collection
: this is
simply a collection of rates that knows about the links connecting
nuclei. This is used as the base for the different classes the write
code to output networks for integration.
simple_cxx_network
:
the support routines to generate a simple pure C++ network for
interfacing with simulation codes.
sympy_network_support
:
common set of sympy routines that are used for code generation from
networks.
Submodules#
- pynucastro.networks.amrexastro_cxx_network module
- pynucastro.networks.base_cxx_network module
- pynucastro.networks.fortran_network module
- pynucastro.networks.nse_network module
- pynucastro.networks.numpy_network module
NumpyNetwork
NumpyNetwork.yfac
NumpyNetwork.prefac
NumpyNetwork.clear_arrays()
NumpyNetwork.coef_arr
NumpyNetwork.coef_mask
NumpyNetwork.evaluate_activity_arr()
NumpyNetwork.evaluate_rates_arr()
NumpyNetwork.evaluate_ydots_arr()
NumpyNetwork.nuc_cons_count
NumpyNetwork.nuc_prod_count
NumpyNetwork.nuc_used
NumpyNetwork.update_prefac_arr()
NumpyNetwork.update_yfac_arr()
- pynucastro.networks.python_network module
- pynucastro.networks.rate_collection module
Composition
Composition.A
Composition.X
Composition.Z
Composition.abar
Composition.bin_as()
Composition.get_molar()
Composition.get_nuclei()
Composition.get_sum_X()
Composition.normalize()
Composition.plot()
Composition.set_all()
Composition.set_array()
Composition.set_equal()
Composition.set_nuc()
Composition.set_random()
Composition.set_solar_like()
Composition.ye
Composition.zbar
Explorer
RateCollection
RateCollection.add_rates()
RateCollection.create_network_graph()
RateCollection.dedupe_partition_function_temperatures()
RateCollection.evaluate_activity()
RateCollection.evaluate_energy_generation()
RateCollection.evaluate_jacobian()
RateCollection.evaluate_rates()
RateCollection.evaluate_screening()
RateCollection.evaluate_ydots()
RateCollection.find_duplicate_links()
RateCollection.find_reverse()
RateCollection.find_unimportant_rates()
RateCollection.get_forward_rates()
RateCollection.get_hidden_rates()
RateCollection.get_nuclei()
RateCollection.get_nuclei_latex_string()
RateCollection.get_nuclei_needing_partition_functions()
RateCollection.get_rate()
RateCollection.get_rate_by_name()
RateCollection.get_rate_by_nuclei()
RateCollection.get_rate_pairs()
RateCollection.get_rates()
RateCollection.get_rates_latex_table_string()
RateCollection.get_reverse_rates()
RateCollection.gridplot()
RateCollection.linking_nuclei()
RateCollection.make_ap_pg_approx()
RateCollection.make_nn_g_approx()
RateCollection.make_nse_protons()
RateCollection.network_overview()
RateCollection.plot()
RateCollection.plot_jacobian()
RateCollection.plot_network_chart()
RateCollection.pynucastro_dir
RateCollection.rate_pair_overview()
RateCollection.remove_nuclei()
RateCollection.remove_rates()
RateCollection.summary()
RateCollection.validate()
RateCollection.write_network()
RateDuplicationError
- pynucastro.networks.simple_cxx_network module
- pynucastro.networks.sympy_network_support module