.
This commit is contained in:
parent
25ef327985
commit
8382ae887b
5 changed files with 115 additions and 0 deletions
5
Sheet5/Ex5_Second_Attempt/gnuplot.rot
Normal file
5
Sheet5/Ex5_Second_Attempt/gnuplot.rot
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
zrot=(zrot+10)%360
|
||||||
|
xrot=(xrot+17)%180
|
||||||
|
set view xrot,zrot
|
||||||
|
replot
|
||||||
|
reread
|
||||||
7
Sheet5/Ex5_Second_Attempt/gprofng_script1
Normal file
7
Sheet5/Ex5_Second_Attempt/gprofng_script1
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
# max 5 lines
|
||||||
|
limit 5
|
||||||
|
# define metrics
|
||||||
|
metrics name:e.llm
|
||||||
|
# show absolute numbers
|
||||||
|
compare on
|
||||||
|
functions
|
||||||
7
Sheet5/Ex5_Second_Attempt/gprofng_script2
Normal file
7
Sheet5/Ex5_Second_Attempt/gprofng_script2
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
# max 5 lines
|
||||||
|
limit 5
|
||||||
|
# define metrics
|
||||||
|
metrics name:e.llm
|
||||||
|
# show absolute numbers
|
||||||
|
compare ratio
|
||||||
|
functions
|
||||||
21
Sheet5/Ex5_Second_Attempt/jac.dem
Normal file
21
Sheet5/Ex5_Second_Attempt/jac.dem
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
set style data lines
|
||||||
|
set parametric
|
||||||
|
set hidden3d
|
||||||
|
set nokey
|
||||||
|
#set xrange [0:1]
|
||||||
|
#set yrange [-0:1]
|
||||||
|
#set zrange [-2:2]
|
||||||
|
set cntrparam levels 15
|
||||||
|
set contour base
|
||||||
|
set title "Solution"
|
||||||
|
xrot=60
|
||||||
|
zrot=0
|
||||||
|
splot "t.dat"
|
||||||
|
#splot "lsg.gnu"
|
||||||
|
pause -1 "Press ENTER to continue."
|
||||||
|
#load "gnuplot.rot"
|
||||||
|
#set title ""
|
||||||
|
#set autosc
|
||||||
|
#set nohidden
|
||||||
|
#set nopara
|
||||||
|
#set key
|
||||||
75
Sheet5/Ex5_Second_Attempt/jacobi.cbp
Normal file
75
Sheet5/Ex5_Second_Attempt/jacobi.cbp
Normal file
|
|
@ -0,0 +1,75 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
|
<CodeBlocks_project_file>
|
||||||
|
<FileVersion major="1" minor="6" />
|
||||||
|
<Project>
|
||||||
|
<Option title="jacobi" />
|
||||||
|
<Option pch_mode="2" />
|
||||||
|
<Option compiler="gcc" />
|
||||||
|
<Build>
|
||||||
|
<Target title="Debug">
|
||||||
|
<Option output="bin/Debug/jacobi" prefix_auto="1" extension_auto="1" />
|
||||||
|
<Option object_output="obj/Debug/" />
|
||||||
|
<Option type="1" />
|
||||||
|
<Option compiler="gcc" />
|
||||||
|
<Compiler>
|
||||||
|
<Add option="-g" />
|
||||||
|
</Compiler>
|
||||||
|
</Target>
|
||||||
|
<Target title="Release">
|
||||||
|
<Option output="bin/Release/jacobi" prefix_auto="1" extension_auto="1" />
|
||||||
|
<Option object_output="obj/Release/" />
|
||||||
|
<Option type="1" />
|
||||||
|
<Option compiler="gcc" />
|
||||||
|
<Compiler>
|
||||||
|
<Add option="-O2" />
|
||||||
|
</Compiler>
|
||||||
|
<Linker>
|
||||||
|
<Add option="-s" />
|
||||||
|
</Linker>
|
||||||
|
</Target>
|
||||||
|
</Build>
|
||||||
|
<Compiler>
|
||||||
|
<Add option="-Wshadow" />
|
||||||
|
<Add option="-Winit-self" />
|
||||||
|
<Add option="-Wredundant-decls" />
|
||||||
|
<Add option="-Wcast-align" />
|
||||||
|
<Add option="-Wundef" />
|
||||||
|
<Add option="-Wfloat-equal" />
|
||||||
|
<Add option="-Wunreachable-code" />
|
||||||
|
<Add option="-Wmissing-declarations" />
|
||||||
|
<Add option="-Wswitch-default" />
|
||||||
|
<Add option="-Weffc++" />
|
||||||
|
<Add option="-Wmain" />
|
||||||
|
<Add option="-pedantic" />
|
||||||
|
<Add option="-Wextra" />
|
||||||
|
<Add option="-Wall" />
|
||||||
|
<Add option="-fexceptions" />
|
||||||
|
</Compiler>
|
||||||
|
<Unit filename="geom.cpp" />
|
||||||
|
<Unit filename="geom.h" />
|
||||||
|
<Unit filename="getmatrix.cpp" />
|
||||||
|
<Unit filename="getmatrix.h" />
|
||||||
|
<Unit filename="jacsolve.cpp" />
|
||||||
|
<Unit filename="jacsolve.h" />
|
||||||
|
<Unit filename="main.cpp" />
|
||||||
|
<Unit filename="userset.cpp" />
|
||||||
|
<Unit filename="userset.h" />
|
||||||
|
<Unit filename="vdop.cpp" />
|
||||||
|
<Unit filename="vdop.h" />
|
||||||
|
<Extensions>
|
||||||
|
<code_completion />
|
||||||
|
<envvars />
|
||||||
|
<lib_finder disable_auto="1" />
|
||||||
|
<debugger />
|
||||||
|
<DoxyBlocks>
|
||||||
|
<comment_style block="0" line="0" />
|
||||||
|
<doxyfile_project />
|
||||||
|
<doxyfile_build extract_all="1" />
|
||||||
|
<doxyfile_warnings />
|
||||||
|
<doxyfile_output />
|
||||||
|
<doxyfile_dot class_diagrams="1" have_dot="1" />
|
||||||
|
<general use_at_in_tags="1" />
|
||||||
|
</DoxyBlocks>
|
||||||
|
</Extensions>
|
||||||
|
</Project>
|
||||||
|
</CodeBlocks_project_file>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue