37void SetDefaults(
COAX& aCalc )
67 BOOST_TEST(
Z0 == 50.0, boost::test_tools::tolerance( 0.5 / 50.0 ) );
85 BOOST_TEST( fc == 35.4e9, boost::test_tools::tolerance( 1.0 / 35.4 ) );
103 BOOST_TEST(
Z0 == 50.0, boost::test_tools::tolerance( 1.0 / 50.0 ) );
128 const double alpha_d = (
M_PI * 1.0e9 * std::sqrt( 4.3 ) * 0.02 ) /
TC::C0;
131 BOOST_TEST( loss_d == expected_dB, boost::test_tools::tolerance( 0.01 ) );
159 BOOST_TEST( Z0_check == 50.0, boost::test_tools::tolerance( 0.1 / 50.0 ) );
180 const std::string teModes = calc.
GetTEModes();
181 BOOST_TEST( teModes.rfind(
"H(1,1) ", 0 ) == 0u );
Coaxial transmission line calculation (TEM mode).
std::string GetTEModes() const
Returns a UI-friendly string enumerating propagating TE_1m modes at the current frequency.
void SetSynthesizeTarget(TRANSLINE_PARAMETERS aTarget) override
Choose which geometry parameter will be solved for during synthesis.
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.
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.
BOOST_AUTO_TEST_CASE(HorizontalAlignment)
BOOST_AUTO_TEST_SUITE(CadstarPartParser)
BOOST_AUTO_TEST_CASE(AirFilled50OhmImpedance)
BOOST_AUTO_TEST_SUITE_END()
BOOST_TEST(netlist.find("R_G1 ARM_OUT1 DIE_B R='0.001 / ((SW_STATE)") !=std::string::npos)
TRANSLINE_PARAMETERS
All possible parameters used (as inputs or outputs) by the transmission line calculations.