#include <simulation.hpp>
|
| | SimulationUnit (std::unique_ptr< MC::MonteCarloUnit > &&_unit, const ScalarInitializer &scalar_init, std::optional< Feed::SimulationFeed > _feed=std::nullopt) |
| | ~SimulationUnit () |
| | SimulationUnit (SimulationUnit &&other) noexcept |
| | SimulationUnit (const SimulationUnit &other)=delete |
| SimulationUnit & | operator= (SimulationUnit &&rhs)=delete |
| SimulationUnit & | operator= (const SimulationUnit &rhs)=delete |
| const Simulation::Feed::SimulationFeed & | get_feed () const |
| ProbeAutogeneratedBuffer & | get_probes () |
| void | setProbes (ProbeAutogeneratedBuffer &&_probes) |
| void | setMtrModel (MassTransfer::Type::MtrTypeVariant &&variant) |
| void | setLogger (std::shared_ptr< IO::Logger >) |
| double & | get_start_time_mut () |
| double & | get_end_time_mut () |
| Dimensions | getDimensions () const noexcept |
| std::span< double > | getCliqData () const |
| std::optional< std::span< const double > > | getCgasData () const |
| std::span< const double > | getContributionData () const |
| bool | two_phase_flow () const |
| std::optional< std::span< const double > > | getMTRData () const |
| std::span< double > | getContributionData_mut () |
| void | cycleProcess (auto &container, double d_t, auto &_functors) |
| void | step (double d_t) const |
| void | clearContribution () const noexcept |
| void | update_feed (double t, double d_t, bool update_scalar=true) noexcept |
| void | updateHydro (const CmaUtils::IterationStatePtrType &newstate) |
| void | updateMCHydro (std::span< const double > vl, std::span< const std::size_t > neighors_flat, std::span< const double > proba_flat, std::span< const double > out_flows) |
| bool | checkScalar () const |
| void | reset () |
| template<typename Space, ModelType Model> |
| KernelInline::CycleFunctors< Space, Model > | init_functors (MC::ParticlesContainer< Model > container) |
◆ SimulationUnit() [1/3]
◆ ~SimulationUnit()
| Simulation::SimulationUnit::~SimulationUnit |
( |
| ) |
|
|
default |
◆ SimulationUnit() [2/3]
◆ SimulationUnit() [3/3]
| Simulation::SimulationUnit::SimulationUnit |
( |
const SimulationUnit & | other | ) |
|
|
delete |
◆ checkScalar()
| bool Simulation::SimulationUnit::checkScalar |
( |
| ) |
const |
◆ clearContribution()
| void Simulation::SimulationUnit::clearContribution |
( |
| ) |
const |
|
noexcept |
◆ cycleProcess()
| void Simulation::SimulationUnit::cycleProcess |
( |
auto & | container, |
|
|
double | d_t, |
|
|
auto & | _functors ) |
◆ get_end_time_mut()
| double & Simulation::SimulationUnit::get_end_time_mut |
( |
| ) |
|
|
nodiscard |
◆ get_feed()
◆ get_kernel_contribution()
| kernelContribution Simulation::SimulationUnit::get_kernel_contribution |
( |
| ) |
const |
|
nodiscardprivate |
◆ get_probes()
◆ get_start_time_mut()
| double & Simulation::SimulationUnit::get_start_time_mut |
( |
| ) |
|
|
nodiscard |
◆ getCgasData()
| std::optional< std::span< const double > > Simulation::SimulationUnit::getCgasData |
( |
| ) |
const |
|
nodiscard |
◆ getCliqData()
| std::span< double > Simulation::SimulationUnit::getCliqData |
( |
| ) |
const |
|
nodiscard |
◆ getContributionData()
| std::span< const double > Simulation::SimulationUnit::getContributionData |
( |
| ) |
const |
|
nodiscard |
◆ getContributionData_mut()
| std::span< double > Simulation::SimulationUnit::getContributionData_mut |
( |
| ) |
|
◆ getDimensions()
| Dimensions Simulation::SimulationUnit::getDimensions |
( |
| ) |
const |
|
nodiscardnoexcept |
◆ getkernel_concentration()
◆ getMTRData()
| std::optional< std::span< const double > > Simulation::SimulationUnit::getMTRData |
( |
| ) |
const |
|
nodiscard |
◆ init_functors()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ post_cycle()
| void Simulation::SimulationUnit::post_cycle |
( |
MC::ParticlesContainer< Model > & | container, |
|
|
auto & | cycle_functors ) |
|
private |
◆ post_init_compartments()
| void Simulation::SimulationUnit::post_init_compartments |
( |
| ) |
|
|
private |
◆ post_init_concentration()
| void Simulation::SimulationUnit::post_init_concentration |
( |
const ScalarInitializer & | scalar_init | ) |
|
|
private |
◆ pre_cycle()
| void Simulation::SimulationUnit::pre_cycle |
( |
MC::ParticlesContainer< Model > & | container, |
|
|
double | d_t, |
|
|
auto & | functors ) |
|
private |
◆ reset()
| void Simulation::SimulationUnit::reset |
( |
| ) |
|
◆ scatter_contribute()
| void Simulation::SimulationUnit::scatter_contribute |
( |
| ) |
|
|
private |
◆ set_kernel_contribs_to_host()
| void Simulation::SimulationUnit::set_kernel_contribs_to_host |
( |
| ) |
|
|
private |
◆ setGasFlow()
| void Simulation::SimulationUnit::setGasFlow |
( |
CmaUtils::PreCalculatedHydroState * | _flows_g | ) |
|
|
private |
◆ setLiquidFlow()
| void Simulation::SimulationUnit::setLiquidFlow |
( |
CmaUtils::PreCalculatedHydroState * | _flows_l | ) |
|
|
private |
◆ setLogger()
| void Simulation::SimulationUnit::setLogger |
( |
std::shared_ptr< IO::Logger > | _logger | ) |
|
◆ setMtrModel()
◆ setProbes()
◆ setVolumes()
◆ step()
| void Simulation::SimulationUnit::step |
( |
double | d_t | ) |
const |
◆ two_phase_flow()
| bool Simulation::SimulationUnit::two_phase_flow |
( |
| ) |
const |
|
nodiscard |
◆ update_feed()
| void Simulation::SimulationUnit::update_feed |
( |
double | t, |
|
|
double | d_t, |
|
|
bool | update_scalar = true ) |
|
noexcept |
◆ updateHydro()
◆ updateMCHydro()
| void Simulation::SimulationUnit::updateMCHydro |
( |
std::span< const double > | vl, |
|
|
std::span< const std::size_t > | neighors_flat, |
|
|
std::span< const double > | proba_flat, |
|
|
std::span< const double > | out_flows ) |
◆ updateScalarHydro()
◆ const_number_simulation
| bool Simulation::SimulationUnit::const_number_simulation = true |
|
private |
◆ contribs_scatter
◆ end_time
| double Simulation::SimulationUnit::end_time {} |
|
private |
◆ f_reaction
| bool Simulation::SimulationUnit::f_reaction = true |
|
private |
◆ feed
◆ gas_scalar
◆ is_two_phase_flow
| bool Simulation::SimulationUnit::is_two_phase_flow |
|
private |
◆ liquid_scalar
◆ logger
| std::shared_ptr<IO::Logger> Simulation::SimulationUnit::logger |
|
private |
◆ mc_unit
◆ move_info
◆ mt_model
◆ probes
◆ starting_time
| double Simulation::SimulationUnit::starting_time |
|
private |
The documentation for this class was generated from the following files:
- apps/libs/simulation/public/simulation/simulation.hpp
- apps/libs/simulation/src/simulation.cpp
- apps/libs/simulation/src/simulation.getset.cpp
- apps/libs/simulation/src/simulation.model.cpp