[Pkg-electronics-commits] [gnucap] 02/17: move param eval from precalc_first to precalc_last but not "model"s yet.
felix salfelder
felix-guest at moszumanska.debian.org
Fri Jul 29 11:08:38 UTC 2016
This is an automated email from the git hooks/post-receive script.
felix-guest pushed a commit to branch master
in repository gnucap.
commit efc2f1ad97c9817b5ccd21f18e71991ddec30270
Author: al davis <ad211 at freeelectron.net>
Date: Thu Mar 24 02:03:17 2016 -0400
move param eval from precalc_first to precalc_last
but not "model"s yet.
---
apps/bm_exp.cc | 8 ++++----
apps/bm_fit.cc | 16 +++++-----------
apps/bm_poly.cc | 9 +++++----
apps/bm_posy.cc | 8 ++++----
apps/bm_pulse.cc | 8 ++++----
apps/bm_pwl.cc | 15 ++++-----------
apps/bm_sffm.cc | 8 ++++----
apps/bm_sin.cc | 8 ++++----
apps/bm_tanh.cc | 8 ++++----
apps/bmm_semi.cc | 10 +++++-----
apps/d_coil.cc | 2 +-
apps/d_switch.cc | 3 +--
apps/d_trln.cc | 15 +++++----------
apps/lang_spice.cc | 2 +-
apps/s__init.cc | 2 +-
apps/s_ac.cc | 2 +-
apps/s_dc.cc | 2 +-
apps/s_fo.cc | 2 +-
apps/s_tr.cc | 2 +-
include/bm.h | 4 ++--
include/e_compon.h | 2 +-
include/u_sim_data.h | 2 +-
lib/ap_get.cc | 2 +-
lib/bm.cc | 6 +++---
lib/e_compon.cc | 4 +++-
lib/e_elemnt.cc | 2 +-
lib/u_probe.cc | 2 +-
lib/u_sim_data.cc | 2 +-
28 files changed, 70 insertions(+), 86 deletions(-)
diff --git a/apps/bm_exp.cc b/apps/bm_exp.cc
index 1dc6a71..9683382 100644
--- a/apps/bm_exp.cc
+++ b/apps/bm_exp.cc
@@ -1,4 +1,4 @@
-/*$Id: bm_exp.cc,v 26.138 2013/04/24 02:44:30 al Exp $ -*- C++ -*-
+/*$Id: bm_exp.cc 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2001 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
@@ -56,7 +56,7 @@ private: // override vitrual
COMMON_COMPONENT* clone()const {return new EVAL_BM_EXP(*this);}
void print_common_obsolete_callback(OMSTREAM&, LANGUAGE*)const;
- void precalc_first(const CARD_LIST*);
+ void precalc_last(const CARD_LIST*);
void tr_eval(ELEMENT*)const;
TIME_PAIR tr_review(COMPONENT*)const;
std::string name()const {return "exp";}
@@ -124,10 +124,10 @@ void EVAL_BM_EXP::print_common_obsolete_callback(OMSTREAM& o, LANGUAGE* lang)con
EVAL_BM_ACTION_BASE::print_common_obsolete_callback(o, lang);
}
/*--------------------------------------------------------------------------*/
-void EVAL_BM_EXP::precalc_first(const CARD_LIST* Scope)
+void EVAL_BM_EXP::precalc_last(const CARD_LIST* Scope)
{
assert(Scope);
- EVAL_BM_ACTION_BASE::precalc_first(Scope);
+ EVAL_BM_ACTION_BASE::precalc_last(Scope);
_iv.e_val(_default_iv, Scope);
_pv.e_val(_default_pv, Scope);
_td1.e_val(_default_td1, Scope);
diff --git a/apps/bm_fit.cc b/apps/bm_fit.cc
index 5d59ad4..42b5979 100644
--- a/apps/bm_fit.cc
+++ b/apps/bm_fit.cc
@@ -1,4 +1,4 @@
-/*$Id: bm_fit.cc,v 26.137 2010/04/10 02:37:05 al Exp $ -*- C++ -*-
+/*$Id: bm_fit.cc 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2001 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
@@ -54,9 +54,7 @@ private: // override virtual
COMMON_COMPONENT* clone()const {return new EVAL_BM_FIT(*this);}
void print_common_obsolete_callback(OMSTREAM&, LANGUAGE*)const;
- void precalc_first(const CARD_LIST*);
void precalc_last(const CARD_LIST*);
-
void tr_eval(ELEMENT*)const;
std::string name()const {return "fit";}
bool ac_too()const {return false;}
@@ -128,10 +126,11 @@ void EVAL_BM_FIT::print_common_obsolete_callback(OMSTREAM& o, LANGUAGE* lang)con
EVAL_BM_ACTION_BASE::print_common_obsolete_callback(o, lang);
}
/*--------------------------------------------------------------------------*/
-void EVAL_BM_FIT::precalc_first(const CARD_LIST* Scope)
+void EVAL_BM_FIT::precalc_last(const CARD_LIST* Scope)
{
assert(Scope);
- EVAL_BM_ACTION_BASE::precalc_first(Scope);
+ EVAL_BM_ACTION_BASE::precalc_last(Scope);
+
_order.e_val(_default_order, Scope);
_below.e_val(_default_below, Scope);
_above.e_val(_default_above, Scope);
@@ -143,12 +142,6 @@ void EVAL_BM_FIT::precalc_first(const CARD_LIST* Scope)
p->first.e_val(0, Scope);
p->second.e_val(0, Scope);
}
-}
-/*--------------------------------------------------------------------------*/
-void EVAL_BM_FIT::precalc_last(const CARD_LIST* Scope)
-{
- assert(Scope);
- EVAL_BM_ACTION_BASE::precalc_last(Scope);
double last = -BIGBIG;
for (std::vector<std::pair<PARAMETER<double>,PARAMETER<double> > >::
@@ -160,6 +153,7 @@ void EVAL_BM_FIT::precalc_last(const CARD_LIST* Scope)
}
last = p->first;
}
+
delete _spline;
double below = _below.has_hard_value() ? _below : NOT_INPUT;
double above = _above.has_hard_value() ? _above : NOT_INPUT;
diff --git a/apps/bm_poly.cc b/apps/bm_poly.cc
index b2d6651..8499a7a 100644
--- a/apps/bm_poly.cc
+++ b/apps/bm_poly.cc
@@ -1,4 +1,4 @@
-/*$Id: bm_poly.cc,v 26.137 2010/04/10 02:37:05 al Exp $ -*- C++ -*-
+/*$Id: bm_poly.cc 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2001 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
@@ -48,7 +48,7 @@ private: // override vitrual
COMMON_COMPONENT* clone()const {return new EVAL_BM_POLY(*this);}
void print_common_obsolete_callback(OMSTREAM&, LANGUAGE*)const;
- void precalc_first(const CARD_LIST*);
+ void precalc_last(const CARD_LIST*);
void tr_eval(ELEMENT*)const;
std::string name()const {return "poly";}
bool ac_too()const {untested();return false;}
@@ -106,10 +106,11 @@ void EVAL_BM_POLY::print_common_obsolete_callback(OMSTREAM& o, LANGUAGE* lang)co
EVAL_BM_ACTION_BASE::print_common_obsolete_callback(o, lang);
}
/*--------------------------------------------------------------------------*/
-void EVAL_BM_POLY::precalc_first(const CARD_LIST* Scope)
+void EVAL_BM_POLY::precalc_last(const CARD_LIST* Scope)
{
assert(Scope);
- EVAL_BM_ACTION_BASE::precalc_first(Scope);
+ EVAL_BM_ACTION_BASE::precalc_last(Scope);
+
for (std::vector<PARAMETER<double> >::const_iterator
p = _c.begin(); p != _c.end(); ++p) {
(*p).e_val(0, Scope);
diff --git a/apps/bm_posy.cc b/apps/bm_posy.cc
index ea42d58..ee80d11 100644
--- a/apps/bm_posy.cc
+++ b/apps/bm_posy.cc
@@ -1,4 +1,4 @@
-/*$Id: bm_posy.cc,v 26.137 2010/04/10 02:37:05 al Exp $ -*- C++ -*-
+/*$Id: bm_posy.cc 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2001 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
@@ -53,7 +53,7 @@ private: // override vitrual
COMMON_COMPONENT* clone()const {return new EVAL_BM_POSY(*this);}
void print_common_obsolete_callback(OMSTREAM&, LANGUAGE*)const;
- void precalc_first(const CARD_LIST*);
+ void precalc_last(const CARD_LIST*);
void tr_eval(ELEMENT*)const;
std::string name()const {return "posy";}
bool ac_too()const {untested();return false;}
@@ -118,10 +118,10 @@ void EVAL_BM_POSY::print_common_obsolete_callback(OMSTREAM& o, LANGUAGE* lang)co
EVAL_BM_ACTION_BASE::print_common_obsolete_callback(o, lang);
}
/*--------------------------------------------------------------------------*/
-void EVAL_BM_POSY::precalc_first(const CARD_LIST* Scope)
+void EVAL_BM_POSY::precalc_last(const CARD_LIST* Scope)
{
assert(Scope);
- EVAL_BM_ACTION_BASE::precalc_first(Scope);
+ EVAL_BM_ACTION_BASE::precalc_last(Scope);
_min.e_val(_default_min, Scope);
_max.e_val(_default_max, Scope);
_abs.e_val(_default_abs, Scope);
diff --git a/apps/bm_pulse.cc b/apps/bm_pulse.cc
index a79d01b..9ab66ac 100644
--- a/apps/bm_pulse.cc
+++ b/apps/bm_pulse.cc
@@ -1,4 +1,4 @@
-/*$Id: bm_pulse.cc,v 26.138 2013/04/24 02:44:30 al Exp $ -*- C++ -*-
+/*$Id: bm_pulse.cc 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2001 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
@@ -56,7 +56,7 @@ private: // override vitrual
COMMON_COMPONENT* clone()const {return new EVAL_BM_PULSE(*this);}
void print_common_obsolete_callback(OMSTREAM&, LANGUAGE*)const;
- void precalc_first(const CARD_LIST*);
+ void precalc_last(const CARD_LIST*);
void tr_eval(ELEMENT*)const;
TIME_PAIR tr_review(COMPONENT*)const;
std::string name()const {return "pulse";}
@@ -124,10 +124,10 @@ void EVAL_BM_PULSE::print_common_obsolete_callback(OMSTREAM& o, LANGUAGE* lang)c
EVAL_BM_ACTION_BASE::print_common_obsolete_callback(o, lang);
}
/*--------------------------------------------------------------------------*/
-void EVAL_BM_PULSE::precalc_first(const CARD_LIST* Scope)
+void EVAL_BM_PULSE::precalc_last(const CARD_LIST* Scope)
{
assert(Scope);
- EVAL_BM_ACTION_BASE::precalc_first(Scope);
+ EVAL_BM_ACTION_BASE::precalc_last(Scope);
_iv.e_val(_default_iv, Scope);
_pv.e_val(_default_pv, Scope);
_delay.e_val(_default_delay, Scope);
diff --git a/apps/bm_pwl.cc b/apps/bm_pwl.cc
index c62c515..0c6a788 100644
--- a/apps/bm_pwl.cc
+++ b/apps/bm_pwl.cc
@@ -1,4 +1,4 @@
-/*$Id: bm_pwl.cc,v 26.138 2013/04/24 02:44:30 al Exp $ -*- C++ -*-
+/*$Id: bm_pwl.cc 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2001 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
@@ -48,9 +48,7 @@ private: // override virtual
COMMON_COMPONENT* clone()const {return new EVAL_BM_PWL(*this);}
void print_common_obsolete_callback(OMSTREAM&, LANGUAGE*)const;
- void precalc_first(const CARD_LIST*);
void precalc_last(const CARD_LIST*);
-
void tr_eval(ELEMENT*)const;
TIME_PAIR tr_review(COMPONENT*)const;
std::string name()const {return "pwl";}
@@ -108,10 +106,11 @@ void EVAL_BM_PWL::print_common_obsolete_callback(OMSTREAM& o, LANGUAGE* lang)con
EVAL_BM_ACTION_BASE::print_common_obsolete_callback(o, lang);
}
/*--------------------------------------------------------------------------*/
-void EVAL_BM_PWL::precalc_first(const CARD_LIST* Scope)
+void EVAL_BM_PWL::precalc_last(const CARD_LIST* Scope)
{
assert(Scope);
- EVAL_BM_ACTION_BASE::precalc_first(Scope);
+ EVAL_BM_ACTION_BASE::precalc_last(Scope);
+
_delta.e_val(_default_delta, Scope);
_smooth.e_val(_default_smooth, Scope);
@@ -120,12 +119,6 @@ void EVAL_BM_PWL::precalc_first(const CARD_LIST* Scope)
p->first.e_val(0, Scope);
p->second.e_val(0, Scope);
}
-}
-/*--------------------------------------------------------------------------*/
-void EVAL_BM_PWL::precalc_last(const CARD_LIST* Scope)
-{
- assert(Scope);
- EVAL_BM_ACTION_BASE::precalc_last(Scope);
double last = -BIGBIG;
for (std::vector<std::pair<PARAMETER<double>,PARAMETER<double> > >::iterator
diff --git a/apps/bm_sffm.cc b/apps/bm_sffm.cc
index cd3c38e..e0c6e0b 100644
--- a/apps/bm_sffm.cc
+++ b/apps/bm_sffm.cc
@@ -1,4 +1,4 @@
-/*$Id: bm_sffm.cc,v 26.138 2013/04/24 02:44:30 al Exp $ -*- C++ -*-
+/*$Id: bm_sffm.cc 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2001 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
@@ -59,7 +59,7 @@ private: // override vitrual
COMMON_COMPONENT* clone()const {return new EVAL_BM_SFFM(*this);}
void print_common_obsolete_callback(OMSTREAM&, LANGUAGE*)const;
- void precalc_first(const CARD_LIST*);
+ void precalc_last(const CARD_LIST*);
void tr_eval(ELEMENT*)const;
TIME_PAIR tr_review(COMPONENT*)const;
std::string name()const {return "sffm";}
@@ -131,10 +131,10 @@ void EVAL_BM_SFFM::print_common_obsolete_callback(OMSTREAM& o, LANGUAGE* lang)co
EVAL_BM_ACTION_BASE::print_common_obsolete_callback(o, lang);
}
/*--------------------------------------------------------------------------*/
-void EVAL_BM_SFFM::precalc_first(const CARD_LIST* Scope)
+void EVAL_BM_SFFM::precalc_last(const CARD_LIST* Scope)
{
assert(Scope);
- EVAL_BM_ACTION_BASE::precalc_first(Scope);
+ EVAL_BM_ACTION_BASE::precalc_last(Scope);
_offset.e_val(_default_offset, Scope);
_amplitude.e_val(_default_amplitude, Scope);
_carrier.e_val(_default_carrier, Scope);
diff --git a/apps/bm_sin.cc b/apps/bm_sin.cc
index cadb519..b35da38 100644
--- a/apps/bm_sin.cc
+++ b/apps/bm_sin.cc
@@ -1,4 +1,4 @@
-/*$Id: bm_sin.cc,v 26.138 2013/04/24 02:44:30 al Exp $ -*- C++ -*-
+/*$Id: bm_sin.cc 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2001 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
@@ -60,7 +60,7 @@ private: // override vitrual
COMMON_COMPONENT* clone()const {return new EVAL_BM_SIN(*this);}
void print_common_obsolete_callback(OMSTREAM&, LANGUAGE*)const;
- void precalc_first(const CARD_LIST*);
+ void precalc_last(const CARD_LIST*);
void tr_eval(ELEMENT*)const;
TIME_PAIR tr_review(COMPONENT*)const;
std::string name()const {return "sin";}
@@ -134,10 +134,10 @@ void EVAL_BM_SIN::print_common_obsolete_callback(OMSTREAM& o, LANGUAGE* lang)con
EVAL_BM_ACTION_BASE::print_common_obsolete_callback(o, lang);
}
/*--------------------------------------------------------------------------*/
-void EVAL_BM_SIN::precalc_first(const CARD_LIST* Scope)
+void EVAL_BM_SIN::precalc_last(const CARD_LIST* Scope)
{
assert(Scope);
- EVAL_BM_ACTION_BASE::precalc_first(Scope);
+ EVAL_BM_ACTION_BASE::precalc_last(Scope);
_offset.e_val(_default_offset, Scope);
_amplitude.e_val(_default_amplitude, Scope);
_frequency.e_val(_default_frequency, Scope);
diff --git a/apps/bm_tanh.cc b/apps/bm_tanh.cc
index 0e9f3dd..b104464 100644
--- a/apps/bm_tanh.cc
+++ b/apps/bm_tanh.cc
@@ -1,4 +1,4 @@
-/*$Id: bm_tanh.cc,v 26.137 2010/04/10 02:37:05 al Exp $ -*- C++ -*-
+/*$Id: bm_tanh.cc 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2001 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
@@ -45,7 +45,7 @@ private: // override virtual
COMMON_COMPONENT* clone()const {return new EVAL_BM_TANH(*this);}
void print_common_obsolete_callback(OMSTREAM&, LANGUAGE*)const;
- void precalc_first(const CARD_LIST*);
+ void precalc_last(const CARD_LIST*);
void tr_eval(ELEMENT*)const;
std::string name()const {return "tanh";}
bool ac_too()const {untested();return false;}
@@ -90,10 +90,10 @@ void EVAL_BM_TANH::print_common_obsolete_callback(OMSTREAM& o, LANGUAGE* lang)co
EVAL_BM_ACTION_BASE::print_common_obsolete_callback(o, lang);
}
/*--------------------------------------------------------------------------*/
-void EVAL_BM_TANH::precalc_first(const CARD_LIST* Scope)
+void EVAL_BM_TANH::precalc_last(const CARD_LIST* Scope)
{
assert(Scope);
- EVAL_BM_ACTION_BASE::precalc_first(Scope);
+ EVAL_BM_ACTION_BASE::precalc_last(Scope);
_gain.e_val(_default_gain, Scope);
_limit.e_val(_default_limit, Scope);
}
diff --git a/apps/bmm_semi.cc b/apps/bmm_semi.cc
index 98dc751..d8622b3 100644
--- a/apps/bmm_semi.cc
+++ b/apps/bmm_semi.cc
@@ -1,4 +1,4 @@
-/*$Id: bmm_semi.cc $ -*- C++ -*-
+/*$Id: bmm_semi.cc 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2001 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
@@ -46,7 +46,7 @@ protected: // override virtual
COMMON_COMPONENT* clone()const = 0;
void print_common_obsolete_callback(OMSTREAM&, LANGUAGE*)const;
- void precalc_first(const CARD_LIST*);
+ void precalc_last(const CARD_LIST*);
void expand(const COMPONENT*);
void tr_eval(ELEMENT*)const;
std::string name()const {untested();return modelname().c_str();}
@@ -219,10 +219,10 @@ void EVAL_BM_SEMI_BASE::expand(const COMPONENT* d)
attach_model(d);
}
/*--------------------------------------------------------------------------*/
-void EVAL_BM_SEMI_BASE::precalc_first(const CARD_LIST* Scope)
-{itested();
+void EVAL_BM_SEMI_BASE::precalc_last(const CARD_LIST* Scope)
+{
assert(Scope);
- EVAL_BM_ACTION_BASE::precalc_first(Scope);
+ EVAL_BM_ACTION_BASE::precalc_last(Scope);
_length.e_val(_default_length, Scope);
_width.e_val(_default_width, Scope);
}
diff --git a/apps/d_coil.cc b/apps/d_coil.cc
index 01a2529..19765d5 100644
--- a/apps/d_coil.cc
+++ b/apps/d_coil.cc
@@ -1,4 +1,4 @@
-/*$Id: d_coil.cc,v 26.137 2010/04/10 02:37:05 al Exp $ -*- C++ -*-
+/*$Id: d_coil.cc 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2001 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
diff --git a/apps/d_switch.cc b/apps/d_switch.cc
index 6811bad..249b0de 100644
--- a/apps/d_switch.cc
+++ b/apps/d_switch.cc
@@ -1,4 +1,4 @@
-/*$Id: d_switch.cc,v 26.137 2010/04/10 02:37:05 al Exp $ -*- C++ -*-
+/*$Id: d_switch.cc 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2001 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
@@ -414,7 +414,6 @@ void SWITCH_BASE::precalc_last()
{
ELEMENT::precalc_last();
- //if (_sim->is_first_expand()) {
if (_sim->has_op() == s_NONE) {
const COMMON_SWITCH* c = prechecked_cast<const COMMON_SWITCH*>(common());
assert(c);
diff --git a/apps/d_trln.cc b/apps/d_trln.cc
index 34b3e81..b7de414 100644
--- a/apps/d_trln.cc
+++ b/apps/d_trln.cc
@@ -1,4 +1,4 @@
-/*$Id: d_trln.cc,v 26.137 2010/04/10 02:37:05 al Exp $ -*- C++ -*-
+/*$Id: d_trln.cc 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2001 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
@@ -60,7 +60,6 @@ public:
std::string param_value(int)const;
int param_count()const {return (9 + COMMON_COMPONENT::param_count());}
public:
- void precalc_first(const CARD_LIST*);
void precalc_last(const CARD_LIST*);
std::string name()const {untested(); return "transline";}
};
@@ -311,10 +310,11 @@ std::string COMMON_TRANSLINE::param_value(int I)const
//BUG// does not print IC
}
/*--------------------------------------------------------------------------*/
-void COMMON_TRANSLINE::precalc_first(const CARD_LIST* Scope)
+void COMMON_TRANSLINE::precalc_last(const CARD_LIST* Scope)
{
assert(Scope);
- COMMON_COMPONENT::precalc_first(Scope);
+ COMMON_COMPONENT::precalc_last(Scope);
+
len.e_val(_default_len, Scope);
R.e_val(_default_R, Scope);
L.e_val(_default_L, Scope);
@@ -324,12 +324,7 @@ void COMMON_TRANSLINE::precalc_first(const CARD_LIST* Scope)
td.e_val(_default_td, Scope);
f.e_val(_default_f, Scope);
nl.e_val(_default_nl, Scope);
-}
-/*--------------------------------------------------------------------------*/
-void COMMON_TRANSLINE::precalc_last(const CARD_LIST* Scope)
-{
- assert(Scope);
- COMMON_COMPONENT::precalc_last(Scope);
+
{ // real_td
if (td.has_hard_value()) {untested();
real_td = len * td;
diff --git a/apps/lang_spice.cc b/apps/lang_spice.cc
index 8d8025c..1c39ff5 100644
--- a/apps/lang_spice.cc
+++ b/apps/lang_spice.cc
@@ -1,4 +1,4 @@
-/*$Id: lang_spice.cc 2015/02/05 al $ -*- C++ -*-
+/*$Id: lang_spice.cc 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2006 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
diff --git a/apps/s__init.cc b/apps/s__init.cc
index f3efdb8..3209a03 100644
--- a/apps/s__init.cc
+++ b/apps/s__init.cc
@@ -1,4 +1,4 @@
-/* $Id: s__init.cc,v 26.137 2010/04/10 02:37:05 al Exp $
+/* $Id: s__init.cc 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2001 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
diff --git a/apps/s_ac.cc b/apps/s_ac.cc
index 1734186..23deacc 100644
--- a/apps/s_ac.cc
+++ b/apps/s_ac.cc
@@ -1,4 +1,4 @@
-/*$Id: s_ac.cc,v 26.137 2010/04/10 02:37:05 al Exp $ -*- C++ -*-
+/*$Id: s_ac.cc 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2001 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
diff --git a/apps/s_dc.cc b/apps/s_dc.cc
index 41667ec..e3835df 100644
--- a/apps/s_dc.cc
+++ b/apps/s_dc.cc
@@ -1,4 +1,4 @@
-/*$Id: s_dc.cc 2014/07/04 al $ -*- C++ -*-
+/*$Id: s_dc.cc 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2001 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
diff --git a/apps/s_fo.cc b/apps/s_fo.cc
index 7e6e810..9b77595 100644
--- a/apps/s_fo.cc
+++ b/apps/s_fo.cc
@@ -1,4 +1,4 @@
-/*$Id: s_fo.cc 2014/07/04 al $ -*- C++ -*-
+/*$Id: s_fo.cc 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2001 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
diff --git a/apps/s_tr.cc b/apps/s_tr.cc
index 98b5970..c5c98f5 100644
--- a/apps/s_tr.cc
+++ b/apps/s_tr.cc
@@ -1,4 +1,4 @@
-/*$Id: s_tr.cc,v 26.137 2010/04/10 02:37:05 al Exp $ -*- C++ -*-
+/*$Id: s_tr.cc 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2001 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
diff --git a/include/bm.h b/include/bm.h
index deadf7c..6464c01 100644
--- a/include/bm.h
+++ b/include/bm.h
@@ -1,4 +1,4 @@
-/*$Id: bm.h 2015/01/21 al $ -*- C++ -*-
+/*$Id: bm.h 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2001 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
@@ -72,7 +72,7 @@ public: // override virtual
//COMPONENT_COMMON* clone()const; //COMPONENT_COMMON=0
void print_common_obsolete_callback(OMSTREAM&, LANGUAGE*)const;
- void precalc_first(const CARD_LIST*);
+ void precalc_last(const CARD_LIST*);
void ac_eval(ELEMENT*)const;
virtual bool ac_too()const = 0;
protected: // override virtual
diff --git a/include/e_compon.h b/include/e_compon.h
index ee1c390..4861ded 100644
--- a/include/e_compon.h
+++ b/include/e_compon.h
@@ -1,4 +1,4 @@
-/*$Id: e_compon.h 2015/01/21 al $ -*- C++ -*-
+/*$Id: e_compon.h 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2001 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
diff --git a/include/u_sim_data.h b/include/u_sim_data.h
index df19aa0..307068f 100644
--- a/include/u_sim_data.h
+++ b/include/u_sim_data.h
@@ -1,4 +1,4 @@
-/*$Id: u_sim_data.h,v 26.138 2013/04/24 02:32:27 al Exp $ -*- C++ -*-
+/*$Id: u_sim_data.h 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2009 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
diff --git a/lib/ap_get.cc b/lib/ap_get.cc
index 51be262..f8d853f 100644
--- a/lib/ap_get.cc
+++ b/lib/ap_get.cc
@@ -1,4 +1,4 @@
-/*$Id: ap_get.cc,v 26.85 2008/06/19 05:01:15 al Exp $ -*- C++ -*-
+/*$Id: ap_get.cc 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2001 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
diff --git a/lib/bm.cc b/lib/bm.cc
index 5692902..4cddfcc 100644
--- a/lib/bm.cc
+++ b/lib/bm.cc
@@ -1,4 +1,4 @@
-/*$Id: bm.cc 2015/01/21 al $ -*- C++ -*-
+/*$Id: bm.cc 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2001 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
@@ -156,10 +156,10 @@ void EVAL_BM_ACTION_BASE::print_common_obsolete_callback(OMSTREAM& o, LANGUAGE*
COMMON_COMPONENT::print_common_obsolete_callback(o, lang);
}
/*--------------------------------------------------------------------------*/
-void EVAL_BM_ACTION_BASE::precalc_first(const CARD_LIST* Scope)
+void EVAL_BM_ACTION_BASE::precalc_last(const CARD_LIST* Scope)
{
assert(Scope);
- COMMON_COMPONENT::precalc_first(Scope);
+ COMMON_COMPONENT::precalc_last(Scope);
_bandwidth.e_val(_default_bandwidth, Scope);
_delay.e_val(_default_delay, Scope);
_phase.e_val(_default_phase, Scope);
diff --git a/lib/e_compon.cc b/lib/e_compon.cc
index 7af4930..9256ecf 100644
--- a/lib/e_compon.cc
+++ b/lib/e_compon.cc
@@ -1,4 +1,4 @@
-/*$Id: e_compon.cc 2015/02/05 al $ -*- C++ -*-
+/*$Id: e_compon.cc 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2001 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
@@ -533,6 +533,8 @@ void COMPONENT::precalc_first()
}else{
}
+ //BUG// _mfactor must be in precalc_first
+
_mfactor.e_val(1, scope());
_value.e_val(0.,scope());
trace1(long_label().c_str(), double(_mfactor));
diff --git a/lib/e_elemnt.cc b/lib/e_elemnt.cc
index 43abbc7..f321a03 100644
--- a/lib/e_elemnt.cc
+++ b/lib/e_elemnt.cc
@@ -1,4 +1,4 @@
-/*$Id: e_elemnt.cc,v 26.138 2013/04/24 03:03:11 al Exp $ -*- C++ -*-
+/*$Id: e_elemnt.cc 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2001 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
diff --git a/lib/u_probe.cc b/lib/u_probe.cc
index 14e9b50..db77cef 100644
--- a/lib/u_probe.cc
+++ b/lib/u_probe.cc
@@ -1,4 +1,4 @@
-/*$Id: u_probe.cc 2015/01/21 al $ -*- C++ -*-
+/*$Id: u_probe.cc 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2001 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
diff --git a/lib/u_sim_data.cc b/lib/u_sim_data.cc
index 0ff5a5d..3ef04e7 100644
--- a/lib/u_sim_data.cc
+++ b/lib/u_sim_data.cc
@@ -1,4 +1,4 @@
-/*$Id: u_sim_data.cc 2015/01/28 al Exp $ -*- C++ -*-
+/*$Id: u_sim_data.cc 2016/03/23 al $ -*- C++ -*-
* Copyright (C) 2001 Albert Davis
* Author: Albert Davis <aldavis at gnu.org>
*
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-electronics/gnucap.git
More information about the Pkg-electronics-commits
mailing list