94 BOOST_TEST( Z0_check == Z0_orig, boost::test_tools::tolerance( 0.01 ) );
130 BOOST_TEST( Z0_check == Z0_orig, boost::test_tools::tolerance( 0.01 ) );
157 const double Z0_E_orig = results.at(
TCP::Z0_E).first;
158 const double Z0_O_orig = results.at(
TCP::Z0_O).first;
173 BOOST_TEST( Z0_O_check == Z0_O_orig, boost::test_tools::tolerance( 0.02 ) );
199 const double Z0_E_orig = results.at(
TCP::Z0_E).first;
200 const double Z0_O_orig = results.at(
TCP::Z0_O).first;
214 BOOST_TEST( Z0_O_check == Z0_O_orig, boost::test_tools::tolerance( 0.02 ) );
247 BOOST_TEST( Z0_check == Z0_orig, boost::test_tools::tolerance( 0.01 ) );
281 BOOST_TEST( Z0_check == Z0_orig, boost::test_tools::tolerance( 0.01 ) );
314 BOOST_TEST( Z0_check == Z0_orig, boost::test_tools::tolerance( 0.01 ) );
351 BOOST_TEST( Z0_check == Z0_orig, boost::test_tools::tolerance( 0.01 ) );
Coaxial transmission line calculation (TEM mode).
bool Synthesize(SYNTHESIZE_OPTS aOpts) override
Synthesize the cable geometry to match the given Z0 target.
void Analyse() override
Analyse cable geometry parameters to output Z0, electrical length, losses and cutoffs.
Coplanar waveguide (CPW) and conductor-backed coplanar waveguide (CBCPW) calculation.
void Analyse() override
Analyse trace geometry to produce Z0, electrical length, effective permittivity, and losses.
bool Synthesize(SYNTHESIZE_OPTS aOpts) override
Synthesize the unknown geometry parameter to match the Z0 target.
void Analyse() override
Analyse track geometry parameters to output Z0 and Ang_L.
bool Synthesize(SYNTHESIZE_OPTS aOpts) override
Synthesis track geometry parameters to match given Z0.
void Analyse() override
Analyse track geometry parameters to output Z0 and Ang_L.
bool Synthesize(SYNTHESIZE_OPTS aOpts) override
Synthesis track geometry parameters to match given Z0.
bool Synthesize(SYNTHESIZE_OPTS aOpts) override
Synthesis track geometry parameters to match given Z0.
void Analyse() override
Analyse track geometry parameters to output Z0 and Ang_L.
Rectangular waveguide calculation.
bool Synthesize(SYNTHESIZE_OPTS aOpts) override
Synthesize the broad dimension a from a target Z0. Only PHYS_WIDTH is a valid target.
void Analyse() override
Analyse waveguide geometry to produce Z0, electrical length, loss, and mode cutoffs.
bool Synthesize(SYNTHESIZE_OPTS aOpts) override
Synthesis track geometry parameters to match given Z0.
void Analyse() override
Analyse track geometry parameters to output Z0 and Ang_L.
double GetParameter(const TRANSLINE_PARAMETERS aParam) const
Gets the given calculation property.
void SetParameter(const TRANSLINE_PARAMETERS aParam, const double aValue)
Sets the given calculation property.
std::unordered_map< TRANSLINE_PARAMETERS, std::pair< double, TRANSLINE_STATUS > > & GetAnalysisResults()
Gets the output parameters following analysis.
Twisted-pair transmission line calculation.
bool Synthesize(SYNTHESIZE_OPTS aOpts) override
Synthesize Din or Dout to hit the target Z0. Length is recomputed from ANG_L.
void Analyse() override
Analyse pair geometry to output Z0, electrical length, losses, skin depth, εeff.
constexpr double UNIT_MIL
constexpr double UNIT_MHZ
constexpr double UNIT_MICRON
BOOST_AUTO_TEST_CASE(HorizontalAlignment)
BOOST_AUTO_TEST_SUITE(CadstarPartParser)
BOOST_TEST(contains==c.ExpectedContains)
BOOST_AUTO_TEST_SUITE_END()
BOOST_AUTO_TEST_CASE(MicrostripWidthRoundTrip)
TRANSLINE_PARAMETERS
All possible parameters used (as inputs or outputs) by the transmission line calculations.
@ TWISTEDPAIR_EPSILONR_ENV