BioCMAMC-ST
linter_fmt.hpp
1#ifndef __CMA_UTILS_LINTER_FMT_HPP__
2#define __CMA_UTILS_LINTER_FMT_HPP__
3
4#include <stdexcept>
5#include <transitionner/transitionner.hpp>
6
7namespace CmaUtils
8{
15 class LinterFMT final : public FlowMapTransitionner
16 {
17 public:
18 LinterFMT(std::size_t _n_flowmap,
19 std::size_t _n_per_flowmap,
20 std::size_t number_time_step,
21 std::unique_ptr<CmaRead::FlowIterator>&& _iterator,
23 {
24 (void) _n_flowmap;
25 (void)_n_per_flowmap;
26 (void) number_time_step;
27 (void) _iterator;
28 (void) is_two_phase_flow;
29 throw std::runtime_error("LinterFMT not implemented yet");
30 }
31 void update_flow() final
32 {
33 throw std::runtime_error("LinterFMT not implemented yet");
34 }
35
36 protected:
37 [[nodiscard]] const CmaRead::ReactorState& get_current_reactor_state() const noexcept final
38 {
39 throw std::runtime_error("LinterFMT not implemented yet");
40 }
43 };
44} // namespace CmaUtils
45
46#endif
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
Derived class to handle Linear interpolation transition between flowmaps.
Definition linter_fmt.hpp:16
void update_flow() final
Calculate the current state based on the selected method, may be caching or direct calculation.
Definition linter_fmt.hpp:31
CmaUtils::ProxyPreCalculatedHydroState & current_gas_hydro_state() noexcept final
Get current gas state read from CmaRead.
Definition discontinuousfmt.cpp:51
CmaUtils::ProxyPreCalculatedHydroState & current_liq_hydro_state() noexcept final
Get current liquid state read from CmaRead.
Definition discontinuousfmt.cpp:47
LinterFMT(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 linter_fmt.hpp:18
const CmaRead::ReactorState & get_current_reactor_state() const noexcept final
Provides a const reference to the current reactor state.
Definition linter_fmt.hpp:37
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