OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmm::ForcingData::ElemClimateChannel Struct Reference

#include <ForcingData.hpp>

Collaboration diagram for openswmm::ForcingData::ElemClimateChannel:

Public Member Functions

void ensure (std::size_t n)
 
double apply (int i, double base) const noexcept
 Apply this channel at i to base; base when unset.
 
void resetPerStep ()
 
void clear ()
 

Public Attributes

std::vector< ForcingModemode
 
std::vector< double > value
 
std::vector< ForcingPersistpersist
 

Member Function Documentation

◆ apply()

double openswmm::ForcingData::ElemClimateChannel::apply ( int i,
double base ) const
inlinenoexcept

Apply this channel at i to base; base when unset.

◆ clear()

void openswmm::ForcingData::ElemClimateChannel::clear ( )
inline

◆ ensure()

void openswmm::ForcingData::ElemClimateChannel::ensure ( std::size_t n)
inline

◆ resetPerStep()

void openswmm::ForcingData::ElemClimateChannel::resetPerStep ( )
inline

Member Data Documentation

◆ mode

std::vector<ForcingMode> openswmm::ForcingData::ElemClimateChannel::mode

◆ persist

std::vector<ForcingPersist> openswmm::ForcingData::ElemClimateChannel::persist

◆ value

std::vector<double> openswmm::ForcingData::ElemClimateChannel::value

The documentation for this struct was generated from the following file: