⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 optima

📁 COOOL:CWP面向对象最优化库(CWP Object Oriented Optimization Library) COOOL是C++类的一个集合
💻
字号:
#! /bin/sh######################################	This shell illustrates how the optimization of the stacking#	power objective function can be implemented by the COOOL library.##	In the file optima.cc all the initialization of the conjugate #	gradient procedure is performed. The "expect" mechanism is #	responsible for the communication between the processes optima #	and statics, in which the stacking power is computed#####################################objfcn=estimates	# executable code that computes the stacking powerdimension=62		# number of surface consistent statics parameterslower=-20		# lower boundary of model parametersupper=20		# upper boundary of model parametersiterCG=$2		# number of iteration performed in the conjugate 			# gradienttol=0.0001  		# tolerance of the gradient erroriterLine=$1		# number of iteration performed in the line search verbose=$3		# dialogue flag#################### set flags for little/big-edian machine# uncomment either one of the following lines for your machine#ENDIAN=1;  	# for NeXT, IBMRS6000, ...ENDIAN=0;  	# for PC, ...###################endian=$ENDIAN		# =0 flag for little-edian machineset -x# prepare the right kind of data for little-edian machine #segyread > data tape=data.segy verbose=$verbose endian=$ENDIAN #segyread > xcor.su tape=xcor.segy verbose=$verbose endian=$ENDIAN #sustrip < xcor.su > xcoroptima -S $objfcn -N $dimension -M $iterLine -C $iterCG -T $tol\	-L $lower -U $upper -V $verbose > junk#/bin/rm xcor.su data xcor binary header

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -