parameters.txt

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

TXT
43
字号
	!       CUDOS Fibre Software sample parameter file
! In this example we show how to use a previously computed dispersion curve
! to start a new dispersion calculation. This is for example useful when
! a dispersion calculation failed half-way through a wavelength range - be it 
! because of a mode crossing, a too sudden change in losses (edge of a bandgap)
! or any other reason - : instead of restarting a simulation for the whole
! wavelength range, we can ask the software to continue the previous 
! simulations with adapted parameters, eg a smaller wavelength step.
!
! We assume that we have already computed a dispersion curve through the
! example given in "samples\dispersion 2", resulting in the dispersion file
! 3rings_up_DISP_C03M000_disp.dat.
!
! We first load the initial mode to define the structure and the symmetry class

load bcf file=fundamental mode.bcf

! Now we load the dispersion file
load dispersion file=3rings_up_DISP_C03M000_disp.dat

! We want to extend the wavelength range to 3.5, so we set the final wavelength
! to 3.5, and define how many steps we want.
! the initial wavelength is automatically adjusted to the last wavelength
! of the loaded dispersion file

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

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

! Now compute the dispersion

compute dispersion curve
! end of parameter file
end

⌨️ 快捷键说明

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