COMMENT Diodo pisces
MESH RECTANG NX=35 NY=20 OUTF=MESH.BIN
X.MESH N=1 LOC=0
X.MESH N=35 LOC=1.0
Y.MESH N=1 LOC=0
Y.MESH N=20 LOC=0.1

COMMENT  DEFINICION zona n
REGION NUM=1 IX.LO=1 IX.HI=18 IY.LO=1 IY.HI=20 SILICON

COMMENT DEFINICION zona p
REGION NUM=2 IX.LO=18 IX.HI=35 IY.LO=1 IY.HI=20 SILICON

COMMENT ELECTRODO ZONA N
ELECTRODE NUM=1 IX.LO=1 IX.HI=1 IY.LO=1 IY.HI=20

COMMENT ELECTRODO ZONA P
ELECTRODE NUM=2 IX.LO=35 IX.HI=35 IY.LO=1 IY.HI=20

DOP REGION=1 UNIFORM CONC=1E16 N.TYPE
DOP REGION=2 UNIFORM CONC=1E16 P.TYPE

COMMENT METODO DE RESOLUCION DE NEWTON

SYMBOLIC NEWTON CARRIERS=1
METHOD IT=100

COMMENT ARCHIVO DE SALIDA DE CORRIENTE

LOG OUTF=CURRENT.DAT
SOLVE INIT
SOLVE V1=0  V2=0  OUT=SOL
SOLVE ELEC=2 VSTEP=0.1 NSTEP=20 out=0