parameters.txt

来自「cudos实例」· 文本 代码 · 共 57 行

TXT
57
字号
	!       CUDOS Fibre Software sample parameter file
! This parameter file shows how to compute the effective index
! as a function of wavelength for a previsouly computed mode.
!
! First load the previously computed mode.
! Note that the structure is defined through the file, so that
! we don't need to redefine the structure.

load bcf file=fundamental mode.bcf


! define physical parameters
start_lambda=1.55		! sets initial wavelength
				! to the wavelength at which the 
				! known mode was copmuted

! *** Parameters for computing the first part of the dispersion curve
! We first compute the dispersion curve for longer wavelengths, from 1.55
! to 2

stop_lambda=2.0				! final wavelength
number of points=200			! compute for 200 wavelengths between
					! start_lambda and stop_lambda
number of points between log=20		! log a mode to a Fourier Bessel 
					! coefficient file every 20 
					! wavelength steps
optimization=fast			! rely on a determinant minimization
					! when eigenvectors are not needed

! define a file suffix  for this part of the dispersion curve
file suffix=_up

! Now compute the dispersion

compute dispersion curve

! Now we compute the dispersion towards shorter wavelengths using the same
! parameters (number of points and number of points between log) as previously
! The data resulting from the previous wavelength range will be used
! to get a better extrapolation.
!
! First set the final wavelength

stop_lambda=1.0

! redefine a new file suffix so that the files can be distinguished

file suffix=_down

! Now compute the dispersion

compute dispersion curve


! end of parameter file
end

⌨️ 快捷键说明

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