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

◆ remove_mode_coupling()

void MayaFlux::Nodes::Network::ModalNetwork::remove_mode_coupling ( size_t  mode_a,
size_t  mode_b 
)

Remove specific coupling.

Definition at line 268 of file ModalNetwork.cpp.

269{
270 std::erase_if(m_couplings,
271 [mode_a, mode_b](const ModeCoupling& c) {
272 return (c.mode_a == mode_a && c.mode_b == mode_b)
273 || (c.mode_a == mode_b && c.mode_b == mode_a);
274 });
275}
std::vector< ModeCoupling > m_couplings

References m_couplings, MayaFlux::Nodes::Network::ModalNetwork::ModeCoupling::mode_a, and MayaFlux::Nodes::Network::ModalNetwork::ModeCoupling::mode_b.

Referenced by set_mode_coupling().

+ Here is the caller graph for this function: