From b17780c9362835e68bf2c92a5f4e70e47a18840d Mon Sep 17 00:00:00 2001 From: Vadim Kuznetsov Date: Wed, 4 Sep 2024 15:34:15 +0300 Subject: [PATCH] Add simple TR model for msmbend --- src/components/microstrip/msmbend.cpp | 5 +++++ src/components/microstrip/msmbend.h | 1 + 2 files changed, 6 insertions(+) diff --git a/src/components/microstrip/msmbend.cpp b/src/components/microstrip/msmbend.cpp index 8106de0d..9b5fbf1c 100644 --- a/src/components/microstrip/msmbend.cpp +++ b/src/components/microstrip/msmbend.cpp @@ -99,6 +99,11 @@ void msmbend::initAC (void) { allocMatrixMNA (); } +void msmbend::initTR (void) +{ + initDC(); +} + void msmbend::calcAC (nr_double_t frequency) { setMatrixY (ztoy (calcMatrixZ (frequency))); } diff --git a/src/components/microstrip/msmbend.h b/src/components/microstrip/msmbend.h index e1b9142a..0962223c 100644 --- a/src/components/microstrip/msmbend.h +++ b/src/components/microstrip/msmbend.h @@ -33,6 +33,7 @@ class msmbend : public qucs::circuit void calcSP (nr_double_t); void initDC (void); void initAC (void); + void initTR (void); void calcAC (nr_double_t); qucs::matrix calcMatrixZ (nr_double_t); };