Mutual Inductor isn't an inductor.

It's a statement about two other inductors.
This commit is contained in:
Jeff Young
2024-01-23 15:07:29 +00:00
parent a836a66170
commit 1bd8da41a7
14 changed files with 2616 additions and 2549 deletions
+2 -2
View File
@@ -72,7 +72,7 @@ std::string SPICE_GENERATOR_SOURCE::ItemLine( const SPICE_ITEM& aItem ) const
item.modelName += fmt::format( "DC {} ", dc );
}
if( m_model.GetSpiceInfo().inlineTypeString != ""
if( m_model.GetSpiceInfo().functionName != ""
&& m_model.GetType() != SIM_MODEL::TYPE::V // DC-only sources are already processed
&& m_model.GetType() != SIM_MODEL::TYPE::I )
{
@@ -187,7 +187,7 @@ std::string SPICE_GENERATOR_SOURCE::ItemLine( const SPICE_ITEM& aItem ) const
}
emptyLine = false;
item.modelName += fmt::format( "{}( {}) ", m_model.GetSpiceInfo().inlineTypeString, args );
item.modelName += fmt::format( "{}( {}) ", m_model.GetSpiceInfo().functionName, args );
}
else
{