mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
first load ngsolve, then startup
This commit is contained in:
parent
51d4a12781
commit
309e767b37
@ -242,6 +242,9 @@ if { $stereo == "defined" } {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
catch { source ${ngdir}/ngsolve.tcl }
|
||||||
|
|
||||||
|
|
||||||
set scriptfilename [Ng_GetCommandLineParameter script]
|
set scriptfilename [Ng_GetCommandLineParameter script]
|
||||||
if { $scriptfilename != "undefined" } {
|
if { $scriptfilename != "undefined" } {
|
||||||
if { [catch { source $scriptfilename } errstring] == 1 } {
|
if { [catch { source $scriptfilename } errstring] == 1 } {
|
||||||
@ -285,9 +288,6 @@ if { [file exists startup.tcl] } {
|
|||||||
|
|
||||||
# source ngusers/ebg/elasticity/ebgelast.tcl
|
# source ngusers/ebg/elasticity/ebgelast.tcl
|
||||||
|
|
||||||
catch { source ${ngdir}/ngsolve.tcl }
|
|
||||||
|
|
||||||
|
|
||||||
# if { [catch { load libngsolve[info sharedlibextension] ngsolve } result ] } {
|
# if { [catch { load libngsolve[info sharedlibextension] ngsolve } result ] } {
|
||||||
# puts "cannot load ngsolve"
|
# puts "cannot load ngsolve"
|
||||||
# puts "error: $result"
|
# puts "error: $result"
|
||||||
|
Loading…
Reference in New Issue
Block a user