diff --git a/pcb_calculator/transline/rectwaveguide.cpp b/pcb_calculator/transline/rectwaveguide.cpp index 6fde759e40..c7c589e18a 100644 --- a/pcb_calculator/transline/rectwaveguide.cpp +++ b/pcb_calculator/transline/rectwaveguide.cpp @@ -35,7 +35,6 @@ RECTWAVEGUIDE::RECTWAVEGUIDE() : TRANSLINE() // Initialize these here variables mainly to avoid warnings from a static analyzer mur = 0.0; // magnetic permeability of substrate - tanm = 0.0; // Magnetic Loss Tangent a = 0.0; // width of waveguide b = 0.0; // height of waveguide l = 0.0; // length of waveguide @@ -192,7 +191,6 @@ void RECTWAVEGUIDE::get_rectwaveguide_sub() m_murC = getProperty( MURC_PRM ); m_sigma = 1.0 / getProperty( RHO_PRM ); m_tand = getProperty( TAND_PRM ); - tanm = getProperty( TANM_PRM ); } diff --git a/pcb_calculator/transline/rectwaveguide.h b/pcb_calculator/transline/rectwaveguide.h index 466accdc8b..4e16e4fb9d 100644 --- a/pcb_calculator/transline/rectwaveguide.h +++ b/pcb_calculator/transline/rectwaveguide.h @@ -31,7 +31,6 @@ public: RECTWAVEGUIDE(); private: double mur; // magnetic permeability of substrate - double tanm; // Magnetic Loss Tangent double a; // width of waveguide double b; // height of waveguide double l; // length of waveguide diff --git a/pcb_calculator/transline/transline.h b/pcb_calculator/transline/transline.h index ef5ab422cb..8b5f7e50f7 100644 --- a/pcb_calculator/transline/transline.h +++ b/pcb_calculator/transline/transline.h @@ -42,7 +42,6 @@ enum PRMS_ID MUR_PRM, TWISTEDPAIR_EPSILONR_ENV_PRM, MURC_PRM, - TANM_PRM, FREQUENCY_PRM, Z0_PRM, Z0_E_PRM, diff --git a/pcb_calculator/transline_ident.cpp b/pcb_calculator/transline_ident.cpp index 764bb68bb2..f57f29e4bd 100644 --- a/pcb_calculator/transline_ident.cpp +++ b/pcb_calculator/transline_ident.cpp @@ -241,8 +241,6 @@ TRANSLINE_IDENT::TRANSLINE_IDENT( enum TRANSLINE_TYPE_ID aType ) AddPrm( new TRANSLINE_PRM( PRM_TYPE_SUBS, MUR_PRM, _( "mu Rel I:" ), _( "Relative Permeability (mu) of Insulator" ), 1, false ) ); - AddPrm( new TRANSLINE_PRM( PRM_TYPE_SUBS, TANM_PRM, - _( "TanM:" ), _( "Magnetic Loss Tangent" ), 0, false ) ); AddPrm( new TRANSLINE_PRM( PRM_TYPE_SUBS, MURC_PRM, _( "mu Rel C:" ), _( "Relative Permeability (mu) of Conductor" ), 1, false ) );