Loading...
Searching...
No Matches
gridfire_mod Module Reference

## Data Types

interface | gf_construct_engine_from_policy
interface | gf_construct_solver_from_engine
interface | gf_evolve
interface | gf_free
interface | gf_get_last_error_message
interface | gf_init
interface | gf_register_species
type | gridfire

## Enumerations

enum

{
fdsse_non_4dstar_error = -102 , fdsse_unknown_error = -101 , fdsse_success = 1 , fdsse_unknown_symbol_error = 100 ,
fdsse_species_error = 101 , fdsse_invalid_composition_error = 102 , fdsse_composition_error = 103 , gf_non_gridfire_error = -2 ,
gf_unknown_error = -1 , gf_success = 0 , gf_invalid_qse_solution_error = 5 , gf_failed_to_partition_error = 6 ,
gf_network_resized_error = 7 , gf_unable_to_set_network_reactions_error = 8 , gf_bad_collection_error = 9 , gf_bad_rhs_enigne_error = 10 ,
gf_stale_jacobian_error = 11 , gf_uninitialized_jacobian_error = 12 , gf_unknonwn_jacobian_error = 13 , gf_jacobian_error = 14 ,
gf_engine_error = 15 , gf_missing_base_reaction_error = 16 , gf_missing_seed_species_error = 17 , gf_missing_key_reaction_error = 18 ,
gf_policy_error = 19 , gf_reaction_parsing_error = 20 , gf_reactoion_error = 21 , gf_singular_jacobian_error = 22 ,
gf_ill_conditioned_jacobian_error = 23 , gf_cvode_solver_failure_error = 24 , gf_kinsol_solver_failure_error = 25 , gf_sundials_error = 26 ,
gf_solver_error = 27 , gf_hashing_error = 28 , gf_utility_error = 29 , gf_debug_errror = 30 ,
gf_gridfire_error = 31
}

## Functions/Subroutines

subroutine | gff_init (self)
subroutine | gff_free (self)
character(len=:) function, allocatable | get_last_error (self)
subroutine | register_species (self, species_list)
subroutine | setup_policy (self, policy_name, abundances)
subroutine | setup_solver (self, solver_name)
subroutine | evolve (self, y_in, t, rho, dt, y_out, energy, dedt, dedrho, nu_e_loss, nu_flux, mass_lost, ierr)

## Enumeration Type Documentation

## anonymous enum

anonymous enum

Enumerator
fdsse_non_4dstar_error |
fdsse_unknown_error |
fdsse_success |
fdsse_unknown_symbol_error |
fdsse_species_error |
fdsse_invalid_composition_error |
fdsse_composition_error |
gf_non_gridfire_error |
gf_unknown_error |
gf_success |
gf_invalid_qse_solution_error |
gf_failed_to_partition_error |
gf_network_resized_error |
gf_unable_to_set_network_reactions_error |
gf_bad_collection_error |
gf_bad_rhs_enigne_error |
gf_stale_jacobian_error |
gf_uninitialized_jacobian_error |
gf_unknonwn_jacobian_error |
gf_jacobian_error |
gf_engine_error |
gf_missing_base_reaction_error |
gf_missing_seed_species_error |
gf_missing_key_reaction_error |
gf_policy_error |
gf_reaction_parsing_error |
gf_reactoion_error |
gf_singular_jacobian_error |
gf_ill_conditioned_jacobian_error |
gf_cvode_solver_failure_error |
gf_kinsol_solver_failure_error |
gf_sundials_error |
gf_solver_error |
gf_hashing_error |
gf_utility_error |
gf_debug_errror |
gf_gridfire_error |

## Function/Subroutine Documentation

## evolve()

subroutine gridfire_mod::evolve | ( | class(gridfire), intent(in) | self,
|  | real(c_double), dimension(:), intent(in) | y_in,
|  | real(c_double), value | t,
|  | real(c_double), value | rho,
|  | real(c_double), value | dt,
|  | real(c_double), dimension(:), intent(out) | y_out,
|  | real(c_double), intent(out) | energy,
|  | real(c_double), intent(out) | dedt,
|  | real(c_double), intent(out) | dedrho,
|  | real(c_double), intent(out) | nu_e_loss,
|  | real(c_double), intent(out) | nu_flux,
|  | real(c_double), intent(out) | mass_lost,
|  | integer, intent(out) | ierr
| ) |  |

## get_last_error()

character(len=:) function, allocatable gridfire_mod::get_last_error | ( | class(gridfire), intent(in) | self | ) |

## gff_free()

subroutine gridfire_mod::gff_free | ( | class(gridfire), intent(inout) | self | ) |

## gff_init()

subroutine gridfire_mod::gff_init | ( | class(gridfire), intent(out) | self | ) |

## register_species()

subroutine gridfire_mod::register_species | ( | class(gridfire), intent(inout) | self,
|  | character(len=*), dimension(:), intent(in) | species_list
| ) |  |

## setup_policy()

subroutine gridfire_mod::setup_policy | ( | class(gridfire), intent(in) | self,
|  | character(len=*), intent(in) | policy_name,
|  | real(c_double), dimension(:), intent(in) | abundances
| ) |  |

## setup_solver()

subroutine gridfire_mod::setup_solver | ( | class(gridfire), intent(in) | self,
|  | character(len=*), intent(in) | solver_name
| ) |  |