1#ifndef __CMA_UTILS_D_FMT_HPP__
2#define __CMA_UTILS_D_FMT_HPP__
4#include <transitionner/transitionner.hpp>
17 std::size_t _n_per_flowmap,
18 std::size_t number_time_step,
19 std::unique_ptr<CmaRead::FlowIterator>&& _iterator,
Derived class to handle Discontinuous transition between flowmaps.
Definition discontinuous_fmt.hpp:14
void update_flow() final
Calculate the current state based on the selected method, may be caching or direct calculation.
Definition discontinuousfmt.cpp:36
CmaUtils::ProxyPreCalculatedHydroState & current_gas_hydro_state() noexcept final
Get current gas state read from CmaRead.
Definition discontinuousfmt.cpp:14
CmaUtils::ProxyPreCalculatedHydroState & current_liq_hydro_state() noexcept final
Get current liquid state read from CmaRead.
Definition discontinuousfmt.cpp:8
DiscontinuousFMT(std::size_t _n_flowmap, std::size_t _n_per_flowmap, std::size_t number_time_step, std::unique_ptr< CmaRead::FlowIterator > &&_iterator, bool is_two_phase_flow)
Definition discontinuousfmt.cpp:26
const CmaRead::ReactorState & get_current_reactor_state() const noexcept final
Provides a const reference to the current reactor state.
Definition discontinuousfmt.cpp:21
Manages the reading, caching, and transitioning of flowmaps for simulation timesteps.
Definition transitionner.hpp:38
bool is_two_phase_flow() const noexcept
Checks whether a gas flowmap is provided.
Definition transitionner.hpp:202
Proxy class for PreCalculatedHydroState used to fill this struct with data from an external library.
Definition proxy_cache.hpp:20
Namespace to handle algorithms and structures related to reading compartment mesh.
Definition host_specific.hpp:17