Add command 'write_ic'
Write out the right hand side status of the matrix in format .ic = V(node_xx) This may be possible at the end of a simulation or after a 'stop' of the simulation, which may be resumed again afterwars. This status may be used to start another simulation with these parameters by inluding into the netlist.
This commit is contained in:
parent
893ce7879f
commit
0e72287af7
|
|
@ -69,6 +69,7 @@ libfte_la_SOURCES = \
|
|||
com_sysinfo.c \
|
||||
com_unset.c \
|
||||
com_unset.h \
|
||||
com_wr_ic.c \
|
||||
completion.h \
|
||||
control.h \
|
||||
control.c \
|
||||
|
|
|
|||
|
|
@ -84,6 +84,7 @@
|
|||
#include "com_strcmp.h"
|
||||
#include "ngspice/randnumb.h"
|
||||
#include "../spicelib/analysis/com_optran.h"
|
||||
#include "com_wr_ic.h"
|
||||
|
||||
#include "arg.h"
|
||||
|
||||
|
|
@ -614,6 +615,10 @@ struct comm spcp_coms[] = {
|
|||
{ 0, 0, 0, 0 }, E_DEFHMASK, 6, 6,
|
||||
NULL,
|
||||
": Prepare optran by setting 6 flags " },
|
||||
{ "write_ic", com_wric, TRUE, FALSE,
|
||||
{ 0, 0, 0, 0 }, E_DEFHMASK, 0, 1,
|
||||
NULL,
|
||||
": Save current node values to file " },
|
||||
#ifdef HAVE_TSEARCH
|
||||
{ "check_ifparm", com_check_ifparm, TRUE, FALSE,
|
||||
{ 0, 0, 0, 0 }, E_DEFHMASK, 0, 0,
|
||||
|
|
|
|||
|
|
@ -410,6 +410,7 @@
|
|||
<ClInclude Include="..\src\frontend\com_state.h" />
|
||||
<ClInclude Include="..\src\frontend\com_strcmp.h" />
|
||||
<ClInclude Include="..\src\frontend\com_unset.h" />
|
||||
<ClInclude Include="..\src\frontend\com_wr_ic.h" />
|
||||
<ClInclude Include="..\src\frontend\control.h" />
|
||||
<ClInclude Include="..\src\frontend\cpitf.h" />
|
||||
<ClInclude Include="..\src\frontend\define.h" />
|
||||
|
|
@ -1003,6 +1004,7 @@
|
|||
<ClCompile Include="..\src\frontend\com_strcmp.c" />
|
||||
<ClCompile Include="..\src\frontend\com_sysinfo.c" />
|
||||
<ClCompile Include="..\src\frontend\com_unset.c" />
|
||||
<ClCompile Include="..\src\frontend\com_wr_ic.c" />
|
||||
<ClCompile Include="..\src\frontend\control.c" />
|
||||
<ClCompile Include="..\src\frontend\cpitf.c" />
|
||||
<ClCompile Include="..\src\frontend\define.c" />
|
||||
|
|
|
|||
|
|
@ -854,6 +854,7 @@ lib /machine:x64 /def:..\..\fftw-3.3-dll64\libfftw3-3.def /out:$(IntDir)libfftw3
|
|||
<ClInclude Include="..\src\frontend\com_state.h" />
|
||||
<ClInclude Include="..\src\frontend\com_strcmp.h" />
|
||||
<ClInclude Include="..\src\frontend\com_unset.h" />
|
||||
<ClInclude Include="..\src\frontend\com_wr_ic.h" />
|
||||
<ClInclude Include="..\src\frontend\control.h" />
|
||||
<ClInclude Include="..\src\frontend\cpitf.h" />
|
||||
<ClInclude Include="..\src\frontend\define.h" />
|
||||
|
|
@ -1453,6 +1454,7 @@ lib /machine:x64 /def:..\..\fftw-3.3-dll64\libfftw3-3.def /out:$(IntDir)libfftw3
|
|||
<ClCompile Include="..\src\frontend\com_strcmp.c" />
|
||||
<ClCompile Include="..\src\frontend\com_sysinfo.c" />
|
||||
<ClCompile Include="..\src\frontend\com_unset.c" />
|
||||
<ClCompile Include="..\src\frontend\com_wr_ic.c" />
|
||||
<ClCompile Include="..\src\frontend\control.c" />
|
||||
<ClCompile Include="..\src\frontend\cpitf.c" />
|
||||
<ClCompile Include="..\src\frontend\define.c" />
|
||||
|
|
|
|||
|
|
@ -862,6 +862,7 @@
|
|||
<ClInclude Include="..\src\frontend\com_state.h" />
|
||||
<ClInclude Include="..\src\frontend\com_strcmp.h" />
|
||||
<ClInclude Include="..\src\frontend\com_unset.h" />
|
||||
<ClInclude Include="..\src\frontend\com_wr_ic.h" />
|
||||
<ClInclude Include="..\src\frontend\control.h" />
|
||||
<ClInclude Include="..\src\frontend\cpitf.h" />
|
||||
<ClInclude Include="..\src\frontend\define.h" />
|
||||
|
|
@ -1452,6 +1453,7 @@
|
|||
<ClCompile Include="..\src\frontend\com_measure2.c" />
|
||||
<ClCompile Include="..\src\frontend\com_option.c" />
|
||||
<ClCompile Include="..\src\frontend\com_plot.c" />
|
||||
<ClCompile Include="..\src\frontend\com_wr_ic.c" />
|
||||
<ClCompile Include="..\src\frontend\com_rehash.c" />
|
||||
<ClCompile Include="..\src\frontend\com_set.c" />
|
||||
<ClCompile Include="..\src\frontend\com_setscale.c" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue