#include <simulation.hpp>
|
| | SimulationUnit (std::unique_ptr< MC::MonteCarloUnit > &&_unit, 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 |
| void | setEndTime (double _end_time) noexcept |
| void | overwriteStartTime (double _start_time) noexcept |
| void | setProbes (ProbeType type, ProbeAutogeneratedBuffer &&_probes) |
| void | setMtrModel (MassTransfer::Type::MtrTypeVariant &&variant) |
| void | setLogger (std::shared_ptr< IO::Logger >) |
| Getter | getter () const noexcept |
| 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 > newliquid_volume, std::span< const std::size_t > neighors_flat, std::span< const double > proba_flat, std::span< const double > out_flows) const |
| 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_kernel_contribution()
| kernelContribution Simulation::SimulationUnit::get_kernel_contribution |
( |
| ) |
const |
|
nodiscardprivate |
◆ getkernel_concentration()
◆ getter()
| Getter Simulation::SimulationUnit::getter |
( |
| ) |
const |
|
noexcept |
◆ init_functors()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ overwriteStartTime()
| void Simulation::SimulationUnit::overwriteStartTime |
( |
double | _start_time | ) |
|
|
noexcept |
◆ 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 |
( |
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 |
◆ setEndTime()
| void Simulation::SimulationUnit::setEndTime |
( |
double | _end_time | ) |
|
|
noexcept |
◆ 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()
◆ step()
| void Simulation::SimulationUnit::step |
( |
double | d_t | ) |
const |
◆ 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 > | newliquid_volume, |
|
|
std::span< const std::size_t > | neighors_flat, |
|
|
std::span< const double > | proba_flat, |
|
|
std::span< const double > | out_flows ) const |
◆ updateScalarHydro()
◆ Getter
◆ accesor
| Getter Simulation::SimulationUnit::accesor |
|
private |
◆ const_number_simulation
| bool Simulation::SimulationUnit::const_number_simulation = true |
|
private |
◆ contribs_scatter
◆ dims
◆ 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
◆ 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