mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-09-04 11:09:28 +02:00
Diode model level=2 (Fowler-Nordheim) is not supported.
This commit is contained in:
@@ -35,6 +35,10 @@ DIOsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int *states)
|
||||
|
||||
if(!model->DIOlevelGiven) {
|
||||
model->DIOlevel = 1;
|
||||
} else if (model->DIOlevel == 2) {
|
||||
SPfrontEnd->IFerrorf(ERR_FATAL,
|
||||
"%s: Diode model level 2 is not supported.", model->DIOmodName);
|
||||
return(E_BADPARM);
|
||||
}
|
||||
if(!model->DIOemissionCoeffGiven) {
|
||||
model->DIOemissionCoeff = 1;
|
||||
|
||||
Reference in New Issue
Block a user