## Abstract

An improved algorithm based on the method of lines for modeling of $Q$-switched fluoride glass based erbium doped fiber lasers is presented. The algorithm uses the finite difference method to reduce partial differential equations to a set of ordinary differential equations. Unlike the method of characteristics, the ratio of the temporal and spatial step is not fixed. Thus computationally efficient algorithms with an adaptive step control for the solution of a set of ordinary differential equations can be directly applied. The performance of the improved algorithm against the standard one is compared. The results obtained show that the improved algorithm is significantly more computationally efficient.

© 2016 Optical Society of America

Full Article | PDF Article**OSA Recommended Articles**

Stuart D. Jackson and Paul H. Muir

J. Opt. Soc. Am. B **18**(9) 1297-1306 (2001)

Junhe Zhou, Jianping Chen, Xinwan Li, Guiling Wu, Wenning Jiang, Changhai Shi, and Yiping Wang

Opt. Express **14**(8) 3427-3432 (2006)

Jonathan Hu, Brian S. Marks, Qun Zhang, and Curtis R. Menyuk

J. Opt. Soc. Am. B **22**(10) 2083-2090 (2005)