|
| | FileDefinedEngineView (GraphEngine &baseEngine, const std::string &fileName, const io::NetworkFileParser &parser) |
| | FileDefinedEngineView Implementation ///.
|
| |
| std::string | getNetworkFile () const |
| |
| const io::NetworkFileParser & | getParser () const |
| |
| | DefinedEngineView (const std::vector< std::string > &peNames, GraphEngine &baseEngine) |
| |
| const DynamicEngine & | getBaseEngine () const override |
| | Get the base engine associated with this defined engine view.
|
| |
| const std::vector< fourdst::atomic::Species > & | getNetworkSpecies () const override |
| | Gets the list of active species in the network defined by the file.
|
| |
| std::expected< StepDerivatives< double >, expectations::StaleEngineError > | calculateRHSAndEnergy (const fourdst::composition::Composition &comp, double T9, double rho) const override |
| | Calculates the right-hand side (dY/dt) and energy generation for the active species.
|
| |
| EnergyDerivatives | calculateEpsDerivatives (const fourdst::composition::Composition &comp, double T9, double rho) const override |
| | Calculate the derivatives of the energy generation rate with respect to T and rho.
|
| |
| void | generateJacobianMatrix (const fourdst::composition::Composition &comp, double T9, double rho) const override |
| | Generates the Jacobian matrix for the active species.
|
| |
| void | generateJacobianMatrix (const fourdst::composition::Composition &comp, double T9, double rho, const std::vector< fourdst::atomic::Species > &activeSpecies) const override |
| | Generates the Jacobian matrix for the active species.
|
| |
| void | generateJacobianMatrix (const fourdst::composition::Composition &comp, double T9, double rho, const SparsityPattern &sparsityPattern) const override |
| | Generates the Jacobian matrix for a given sparsity pattern.
|
| |
| double | getJacobianMatrixEntry (const fourdst::atomic::Species &rowSpecies, const fourdst::atomic::Species &colSpecies) const override |
| | Gets an entry from the Jacobian matrix for the active species.
|
| |
| void | generateStoichiometryMatrix () override |
| | Generates the stoichiometry matrix for the active reactions and species.
|
| |
| int | getStoichiometryMatrixEntry (const fourdst::atomic::Species &species, const reaction::Reaction &reaction) const override |
| | Gets an entry from the stoichiometry matrix for the active species and reactions.
|
| |
| double | calculateMolarReactionFlow (const reaction::Reaction &reaction, const fourdst::composition::Composition &comp, double T9, double rho) const override |
| | Calculates the molar reaction flow for a given reaction in the active network.
|
| |
| const reaction::ReactionSet & | getNetworkReactions () const override |
| | Gets the set of active logical reactions in the network.
|
| |
| void | setNetworkReactions (const reaction::ReactionSet &reactions) override |
| |
| std::expected< std::unordered_map< fourdst::atomic::Species, double >, expectations::StaleEngineError > | getSpeciesTimescales (const fourdst::composition::Composition &comp, double T9, double rho) const override |
| | Computes timescales for all active species in the network.
|
| |
| std::expected< std::unordered_map< fourdst::atomic::Species, double >, expectations::StaleEngineError > | getSpeciesDestructionTimescales (const fourdst::composition::Composition &comp, double T9, double rho) const override |
| |
| fourdst::composition::Composition | update (const NetIn &netIn) override |
| | Updates the engine view if it is marked as stale.
|
| |
| bool | isStale (const NetIn &netIn) override |
| |
| void | setScreeningModel (screening::ScreeningType model) override |
| | Sets the screening model for the base engine.
|
| |
| screening::ScreeningType | getScreeningModel () const override |
| | Gets the screening model from the base engine.
|
| |
| size_t | getSpeciesIndex (const fourdst::atomic::Species &species) const override |
| | Get the index of a species in the network.
|
| |
| std::vector< double > | mapNetInToMolarAbundanceVector (const NetIn &netIn) const override |
| | Map a NetIn object to a vector of molar abundances.
|
| |
| PrimingReport | primeEngine (const NetIn &netIn) override |
| | Prime the engine with initial conditions.
|
| |
| fourdst::composition::Composition | collectComposition (fourdst::composition::Composition &comp) const override |
| | Recursively collect composition from current engine and any sub engines if they exist.
|
| |
| virtual BuildDepthType | getDepth () const |
| | Get the depth of the network.
|
| |
| virtual void | rebuild (const fourdst::composition::Composition &comp, BuildDepthType depth) |
| | Rebuild the network with a specified depth.
|
| |
| virtual | ~Engine ()=default |
| | Virtual destructor.
|
| |
| virtual | ~EngineView ()=default |
| | Virtual destructor.
|
| |