MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ set_parameter()

void MayaFlux::Nodes::Network::JunctionOperator::set_parameter ( std::string_view param,
double value )
overridevirtual

Set operator parameter.

Implements MayaFlux::Nodes::Network::NetworkOperator.

Definition at line 441 of file TerminationOperators.cpp.

442{
444 if (param == "driving_pressure") {
445 put(m_driving_pressure, value, Rule::ANY);
446 } else if (param == "maximum_flow") {
447 put(m_maximum_flow, value, Rule::POSITIVE);
448 }
449}
bool settle_named_control(std::string_view name)
Drops the pending typed value of the control called name.

References m_driving_pressure, m_maximum_flow, and MayaFlux::Nodes::Network::NetworkOperator::settle_named_control().

Here is the call graph for this function: